allows using different image textures depending on the button state
More...
#include <imagebutton.hpp>
|
MyGUI::IntSize | getRequestedSize () |
|
void | setImage (const std::string &image) |
| Set mImageNormal, mImageHighlighted and mImagePushed based on file convention (image_idle.ext, image_over.ext and image_pressed.ext) More...
|
|
allows using different image textures depending on the button state
MyGUI::IntSize Gui::ImageButton::getRequestedSize |
( |
| ) |
|
void Gui::ImageButton::onMouseButtonPressed |
( |
int |
_left, |
|
|
int |
_top, |
|
|
MyGUI::MouseButton |
_id |
|
) |
| |
|
protectedvirtual |
void Gui::ImageButton::onMouseButtonReleased |
( |
int |
_left, |
|
|
int |
_top, |
|
|
MyGUI::MouseButton |
_id |
|
) |
| |
|
protectedvirtual |
void Gui::ImageButton::onMouseLostFocus |
( |
MyGUI::Widget * |
_new | ) |
|
|
protectedvirtual |
void Gui::ImageButton::onMouseSetFocus |
( |
MyGUI::Widget * |
_old | ) |
|
|
protectedvirtual |
void Gui::ImageButton::setImage |
( |
const std::string & |
image | ) |
|
Set mImageNormal, mImageHighlighted and mImagePushed based on file convention (image_idle.ext, image_over.ext and image_pressed.ext)
void Gui::ImageButton::setPropertyOverride |
( |
const std::string & |
_key, |
|
|
const std::string & |
_value |
|
) |
| |
|
protectedvirtual |
std::string Gui::ImageButton::mImageHighlighted |
|
protected |
std::string Gui::ImageButton::mImageNormal |
|
protected |
std::string Gui::ImageButton::mImagePushed |
|
protected |
The documentation for this class was generated from the following files: