ultimatepp/bazaar/CtrlFinderTest/CtrlFinderTest.h
kohait a49d80d46d bazaar: Major CtrlFinder/CtrlMover/CtrlPos fixes/changes and support for multiple controls find, marked with a RectTrack
added some comments for LogPosCtrl, some small fixes in RectCtrl

git-svn-id: svn://ultimatepp.org/upp/trunk@5426 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-10-13 22:12:43 +00:00

41 lines
895 B
C++

#ifndef _CtrlFinderTest_CtrlFinderTest_h
#define _CtrlFinderTest_CtrlFinderTest_h
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
#define LAYOUTFILE <CtrlFinderTest/CtrlFinderTest.lay>
#include <CtrlCore/lay.h>
#include <CtrlFinder/CtrlFinder.h>
class CtrlFinderTest : public TopWindow {
public:
typedef CtrlFinderTest CLASSNAME;
CtrlFinderTest();
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);
void OnSelectMulti(const Vector<Ctrl*>* pctrls, Rect r, dword keyflags);
WithCtrlFinderTestLayout<ParentCtrl> vis;
FrameLeft<WithLeftBarLay<ParentCtrl> > sb;
CtrlFinder hk;
FrameTop<WithControlLay<StaticRect> > ft;
EditString es;
FrameBottom<WithBotLay<ParentCtrl> > bot;
};
#endif