mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
47 lines
798 B
C++
47 lines
798 B
C++
#ifndef _CtrlPropTest_CtrlPropTest_h
|
|
#define _CtrlPropTest_CtrlPropTest_h
|
|
|
|
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
#define LAYOUTFILE <CtrlPropTest/CtrlPropTest.lay>
|
|
#include <CtrlCore/lay.h>
|
|
|
|
#include <CtrlMover/CtrlMover.h>
|
|
#include <CtrlProp/CtrlProp.h>
|
|
|
|
class CtrlPropTest : public TopWindow {
|
|
public:
|
|
typedef CtrlPropTest CLASSNAME;
|
|
CtrlPropTest();
|
|
|
|
//misc
|
|
void Test();
|
|
void InitDummies();
|
|
|
|
//edit
|
|
void DoList(Ctrl& c);
|
|
void DoEdit(Ctrl& c);
|
|
bool CanEdit();
|
|
|
|
void OnEdit();
|
|
void OnCtrlRight(Ctrl& c, Point p, dword keyflags);
|
|
void OnMoveAction();
|
|
|
|
public:
|
|
ToolBar mb;
|
|
ToolBar::Item * mbi;
|
|
Array<Ctrl> arc;
|
|
|
|
PropEdit pe;
|
|
PropList pl;
|
|
|
|
WithCtrlPropTestLayout<ParentCtrl> vis;
|
|
CtrlMover hk;
|
|
|
|
bool edit;
|
|
};
|
|
|
|
#endif
|
|
|