ultimatepp/uppdev/Chameleon/main.cpp
cxl 351994a6cc Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

19 lines
433 B
C++

#include <CtrlLib/CtrlLib.h>
using namespace Upp;
#define IMAGEFILE <Chameleon/Chameleon.iml>
#define IMAGECLASS ChImg
#include <Draw/iml.h>
GUI_APP_MAIN
{
TopWindow myapp;
myapp.Background(PaintRect(ColorDisplay(), Red()));
Button button;
button.Transparent();
myapp.Add(button.HSizePos(50, 50).VSizePos(50, 50));
Button::StyleNormal().Write().look[0] = ChImg::B();
myapp.Sizeable();
myapp.Run();
}