diff options
Diffstat (limited to 'src/interface/DropDown.h')
| -rw-r--r-- | src/interface/DropDown.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/interface/DropDown.h b/src/interface/DropDown.h new file mode 100644 index 0000000..619ec5a --- /dev/null +++ b/src/interface/DropDown.h @@ -0,0 +1,29 @@ +/* + * DropDown.h + * + * Created on: Apr 16, 2012 + * Author: Simon + */ + +#ifndef DROPDOWN_H_ +#define DROPDOWN_H_ + +#include "Component.h" +#include "Colour.h" + +namespace ui { + +class DropDown: public ui::Component { + Colour background, activeBackground; + Colour border, activeBorder; + Colour text, activeText; + bool isMouseInside; +public: + DropDown(Point position, Point size); + virtual void Draw(const Point& screenPos); + virtual void OnMouseClick(int x, int y, unsigned int button); + virtual ~DropDown(); +}; + +} /* namespace ui */ +#endif /* DROPDOWN_H_ */ |
