mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
added some comments for LogPosCtrl, some small fixes in RectCtrl git-svn-id: svn://ultimatepp.org/upp/trunk@5426 f0d560ea-af0d-0410-9eb7-867de7ffcac7
46 lines
900 B
C++
46 lines
900 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>
|
|
#include <AutoScroller/AutoScroller.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);
|
|
|
|
AutoScroller<ParentCtrl> sc;
|
|
|
|
WithCtrlPosTestLayout<ParentCtrl> vis;
|
|
FrameLeft<WithLeftBarLay<ParentCtrl> > sb;
|
|
CtrlPos hk;
|
|
|
|
FrameTop<WithControlLay<StaticRect> > ft;
|
|
EditString es;
|
|
StaticText st;
|
|
|
|
FrameBottom<WithBotLay<ParentCtrl> > bot;
|
|
};
|
|
|
|
#endif
|
|
|