mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-21 06:14:08 -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/Tutorial2/Tutorial2.h
Normal file
17
uppdev/Tutorial2/Tutorial2.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef _Tutorial2_Tutorial2_h
|
||||
#define _Tutorial2_Tutorial2_h
|
||||
|
||||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
#define LAYOUTFILE <Tutorial2/Tutorial2.lay>
|
||||
#include <CtrlCore/lay.h>
|
||||
|
||||
|
||||
|
||||
class Tutorial2 : public WithTutorial2Layout<TopWindow> {
|
||||
public:
|
||||
typedef Tutorial2 CLASSNAME;
|
||||
Tutorial2();
|
||||
};
|
||||
|
||||
#endif
|
||||
2
uppdev/Tutorial2/Tutorial2.lay
Normal file
2
uppdev/Tutorial2/Tutorial2.lay
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
LAYOUT(Tutorial2Layout, 200, 100)
|
||||
END_LAYOUT
|
||||
12
uppdev/Tutorial2/Tutorial2.upp
Normal file
12
uppdev/Tutorial2/Tutorial2.upp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
uses
|
||||
CtrlLib;
|
||||
|
||||
file
|
||||
"Tutorial2.h"
|
||||
, main.cpp
|
||||
, "Tutorial2.lay"
|
||||
|
||||
;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI";
|
||||
13
uppdev/Tutorial2/main.cpp
Normal file
13
uppdev/Tutorial2/main.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include "Tutorial2.h"
|
||||
|
||||
|
||||
|
||||
Tutorial2::Tutorial2()
|
||||
{
|
||||
CtrlLayout(*this, "Window title");
|
||||
}
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
Tutorial2().Run();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue