summaryrefslogtreecommitdiff
path: root/src/interface/DropDown.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/DropDown.h')
-rw-r--r--src/interface/DropDown.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/interface/DropDown.h b/src/interface/DropDown.h
index dabd4ec..813c035 100644
--- a/src/interface/DropDown.h
+++ b/src/interface/DropDown.h
@@ -24,20 +24,13 @@ public:
};
class DropDown: public ui::Component {
friend class DropDownWindow;
- Colour background, activeBackground;
- Colour border, activeBorder;
- Colour text, activeText;
- Point textPosition;
bool isMouseInside;
int optionIndex;
DropDownAction * callback;
std::vector<std::pair<std::string, int> > options;
- HorizontalAlignment textHAlign;
- VerticalAlignment textVAlign;
public:
DropDown(Point position, Point size);
std::pair<std::string, int> GetOption();
- void TextPosition();
void SetOption(int option);
void SetOption(std::string option);
void AddOption(std::pair<std::string, int> option);