mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
36 lines
648 B
C++
36 lines
648 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;
|
|
typedef CtrlFinder V;
|
|
CtrlMover();
|
|
|
|
virtual void Visit(Ctrl& c);
|
|
virtual void Clear();
|
|
virtual void Reload();
|
|
|
|
virtual void State(int reason);
|
|
virtual void Updated();
|
|
|
|
void OnCtrlLeft(Ctrl& c, Point p, dword keyflags);
|
|
void OnMissed(Point p, dword keyflags);
|
|
|
|
protected:
|
|
void OnRectChange();
|
|
|
|
RectCtrl rc;
|
|
RectCtrl::Style rcst;
|
|
};
|
|
|
|
#endif
|
|
|