OpenMW
Public Member Functions | Protected Member Functions | Protected Attributes
MWGui::ImageButton Class Reference

allows using different image textures depending on the button state More...

#include <imagebutton.hpp>

List of all members.

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

Detailed Description

allows using different image textures depending on the button state


Member Function Documentation

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]

Member Data Documentation

std::string MWGui::ImageButton::mImageHighlighted [protected]
std::string MWGui::ImageButton::mImageNormal [protected]
std::string MWGui::ImageButton::mImagePushed [protected]

The documentation for this class was generated from the following files: