diff --git a/upptst/TestChStyle/Sample.cpp b/upptst/TestChStyle/Sample.cpp index 3e1569188..6ddcff9bb 100644 --- a/upptst/TestChStyle/Sample.cpp +++ b/upptst/TestChStyle/Sample.cpp @@ -9,7 +9,8 @@ void Sample::Paint(Draw& w) // ChPaint(w, 101, 0, 17, 23, DropList::StyleDefault().rmiddle[0]); #ifdef _DEBUG w.DrawImage(10, 10, (Image)GetChameleonSample()); - w.DrawImage(50, 10, Magnify((Image)GetChameleonSample(), 4, 4)); + w.DrawImage(150, 10, Magnify((Image)GetChameleonSample(), 4, 4)); + w.DrawImage(10, 50, CtrlsImg::O1d()); #endif // ChPaint(w, 10, 10, 32, 32, GetChameleonSample()); diff --git a/upptst/TestChStyle/main.cpp b/upptst/TestChStyle/main.cpp index 57476adfd..634dd4b23 100644 --- a/upptst/TestChStyle/main.cpp +++ b/upptst/TestChStyle/main.cpp @@ -32,9 +32,11 @@ TestChStyle::TestChStyle() AddFrame(bar); bar.Set([](Bar& bar) { bar.Add(CtrlImg::Diskette(), [] { + #ifndef PLATFORM_OSX FileSelector fs; fs.AllFilesType(); fs.ExecuteOpen(); + #endif }).Tip("This is test"); bar.Add(CtrlImg::Dir(), [] { ArrayCtrl ar; @@ -125,10 +127,13 @@ TestChStyle::TestChStyle() GUI_APP_MAIN { - StdLogSetup(LOG_FILE|LOG_ELAPSED); - Ctrl::SetDarkThemeEnabled(); +// StdLogSetup(LOG_FILE|LOG_ELAPSED); +// Ctrl::SetDarkThemeEnabled(); // Ctrl::SetSkin(ChStdSkin); + RDUMPM(Environment()); + RDUMP(IsUHDMode()); + RDUMP(SColorDisabled()); RDUMP(SColorText());