OpenMW
|
allows using different image textures depending on the button state More...
#include <imagebutton.hpp>
Public Member Functions | |
MyGUI::IntSize | getRequestedSize (bool logError=true) |
Protected Member Functions | |
virtual void | setPropertyOverride (const std::string &_key, const std::string &_value) |
virtual void | onMouseLostFocus (MyGUI::Widget *_new) |
virtual void | onMouseSetFocus (MyGUI::Widget *_old) |
virtual void | onMouseButtonPressed (int _left, int _top, MyGUI::MouseButton _id) |
virtual void | onMouseButtonReleased (int _left, int _top, MyGUI::MouseButton _id) |
Protected Attributes | |
std::string | mImageHighlighted |
std::string | mImageNormal |
std::string | mImagePushed |
allows using different image textures depending on the button state
MyGUI::IntSize MWGui::ImageButton::getRequestedSize | ( | bool | logError = true | ) |
void MWGui::ImageButton::onMouseButtonPressed | ( | int | _left, |
int | _top, | ||
MyGUI::MouseButton | _id | ||
) | [protected, virtual] |
void MWGui::ImageButton::onMouseButtonReleased | ( | int | _left, |
int | _top, | ||
MyGUI::MouseButton | _id | ||
) | [protected, virtual] |
void MWGui::ImageButton::onMouseLostFocus | ( | MyGUI::Widget * | _new | ) | [protected, virtual] |
void MWGui::ImageButton::onMouseSetFocus | ( | MyGUI::Widget * | _old | ) | [protected, virtual] |
void MWGui::ImageButton::setPropertyOverride | ( | const std::string & | _key, |
const std::string & | _value | ||
) | [protected, virtual] |
std::string MWGui::ImageButton::mImageHighlighted [protected] |
std::string MWGui::ImageButton::mImageNormal [protected] |
std::string MWGui::ImageButton::mImagePushed [protected] |