mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-18 06:06:01 -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
34 lines
622 B
C++
34 lines
622 B
C++
#ifndef _CtrlMover_CtrlMover_h
|
|
#define _CtrlMover_CtrlMover_h
|
|
|
|
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
#include <CtrlFinder/CtrlFinder.h>
|
|
#include <RectCtrl/RectCtrl.h>
|
|
|
|
class CtrlMover : public CtrlFinder
|
|
{
|
|
public:
|
|
typedef CtrlMover CLASSNAME;
|
|
|
|
CtrlMover();
|
|
|
|
virtual void State(int reason);
|
|
virtual void Updated();
|
|
|
|
void OnCtrlLeft(Ctrl& c, Point p, dword keyflags);
|
|
void OnCtrlLeftMulti(const Vector<Ctrl*>* pctrls, Rect r, dword keyflags);
|
|
|
|
void OnMissed(Point p, dword keyflags);
|
|
|
|
protected:
|
|
void OnRectChange();
|
|
|
|
RectCtrl rc;
|
|
RectCtrl::Style rcst;
|
|
};
|
|
|
|
#endif
|
|
|