.developing rainbow

git-svn-id: svn://ultimatepp.org/upp/trunk@3628 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-07-09 19:33:19 +00:00
parent 7014a272f3
commit 931bf5b92f
16 changed files with 317 additions and 81 deletions

View file

@ -29,6 +29,14 @@ struct App : public Ctrl {
w.Clipoff(200, 50, 95, 100);
w.DrawText(0, 80, "CLIPPED", Roman(25));
w.End();
DrawDragRect((SystemDraw&)w,
Rect(0, 0, 0, 0),
Rect(23, 165, 672, 301),
Size(1163, 513),
1,
Black(),
MAKEQWORD(Random(), Random()));
}
void LeftDown(Point p, dword)
@ -85,6 +93,7 @@ GUI_APP_MAIN
{
#if EDITOR
RichEditWithToolBar app;
app.SetQTF(LoadFile(ConfigFile("test.qtf")));
#else
App app;
app.popup.PopUp();
@ -107,4 +116,7 @@ GUI_APP_MAIN
top.Open();
#endif
Ctrl::EventLoop();
#if EDITOR
SaveFile(ConfigFile("test.qtf"), app.GetQTF());
#endif
}

View file

@ -13,7 +13,8 @@ uses(SDLFB) SDLFb;
uses(WINGL) WinGl;
file
Draw.cpp;
Draw.cpp,
U:\h.txt;
mainconfig
"" = "GUI WINFB",