This commit is contained in:
Daveo 2000-12-29 22:20:38 +00:00
parent 86e55aae82
commit 803f94e415
24 changed files with 492 additions and 254 deletions

34
Utils/MapEdit/Select.h Normal file
View file

@ -0,0 +1,34 @@
/***********************/
/*** Selection Class ***/
/***********************/
#ifndef __SELECTION_CLASS_HEADER__
#define __SELECTION_CLASS_HEADER__
/*****************************************************************************/
class CSelect
{
public:
CSelect();
virtual ~CSelect(){};
void Invalidate();
bool Handle(CPoint &Pnt,UINT Flags);
bool IsValid();
bool HasSelection();
CRect &GetRect() {return(Sel);}
private:
void Start(CPoint &Pnt, UINT Flags);
void End(CPoint &Pnt, UINT Flags);
CPoint Pos,Pos0;
CRect Sel;
UINT Mode;
};
/*****************************************************************************/
#endif