Inheritance diagram for CEGUI::ButtonBase:


Public Member Functions | |
| bool | isHovering (void) const |
| return true if user is hovering over this widget (or it's pushed and user is not over it for highlight) | |
| bool | isPushed (void) const |
| Return true if the button widget is in the pushed state. | |
| colour | getNormalTextColour (void) const |
| return text label colour used for normal rendering | |
| colour | getHoverTextColour (void) const |
| return text label colour used for hover / highlight rendering | |
| colour | getPushedTextColour (void) const |
| return text label colour used for pushed rendering | |
| colour | getDisabledTextColour (void) const |
| return text label colour used for disabled rendering | |
| void | setNormalTextColour (const colour &colour) |
| Set the colour to use for the label text when rendering in the normal state. | |
| void | setHoverTextColour (const colour &colour) |
| Set the colour to use for the label text when rendering in the hover / highlighted states. | |
| void | setPushedTextColour (const colour &colour) |
| Set the colour to use for the label text when rendering in the pushed state. | |
| void | setDisabledTextColour (const colour &colour) |
| Set the colour to use for the label text when rendering in the disabled state. | |
| ButtonBase (const String &type, const String &name) | |
| Constructor for ButtonBase objects. | |
| virtual | ~ButtonBase (void) |
| Destructor for ButtonBase objects. | |
Static Public Attributes | |
| static const colour | DefaultNormalLabelColour = 0xFFFFFFFF |
| Default colour used when rendering label text in normal state. | |
| static const colour | DefaultHoverLabelColour = 0xFFFFFFFF |
| Default colour used when rendering label text in hover / highlight state. | |
| static const colour | DefaultPushedLabelColour = 0xFFFFFFFF |
| Default colour used when rendering label text in pushed state. | |
| static const colour | DefaultDisabledLabelColour = 0xFF7F7F7F |
| Default colour used when rendering label text in disabled state. | |
Protected Member Functions | |
| virtual void | onMouseMove (MouseEventArgs &e) |
| Handler called when the mouse cursor has been moved within this window's area. | |
| virtual void | onMouseButtonDown (MouseEventArgs &e) |
| Handler called when a mouse button has been depressed within this window's area. | |
| virtual void | onMouseButtonUp (MouseEventArgs &e) |
| Handler called when a mouse button has been released within this window's area. | |
| virtual void | onCaptureLost (WindowEventArgs &e) |
| Handler called when this window loses capture of mouse inputs. | |
| virtual void | onMouseLeaves (MouseEventArgs &e) |
| Handler called when the mouse cursor has left this window's area. | |
| void | updateInternalState (const Point &mouse_pos) |
| Update the internal state of the widget with the mouse at the given position. | |
| virtual bool | testClassName_impl (const String &class_name) const |
| Return whether this window was inherited from the given class name at some point in the inheritance heirarchy. | |
| virtual void | drawSelf (float z) |
| Perform the rendering for this widget. | |
| virtual void | drawNormal (float z)=0 |
| Render the button-type widget in it's 'normal' state. | |
| virtual void | drawHover (float z) |
| Render the button-type widget in it's 'hover' (highlighted) state. | |
| virtual void | drawPushed (float z) |
| Render the button-type widget in it's 'pushed' state. | |
| virtual void | drawDisabled (float z) |
| Render the button-type widget in it's 'disabled' state. | |
Protected Attributes | |
| bool | d_pushed |
| true when widget is pushed | |
| bool | d_hovering |
| true when the button is in 'hover' state and requires the hover rendering. | |
| colour | d_normalColour |
| Colour used for label text when rendering in normal state. | |
| colour | d_hoverColour |
| Colour used for label text when rendering in highlighted state. | |
| colour | d_pushedColour |
| Colour used for label text when rendering in pushed state. | |
| colour | d_disabledColour |
| Colour used for label text when rendering in disabled state. | |
|
|
Render the button-type widget in it's 'disabled' state.
|
|
|
Render the button-type widget in it's 'hover' (highlighted) state.
|
|
|
Render the button-type widget in it's 'normal' state.
|
|
|
Render the button-type widget in it's 'pushed' state.
|
|
|
Perform the rendering for this widget.
Reimplemented from CEGUI::Window. Reimplemented in CEGUI::TabButton. |
|
|
return text label colour used for disabled rendering
|
|
|
return text label colour used for hover / highlight rendering
|
|
|
return text label colour used for normal rendering
|
|
|
return text label colour used for pushed rendering
|
|
|
return true if user is hovering over this widget (or it's pushed and user is not over it for highlight)
|
|
|
Return true if the button widget is in the pushed state.
|
|
|
Handler called when this window loses capture of mouse inputs.
Reimplemented from CEGUI::Window. Reimplemented in CEGUI::Thumb. |
|
|
Handler called when a mouse button has been depressed within this window's area.
Reimplemented from CEGUI::Window. Reimplemented in CEGUI::Thumb. |
|
|
Handler called when a mouse button has been released within this window's area.
Reimplemented from CEGUI::Window. Reimplemented in CEGUI::Checkbox, CEGUI::PushButton, CEGUI::RadioButton, and CEGUI::TabButton. |
|
|
Handler called when the mouse cursor has left this window's area.
Reimplemented from CEGUI::Window. |
|
|
Handler called when the mouse cursor has been moved within this window's area.
Reimplemented from CEGUI::Window. Reimplemented in CEGUI::Thumb. |
|
|
Set the colour to use for the label text when rendering in the disabled state.
|
|
|
Set the colour to use for the label text when rendering in the hover / highlighted states.
|
|
|
Set the colour to use for the label text when rendering in the normal state.
|
|
|
Set the colour to use for the label text when rendering in the pushed state.
|
|
|
Return whether this window was inherited from the given class name at some point in the inheritance heirarchy.
Reimplemented from CEGUI::Window. Reimplemented in CEGUI::Checkbox, CEGUI::PushButton, CEGUI::RadioButton, CEGUI::TabButton, and CEGUI::Thumb. |
|
|
Update the internal state of the widget with the mouse at the given position.
|
1.4.5