ultimatepp/upptst/ColorPopup/main.cpp
cxl 31bb14f8b7 .upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@11439 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-07 11:08:14 +00:00

30 lines
503 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.SColors(true);
c2.NotNull();
c3.NoRampWheel();
c4.NotNull().NoRampWheel();
c5.WithVoid();
}
GUI_APP_MAIN
{
// SetStdFont(Arial(25));
SyncUHDMode();
MyApp().Run();
}