ultimatepp/upptst/ColorPopup/main.cpp
cxl 785714e444 .upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@14008 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-14 08:55:55 +00:00

30 lines
514 B
C++

#include <CtrlLib/CtrlLib.h>
using namespace Upp;
#define LAYOUTFILE <ColorPopup/colorpopup.lay>
#include <CtrlCore/lay.h>
class MyApp : public WithMyAppLayout<TopWindow> {
public:
typedef MyApp CLASSNAME;
MyApp();
};
MyApp::MyApp()
{
CtrlLayout(*this, "Window title");
c0.SColors(false);
c1.WithText().SColors(true);
c2.NotNull();
c3.NoRampWheel();
c4.NotNull().NoRampWheel();
c5.WithVoid();
}
GUI_APP_MAIN
{
// SetStdFont(Arial(25));
SyncUHDMode();
MyApp().Run();
}