mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
adf46bd64e
commit
2e4b276e07
3860 changed files with 1161787 additions and 438 deletions
17
uppdev/QuickTest/QuickTest.h
Normal file
17
uppdev/QuickTest/QuickTest.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef _QuickTest_QuickTest_h
|
||||
#define _QuickTest_QuickTest_h
|
||||
|
||||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
class QuickTest : public TopWindow {
|
||||
public:
|
||||
virtual void Paint(Draw& w);
|
||||
|
||||
typedef QuickTest CLASSNAME;
|
||||
QuickTest();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
10
uppdev/QuickTest/QuickTest.upp
Normal file
10
uppdev/QuickTest/QuickTest.upp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
uses
|
||||
CtrlLib;
|
||||
|
||||
file
|
||||
QuickTest.h,
|
||||
main.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI";
|
||||
|
||||
23
uppdev/QuickTest/main.cpp
Normal file
23
uppdev/QuickTest/main.cpp
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#include "QuickTest.h"
|
||||
#include <ide/QuickTabs/QuickTabs.h>
|
||||
|
||||
#define IMAGECLASS Img
|
||||
#define IMAGEFILE <ide/QuickTabs/QuickTabs.iml>
|
||||
#include <Draw/iml_source.h>
|
||||
|
||||
void QuickTest::Paint(Draw& w)
|
||||
{
|
||||
Size sz = GetSize();
|
||||
w.DrawRect(sz, Black());
|
||||
w.DrawImage(100, 100, Img::CR2);
|
||||
w.DrawImage(120, 100, Img::CR1);
|
||||
}
|
||||
|
||||
QuickTest::QuickTest()
|
||||
{
|
||||
}
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
QuickTest().Run();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue