mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 14:16:10 -06:00
43 lines
827 B
C++
43 lines
827 B
C++
#ifndef _CtrlPosTest_CtrlPosTest_h
|
|
#define _CtrlPosTest_CtrlPosTest_h
|
|
|
|
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
#define LAYOUTFILE <CtrlPosTest/CtrlPosTest.lay>
|
|
#include <CtrlCore/lay.h>
|
|
|
|
#include <CtrlPos/CtrlPos.h>
|
|
|
|
class CtrlPosTest : public TopWindow {
|
|
public:
|
|
typedef CtrlPosTest CLASSNAME;
|
|
CtrlPosTest();
|
|
|
|
virtual void Activate();
|
|
|
|
void VisitCB();
|
|
void ClearCB();
|
|
void EnableCB();
|
|
void DisableCB();
|
|
void DeepCB();
|
|
void FrameCB();
|
|
void ViewCB();
|
|
|
|
void ToInfo(const String& s);
|
|
void OnSelect(Ctrl& c, Point p, dword keyflags);
|
|
|
|
WithCtrlPosTestLayout<ParentCtrl> vis;
|
|
FrameLeft<WithLeftBarLay<ParentCtrl> > sb;
|
|
CtrlPos hk;
|
|
|
|
FrameTop<WithControlLay<StaticRect> > ft;
|
|
EditString es;
|
|
StaticText st;
|
|
|
|
FrameBottom<WithBotLay<ParentCtrl> > bot;
|
|
};
|
|
|
|
#endif
|
|
|