1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

* hopefully fixed #46

* minor improvements
This commit is contained in:
Michał W. Urbańczyk
2007-12-23 16:25:14 +00:00
parent 7db86e5f9e
commit 6c2cf4ba29
5 changed files with 26 additions and 23 deletions

View File

@@ -162,8 +162,11 @@ class CSelectableComponent : public SComponent, public ClickableL
public:
bool selected;
SDL_Surface * border, *myBitmap;
CSelWindow * owner;
void clickLeft(tribool down);
CSelectableComponent(Etype Type, int Sub, int Val, SDL_Surface * Border=NULL);
CSelectableComponent(Etype Type, int Sub, int Val, CSelWindow * Owner, SDL_Surface * Border=NULL);
void activate();
void deactivate();
void select(bool on);