mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3628 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7014a272f3
commit
931bf5b92f
16 changed files with 317 additions and 81 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,8 @@ uses(SDLFB) SDLFb;
|
|||
uses(WINGL) WinGl;
|
||||
|
||||
file
|
||||
Draw.cpp;
|
||||
Draw.cpp,
|
||||
U:\h.txt;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI WINFB",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue