#include <MyGUI_Button.h>

Public Member Functions | |
| Button () | |
| void | setButtonPressed (bool _value) |
| OLD Set button check state. | |
| bool | getButtonPressed () |
| OLD Get buton check. | |
| void | setStateCheck (bool _value) |
| Set button check state. | |
| bool | getStateCheck () |
| Get buton check. | |
| void | setImageIndex (size_t _value) |
| Set image index (image should be defined in skin). | |
| size_t | getImageIndex () |
| Get image index. | |
| StaticImagePtr | getStaticImage () |
| virtual void | setProperty (const std::string &_key, const std::string &_value) |
| virtual void | _initialise (WidgetStyle _style, const IntCoord &_coord, Align _align, ResourceSkin *_info, WidgetPtr _parent, ICroppedRectangle *_croppedParent, IWidgetCreator *_creator, const std::string &_name) |
| void | _setMouseFocus (bool _focus) |
Protected Member Functions | |
| virtual | ~Button () |
| virtual void | baseChangeWidgetSkin (ResourceSkin *_info) |
| virtual void | onMouseLostFocus (WidgetPtr _new) |
| virtual void | onMouseSetFocus (WidgetPtr _old) |
| virtual void | onMouseButtonPressed (int _left, int _top, MouseButton _id) |
| virtual void | onMouseButtonReleased (int _left, int _top, MouseButton _id) |
| virtual void | baseUpdateEnable () |
Definition at line 32 of file MyGUI_Button.h.
| MyGUI::Button::Button | ( | ) |
Definition at line 32 of file MyGUI_Button.cpp.
| MyGUI::Button::~Button | ( | ) | [protected, virtual] |
Definition at line 47 of file MyGUI_Button.cpp.
| void MyGUI::Button::_initialise | ( | WidgetStyle | _style, | |
| const IntCoord & | _coord, | |||
| Align | _align, | |||
| ResourceSkin * | _info, | |||
| WidgetPtr | _parent, | |||
| ICroppedRectangle * | _croppedParent, | |||
| IWidgetCreator * | _creator, | |||
| const std::string & | _name | |||
| ) | [virtual] |
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::MenuItem.
Definition at line 40 of file MyGUI_Button.cpp.
| void MyGUI::Button::_setMouseFocus | ( | bool | _focus | ) |
Definition at line 158 of file MyGUI_Button.cpp.
| void MyGUI::Button::baseChangeWidgetSkin | ( | ResourceSkin * | _info | ) | [protected, virtual] |
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::MenuItem.
Definition at line 52 of file MyGUI_Button.cpp.
| void MyGUI::Button::baseUpdateEnable | ( | ) | [protected, virtual] |
Reimplemented from MyGUI::Widget.
Definition at line 171 of file MyGUI_Button.cpp.
| bool MyGUI::Button::getButtonPressed | ( | ) | [inline] |
OLD Get buton check.
Definition at line 43 of file MyGUI_Button.h.
| size_t MyGUI::Button::getImageIndex | ( | ) |
Get image index.
Definition at line 127 of file MyGUI_Button.cpp.
| bool MyGUI::Button::getStateCheck | ( | ) | [inline] |
Get buton check.
Definition at line 49 of file MyGUI_Button.h.
| StaticImagePtr MyGUI::Button::getStaticImage | ( | ) | [inline] |
Get pointer to glyph image for this button (if it exist in button skin)
Definition at line 57 of file MyGUI_Button.h.
| void MyGUI::Button::onMouseButtonPressed | ( | int | _left, | |
| int | _top, | |||
| MouseButton | _id | |||
| ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetEvent.
Definition at line 100 of file MyGUI_Button.cpp.
| void MyGUI::Button::onMouseButtonReleased | ( | int | _left, | |
| int | _top, | |||
| MouseButton | _id | |||
| ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetEvent.
Definition at line 111 of file MyGUI_Button.cpp.
| void MyGUI::Button::onMouseLostFocus | ( | WidgetPtr | _new | ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetEvent.
Definition at line 93 of file MyGUI_Button.cpp.
| void MyGUI::Button::onMouseSetFocus | ( | WidgetPtr | _old | ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetEvent.
Definition at line 86 of file MyGUI_Button.cpp.
| void MyGUI::Button::setButtonPressed | ( | bool | _value | ) | [inline] |
OLD Set button check state.
Definition at line 41 of file MyGUI_Button.h.
| void MyGUI::Button::setImageIndex | ( | size_t | _value | ) |
Set image index (image should be defined in skin).
Definition at line 122 of file MyGUI_Button.cpp.
| void MyGUI::Button::setProperty | ( | const std::string & | _key, | |
| const std::string & | _value | |||
| ) | [virtual] |
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::MenuItem.
Definition at line 164 of file MyGUI_Button.cpp.
| void MyGUI::Button::setStateCheck | ( | bool | _value | ) |
Set button check state.
Definition at line 151 of file MyGUI_Button.cpp.
1.6.1