mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
dc9f782ba5
commit
4a1c627474
2823 changed files with 619073 additions and 0 deletions
20
uppdev/testcrash/main.cpp
Normal file
20
uppdev/testcrash/main.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include "testcrash.h"
|
||||
|
||||
|
||||
|
||||
testcrash::testcrash()
|
||||
{
|
||||
CtrlLayout(*this, "Window title");
|
||||
PostCallback(THISBACK(testing));
|
||||
}
|
||||
|
||||
void testcrash::testing()
|
||||
{
|
||||
mList.AddColumn("TEST");
|
||||
}
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
testcrash().Run();
|
||||
}
|
||||
|
||||
21
uppdev/testcrash/testcrash.h
Normal file
21
uppdev/testcrash/testcrash.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef _testcrash_testcrash_h
|
||||
#define _testcrash_testcrash_h
|
||||
|
||||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
#define LAYOUTFILE <testcrash/testcrash.lay>
|
||||
#include <CtrlCore/lay.h>
|
||||
|
||||
|
||||
|
||||
class testcrash : public WithtestcrashLayout<TopWindow> {
|
||||
public:
|
||||
typedef testcrash CLASSNAME;
|
||||
testcrash();
|
||||
void testing();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
4
uppdev/testcrash/testcrash.lay
Normal file
4
uppdev/testcrash/testcrash.lay
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
LAYOUT(testcrashLayout, 344, 292)
|
||||
ITEM(ArrayCtrl, mList, HSizePosZ(4, 4).VSizePosZ(4, 4))
|
||||
END_LAYOUT
|
||||
|
||||
11
uppdev/testcrash/testcrash.upp
Normal file
11
uppdev/testcrash/testcrash.upp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
uses
|
||||
CtrlLib;
|
||||
|
||||
file
|
||||
testcrash.h,
|
||||
main.cpp,
|
||||
testcrash.lay;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI MT";
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue