mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@13986 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e3d1e07d85
commit
6411ea83a0
1 changed files with 6 additions and 7 deletions
|
|
@ -83,11 +83,9 @@ TestChStyle::TestChStyle()
|
|||
switch1.Disable();
|
||||
switch1 <<= 1;
|
||||
|
||||
#ifdef CPP_11
|
||||
standard << [] { Ctrl::SetSkin(ChStdSkin); };
|
||||
classic << [] { Ctrl::SetSkin(ChClassicSkin); };
|
||||
host << [] { Ctrl::SetSkin(ChHostSkin); };
|
||||
#endif
|
||||
standard << [=] { Ctrl::SetSkin(ChStdSkin); Break(IDOK); };
|
||||
classic << [=] { Ctrl::SetSkin(ChClassicSkin); Break(IDOK); };
|
||||
host << [=] { Ctrl::SetSkin(ChHostSkin); Break(IDOK); };
|
||||
|
||||
for(int i = 0; i < 100; i++)
|
||||
tab.Add("Tab " + AsString(i));
|
||||
|
|
@ -131,7 +129,8 @@ GUI_APP_MAIN
|
|||
{
|
||||
// StdLogSetup(LOG_FILE|LOG_ELAPSED);
|
||||
// Ctrl::SetDarkThemeEnabled();
|
||||
Ctrl::SetSkin(ChStdSkin);
|
||||
// Ctrl::SetSkin(ChStdSkin);
|
||||
// Ctrl::SetSkin(ChClassicSkin);
|
||||
|
||||
RDUMPM(Environment());
|
||||
RDUMP(IsUHDMode());
|
||||
|
|
@ -141,5 +140,5 @@ GUI_APP_MAIN
|
|||
|
||||
RDUMP(EditField::StyleDefault().disabled);
|
||||
|
||||
TestChStyle().Run();
|
||||
while(TestChStyle().Run() == IDOK);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue