#include <UpDownButton.h>
Inheritance diagram for OglGui::UpDownButton:
Public Member Functions | |
UpDownButton (Window *parent, int x, int y, int width, int height, bool leftRight=false, int margin=0) | |
UpDownButton (Window *parent, int width, int height, bool leftRight=false, int margin=0) | |
void | SetUpDownButtonListener (UpDownButtonListener *listener, void *userData=0) |
void | SetUpDownButtonListener (UpDownButtonListener *listener, int userData) |
virtual void | ButtonSelectionEvent (Button *src, void *userData) |
DirectionButton * | UpButton () const |
DirectionButton * | DownButton () const |
virtual void | MouseFunc (INT msg, INT but, INT state, INT x, INT y) |
void | SetRepeatMode (bool mode) |
void | SetDirectionFeedback (bool mode, ULONG feedbackCol=0xff606060) |
void | SetClosed (bool mode=true) |
void | SetFilled (bool mode=true) |
void | SetFixedArrowSize (int sz) |
void | AdjustRoundness (float r0, float r1, float r2, float r3, bool childAdjust=true, int margin=0) |
Private Member Functions | |
void | Init (int w, int h, bool leftRight, int margin) |
Private Attributes | |
DirectionButton * | mUpButton |
DirectionButton * | mDownButton |
UpDownButtonListener * | mListener |
void * | mListenerData |
bool | mLeftRight |
Definition at line 27 of file UpDownButton.h.