ultimatepp/uppdev/Creator/test.upt
cxl 351994a6cc Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

28 lines
856 B
Text

template "Another application" main;
id "Name of main file" filename = PACKAGE + "Main";
id "Name of main class" classname = PACKAGE + "App";
option "Multithreaded" mt;
select("one", "two", "Three") "Choose" select = "one";
@@<:filename:>.cpp
#include <CtrlLib/CtrlLib.h>
class <:classname:> : public With<:classname:>Layout {
public:
};
void AppMain()
{
<:classname + "Alfa":>().Run();
}
@@<:filename:>.lay
??mt
LAYOUT(<:classname:>Layout, 236, 62)
ITEM(Label, lbl, SetLabel(txtEditStringLayout_lbl_SetLabel).LeftPosZ(4, 68).TopPosZ(4, 19))
ITEM(EditString, text, HSizePosZ(68, 4).TopPosZ(4, 19))
ITEM(Button, ok, SetLabel(txtEditStringLayout_ok_SetLabel).RightPosZ(88, 80).BottomPosZ(4, 22))
ITEM(Button, cancel, SetLabel(txtEditStringLayout_cancel_SetLabel).RightPosZ(4, 80).BottomPosZ(4, 22))
END_LAYOUT