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@13973 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
33866d2ce1
commit
714dc15e87
2 changed files with 9 additions and 3 deletions
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue