diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-15 17:13:17 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-15 17:13:17 (GMT) |
| commit | 136675b56a8a1862afb41ccee5c14e93e483b964 (patch) | |
| tree | 8f679477c5e1c0984a5cb9c169e339c1ca0d6e0c /src/interface/DropDown.h | |
| parent | 45563e97e813cfd21724ad1111e5de3e04679e1a (diff) | |
| download | powder-136675b56a8a1862afb41ccee5c14e93e483b964.zip powder-136675b56a8a1862afb41ccee5c14e93e483b964.tar.gz | |
Move style into Component
Diffstat (limited to 'src/interface/DropDown.h')
| -rw-r--r-- | src/interface/DropDown.h | 7 |
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); |
