mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.upptst
This commit is contained in:
parent
90e678e30f
commit
bb0f4dde23
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
using namespace Upp;
|
||||
|
||||
INITBLOCK {
|
||||
Ctrl::UseWayland();
|
||||
}
|
||||
|
||||
struct MyApp : TopWindow {
|
||||
TimeCallback tm;
|
||||
virtual void Paint(Draw& w) {
|
||||
|
|
@ -10,6 +14,7 @@ struct MyApp : TopWindow {
|
|||
int y = 0;
|
||||
String txt;
|
||||
#define DMP(x) txt << #x << " " << x << "\n";
|
||||
DMP(Ctrl::IsWayland());
|
||||
DMP(GetScreenRect());
|
||||
DMP(GetVirtualScreenArea());
|
||||
DMP(GetVirtualWorkArea());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue