MyGUI  3.0.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
MyGUI::StaticImage Class Reference

#include <MyGUI_StaticImage.h>

+ Inheritance diagram for MyGUI::StaticImage:

Public Types

typedef RTTIBase Base
typedef StaticImage RTTIBase
- Public Types inherited from MyGUI::Widget
typedef Widget RTTIBase
- Public Types inherited from MyGUI::IObject
typedef IObject RTTIBase

Public Member Functions

virtual const std::string & getTypeName () const
virtual bool isType (const std::type_info &_type) const
template<typename Type >
bool isType () const
 StaticImage ()
void setImageInfo (const std::string &_texture, const IntCoord &_coord, const IntSize &_tile)
void setImageTexture (const std::string &_value)
void setImageRect (const IntRect &_value)
void setImageCoord (const IntCoord &_value)
void setImageTile (const IntSize &_value)
void setImageIndex (size_t _index)
size_t getImageIndex ()
size_t getItemCount () const
 Get number of items.
void setItemSelect (size_t _index)
 Select specified _index.
size_t getItemSelect ()
 Get index of selected item (ITEM_NONE if none selected)
void resetItemSelect ()
 Reset item selection.
void insertItem (size_t _index, const IntCoord &_item)
 Insert an item into a list at a specified position.
void addItem (const IntCoord &_item)
 Add an item to the end of a list.
void setItem (size_t _index, const IntCoord &_item)
 Replace an item at a specified position.
void deleteItem (size_t _index)
 Delete item at a specified position.
void deleteAllItems ()
 Delete all items.
void addItemFrame (size_t _index, const IntCoord &_item)
void insertItemFrame (size_t _index, size_t _indexFrame, const IntCoord &_item)
void addItemFrameDublicate (size_t _index, size_t _indexSourceFrame)
void insertItemFrameDublicate (size_t _index, size_t _indexFrame, size_t _indexSourceFrame)
void setItemFrame (size_t _index, size_t _indexFrame, const IntCoord &_item)
void deleteItemFrame (size_t _index, size_t _indexFrame)
void deleteAllItemFrames (size_t _index)
void setItemFrameRate (size_t _index, float _rate)
float getItemFrameRate (size_t _index)
bool setItemResource (const Guid &_id)
bool setItemResource (const std::string &_name)
void setItemGroup (const std::string &_value)
void setItemName (const std::string &_value)
void setItemResourcePtr (ResourceImageSetPtr _resource)
void setItemResourceInfo (const ImageIndexInfo &_info)
ResourceImageSetPtr getItemResource ()
void setItemResourceInfo (ResourceImageSetPtr _resource, const std::string &_group, const std::string &_name)
virtual void setProperty (const std::string &_key, const std::string &_value)
 
virtual void _initialise (WidgetStyle _style, const IntCoord &_coord, Align _align, ResourceSkin *_info, Widget *_parent, ICroppedRectangle *_croppedParent, IWidgetCreator *_creator, const std::string &_name)
- Public Member Functions inherited from MyGUI::Widget
template<typename Type >
Type * castType (bool _throw=true)
template<typename Type >
const Type * castType (bool _throw=true) const
 Widget ()
WidgetcreateWidgetT (const std::string &_type, const std::string &_skin, const IntCoord &_coord, Align _align, const std::string &_name="")
WidgetcreateWidgetT (const std::string &_type, const std::string &_skin, int _left, int _top, int _width, int _height, Align _align, const std::string &_name="")
WidgetcreateWidgetRealT (const std::string &_type, const std::string &_skin, const FloatCoord &_coord, Align _align, const std::string &_name="")
WidgetcreateWidgetRealT (const std::string &_type, const std::string &_skin, float _left, float _top, float _width, float _height, Align _align, const std::string &_name="")
template<typename T >
T * createWidget (const std::string &_skin, const IntCoord &_coord, Align _align, const std::string &_name="")
template<typename T >
T * createWidget (const std::string &_skin, int _left, int _top, int _width, int _height, Align _align, const std::string &_name="")
template<typename T >
T * createWidgetReal (const std::string &_skin, const FloatCoord &_coord, Align _align, const std::string &_name="")
template<typename T >
T * createWidgetReal (const std::string &_skin, float _left, float _top, float _width, float _height, Align _align, const std::string &_name="")
WidgetcreateWidgetT (WidgetStyle _style, const std::string &_type, const std::string &_skin, const IntCoord &_coord, Align _align, const std::string &_layer="", const std::string &_name="")
template<typename T >
T * createWidget (WidgetStyle _style, const std::string &_skin, const IntCoord &_coord, Align _align, const std::string &_layer="", const std::string &_name="")
const std::string & getName () const
 Get name of widget.
virtual void setPosition (const IntPoint &_value)
virtual void setSize (const IntSize &_value)
virtual void setCoord (const IntCoord &_value)
void setPosition (int _left, int _top)
void setSize (int _width, int _height)
void setCoord (int _left, int _top, int _width, int _height)
void setRealPosition (const FloatPoint &_value)
void setRealSize (const FloatSize &_value)
void setRealCoord (const FloatCoord &_value)
void setRealPosition (float _left, float _top)
void setRealSize (float _width, float _height)
void setRealCoord (float _left, float _top, float _width, float _height)
virtual void setVisible (bool _value)
virtual void setAlign (Align _value)
virtual void setCaption (const UString &_value)
virtual const UStringgetCaption ()
void setAlpha (float _value)
float getAlpha ()
void setInheritsAlpha (bool _value)
bool isInheritsAlpha ()
bool setState (const std::string &_value)
void setColour (const Colour &_value)
bool isRootWidget ()
WidgetgetParent ()
EnumeratorWidgetPtr getEnumerator ()
size_t getChildCount ()
WidgetgetChildAt (size_t _index)
WidgetfindWidget (const std::string &_name)
void setNeedKeyFocus (bool _value)
bool isNeedKeyFocus ()
void setNeedMouseFocus (bool _value)
bool isNeedMouseFocus ()
void setInheritsPick (bool _value)
bool isInheritsPick ()
void setMaskPick (const std::string &_filename)
virtual void setEnabled (bool _value)
void setEnabledSilent (bool _value)
bool isEnabled ()
void setPointer (const std::string &_value)
const std::string & getPointer ()
const std::string & getLayerName ()
IntCoord getClientCoord ()
WidgetgetClientWidget ()
ISubWidgetTextgetSubWidgetText ()
ISubWidgetRectgetSubWidgetMain ()
void setNeedToolTip (bool _value)
bool getNeedToolTip ()
void setEnableToolTip (bool _value)
bool getEnableToolTip ()
void detachFromWidget (const std::string &_layer="")
void attachToWidget (Widget *_parent, WidgetStyle _style=WidgetStyle::Child, const std::string &_layer="")
void changeWidgetSkin (const std::string &_skinname)
void setWidgetStyle (WidgetStyle _style, const std::string &_layer="")
WidgetStyle getWidgetStyle ()
virtual void _getContainer (Widget *&_container, size_t &_index)
void _forcePeek (Widget *_widget)
void _setUVSet (const FloatRect &_rect)
virtual void _setTextureName (const std::string &_texture)
virtual const std::string & _getTextureName ()
IWidgetCreator_getIWidgetCreator ()
IntCoord _getTextRegion ()
IntSize _getTextSize ()
void _setFontName (const std::string &_font)
const std::string & _getFontName ()
void _setFontHeight (int _height)
int _getFontHeight ()
void _setTextAlign (Align _align)
Align _getTextAlign ()
void _setTextColour (const Colour &_colour)
const Colour_getTextColour ()
void setCaptionWithNewLine (const std::string &_value)
void setPosition (const IntCoord &_coord)
void setPosition (int _left, int _top, int _width, int _height)
void enableToolTip (bool _enable)
void setInheritsPeek (bool _inherits)
bool isInheritsPeek ()
void setMaskPeek (const std::string &_filename)
IntCoord getTextCoord ()
IntSize getTextSize ()
void setFontName (const std::string &_font)
const std::string & getFontName ()
void setFontHeight (int _height)
int getFontHeight ()
void setTextAlign (Align _align)
Align getTextAlign ()
void setTextColour (const Colour &_colour)
const ColourgetTextColour ()
- Public Member Functions inherited from MyGUI::IObject
virtual ~IObject ()
- Public Member Functions inherited from MyGUI::ICroppedRectangle
 ICroppedRectangle ()
virtual ~ICroppedRectangle ()
ICroppedRectanglegetCroppedParent ()
const IntCoordgetCoord () const
IntPoint getPosition () const
IntSize getSize () const
bool isVisible () const
const IntPointgetAbsolutePosition () const
IntRect getAbsoluteRect () const
IntCoord getAbsoluteCoord () const
int getAbsoluteLeft () const
int getAbsoluteTop () const
Align getAlign () const
int getLeft () const
int getRight () const
int getTop () const
int getBottom () const
int getWidth () const
int getHeight () const
bool _isMargin () const
int _getViewLeft () const
int _getViewRight () const
int _getViewTop () const
int _getViewBottom () const
int _getViewWidth () const
int _getViewHeight () const
virtual void _correctView ()
void _setCroppedParent (ICroppedRectangle *_parent)
const IntRect_getMargin () const
int _getMarginLeft () const
int _getMarginRight () const
int _getMarginTop () const
int _getMarginBottom () const
void show ()
void hide ()
bool isShow ()
- Public Member Functions inherited from MyGUI::LayerItem
 LayerItem ()
virtual ~LayerItem ()
ILayergetLayer ()
virtual void attachItemToNode (ILayer *_layer, ILayerNode *_node)
virtual void detachFromLayer ()
virtual void upLayerItem ()
void setRenderItemTexture (ITexture *_texture)
void addChildItem (LayerItem *_item)
void removeChildItem (LayerItem *_item)
void addChildNode (LayerItem *_item)
void removeChildNode (LayerItem *_item)
void addRenderItem (ISubWidget *_item)
void removeAllRenderItems ()
void saveLayerItem ()
void restoreLayerItem ()
- Public Member Functions inherited from MyGUI::ILayerItem
virtual ~ILayerItem ()
- Public Member Functions inherited from MyGUI::UserData
 UserData ()
virtual ~UserData ()
void setUserString (const std::string &_key, const std::string &_value)
const std::string & getUserString (const std::string &_key)
bool clearUserString (const std::string &_key)
bool isUserString (const std::string &_key)
void clearUserStrings ()
void setUserData (Any _data)
template<typename ValueType >
ValueType * getUserData (bool _throw=true)
void _setInternalData (Any _data)
template<typename ValueType >
ValueType * _getInternalData (bool _throw=true)
void * getUserData ()
- Public Member Functions inherited from MyGUI::WidgetEvent
virtual ~WidgetEvent ()
- Public Member Functions inherited from MyGUI::IWidgetCreator
virtual ~IWidgetCreator ()
virtual void _linkChildWidget (Widget *_widget)
virtual void _unlinkChildWidget (Widget *_widget)

Static Public Member Functions

static const std::string & getClassTypeName ()

Protected Member Functions

virtual ~StaticImage ()
void baseChangeWidgetSkin (ResourceSkin *_info)
- Protected Member Functions inherited from MyGUI::Widget
 Widget (WidgetStyle _style, const IntCoord &_coord, Align _align, ResourceSkin *_info, Widget *_parent, ICroppedRectangle *_croppedParent, IWidgetCreator *_creator, const std::string &_name)
virtual ~Widget ()
void _updateView ()
void _setAlign (const IntSize &_oldsize, bool _update)
void _setAlign (const IntCoord &_oldcoord, bool _update)
virtual WidgetbaseCreateWidget (WidgetStyle _style, const std::string &_type, const std::string &_skin, const IntCoord &_coord, Align _align, const std::string &_layer, const std::string &_name)
virtual void _destroyChildWidget (Widget *_widget)
virtual void _destroyAllChildWidget ()
virtual size_t _getContainerIndex (const IntPoint &_point)
virtual void _resetContainer (bool _update)
virtual void baseUpdateEnable ()
virtual ILayerItemgetLayerItemByPoint (int _left, int _top)
virtual const IntCoordgetLayerItemCoord ()
- Protected Member Functions inherited from MyGUI::ICroppedRectangle
bool _checkPoint (int _left, int _top)
bool _checkMargin ()
bool _checkOutside ()
- Protected Member Functions inherited from MyGUI::LayerItem
void attachToLayerItemNode (ILayerNode *_node, bool _deep)
void detachFromLayerItemNode (bool _deep)
- Protected Member Functions inherited from MyGUI::WidgetEvent
 WidgetEvent ()
virtual void onMouseLostFocus (Widget *_new)
virtual void onMouseSetFocus (Widget *_old)
virtual void onMouseDrag (int _left, int _top)
virtual void onMouseMove (int _left, int _top)
virtual void onMouseWheel (int _rel)
virtual void onMouseButtonPressed (int _left, int _top, MouseButton _id)
virtual void onMouseButtonReleased (int _left, int _top, MouseButton _id)
virtual void onMouseButtonClick ()
virtual void onMouseButtonDoubleClick ()
virtual void onKeyLostFocus (Widget *_new)
virtual void onKeySetFocus (Widget *_old)
virtual void onKeyButtonPressed (KeyCode _key, Char _char)
virtual void onKeyButtonReleased (KeyCode _key)
virtual void onMouseChangeRootFocus (bool _focus)
virtual void onKeyChangeRootFocus (bool _focus)
- Protected Member Functions inherited from MyGUI::IWidgetCreator
void _deleteWidget (Widget *_widget)

Additional Inherited Members

- Data Fields inherited from MyGUI::WidgetEvent
EventHandle_WidgetWidget eventMouseLostFocus
EventHandle_WidgetWidget eventMouseSetFocus
EventHandle_WidgetIntInt eventMouseDrag
EventHandle_WidgetIntInt eventMouseMove
EventHandle_WidgetInt eventMouseWheel
EventHandle_WidgetIntIntButton eventMouseButtonPressed
EventHandle_WidgetIntIntButton eventMouseButtonReleased
EventHandle_WidgetVoid eventMouseButtonClick
EventHandle_WidgetVoid eventMouseButtonDoubleClick
EventHandle_WidgetWidget eventKeyLostFocus
EventHandle_WidgetWidget eventKeySetFocus
EventHandle_WidgetKeyCodeChar eventKeyButtonPressed
EventHandle_WidgetKeyCode eventKeyButtonReleased
EventHandle_WidgetBool eventRootMouseChangeFocus
EventHandle_WidgetBool eventRootKeyChangeFocus
EventHandle_WidgetToolTip eventToolTip
EventHandle_WidgetStringString eventActionInfo
EventHandle_WidgetRefWidgetRefSizeT _requestGetContainer
EventHandle_WidgetStringString eventChangeProperty
- Protected Attributes inherited from MyGUI::Widget
MapWidgetStateInfo mStateInfo
MaskPickInfo const * mMaskPickInfo
MaskPickInfo mOwnMaskPickInfo
VectorWidgetPtr mWidgetChild
VectorWidgetPtr mWidgetChildSkin
VectorSubWidget mSubSkinChild
ISubWidgetTextmText
ISubWidgetRectmMainSkin
bool mEnabled
bool mInheritsEnabled
bool mSubSkinsVisible
bool mInheritsVisible
float mAlpha
float mRealAlpha
bool mInheritsAlpha
std::string mName
std::string mPointer
std::string mTextureName
ITexturemTexture
WidgetmParent
IWidgetCreatormIWidgetCreator
bool mNeedKeyFocus
bool mNeedMouseFocus
bool mInheritsPick
WidgetmWidgetClient
bool mNeedToolTip
bool mEnableToolTip
bool mToolTipVisible
float mToolTipCurrentTime
IntPoint mToolTipOldPoint
size_t mToolTipOldIndex
IntPoint m_oldMousePoint
WidgetStyle mWidgetStyle
FloatCoord mRelativeCoord
bool mDisableUpdateRelative

Detailed Description

Definition at line 35 of file MyGUI_StaticImage.h.

Member Typedef Documentation

Definition at line 38 of file MyGUI_StaticImage.h.

Definition at line 38 of file MyGUI_StaticImage.h.

Constructor & Destructor Documentation

MyGUI::StaticImage::StaticImage ( )

Definition at line 37 of file MyGUI_StaticImage.cpp.

MyGUI::StaticImage::~StaticImage ( )
protectedvirtual

Definition at line 53 of file MyGUI_StaticImage.cpp.

Member Function Documentation

void MyGUI::StaticImage::_initialise ( WidgetStyle  _style,
const IntCoord _coord,
Align  _align,
ResourceSkin _info,
Widget _parent,
ICroppedRectangle _croppedParent,
IWidgetCreator _creator,
const std::string &  _name 
)
virtual

Reimplemented from MyGUI::Widget.

Definition at line 46 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::addItem ( const IntCoord _item)
inline

Add an item to the end of a list.

Definition at line 101 of file MyGUI_StaticImage.h.

void MyGUI::StaticImage::addItemFrame ( size_t  _index,
const IntCoord _item 
)

Add frame

Parameters
_indexImage item index
_itemFrame coordinates at image texture

Definition at line 299 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::addItemFrameDublicate ( size_t  _index,
size_t  _indexSourceFrame 
)

Add copy of frame (similar to StaticImage::addItemFrame but we copy frame coordinates)

Parameters
_indexImage item index
_indexSourceFrameFrame index of frame that we copying

Definition at line 320 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::baseChangeWidgetSkin ( ResourceSkin _info)
protectedvirtual

Reimplemented from MyGUI::Widget.

Definition at line 58 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::deleteAllItemFrames ( size_t  _index)

Delete all frames

Parameters
_indexImage item index

Definition at line 292 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::deleteAllItems ( )

Delete all items.

Definition at line 243 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::deleteItem ( size_t  _index)

Delete item at a specified position.

Definition at line 230 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::deleteItemFrame ( size_t  _index,
size_t  _indexFrame 
)

Delete frame

Parameters
_indexImage item index
_indexFrameFrame index that we delete

Definition at line 364 of file MyGUI_StaticImage.cpp.

static const std::string& MyGUI::StaticImage::getClassTypeName ( )
inlinestatic

Reimplemented from MyGUI::Widget.

Definition at line 38 of file MyGUI_StaticImage.h.

size_t MyGUI::StaticImage::getImageIndex ( )

Get current tile index

Definition at line 511 of file MyGUI_StaticImage.cpp.

size_t MyGUI::StaticImage::getItemCount ( ) const
inline

Get number of items.

Definition at line 89 of file MyGUI_StaticImage.h.

float MyGUI::StaticImage::getItemFrameRate ( size_t  _index)

Get item frame rate

Parameters
_indexImage item index

Definition at line 313 of file MyGUI_StaticImage.cpp.

ResourceImageSetPtr MyGUI::StaticImage::getItemResource ( )
inline

Get current items resource used in StaticImage

Definition at line 195 of file MyGUI_StaticImage.h.

size_t MyGUI::StaticImage::getItemSelect ( )
inline

Get index of selected item (ITEM_NONE if none selected)

Definition at line 94 of file MyGUI_StaticImage.h.

virtual const std::string& MyGUI::StaticImage::getTypeName ( ) const
inlinevirtual

Get type name as string

Reimplemented from MyGUI::Widget.

Definition at line 38 of file MyGUI_StaticImage.h.

void MyGUI::StaticImage::insertItem ( size_t  _index,
const IntCoord _item 
)

Insert an item into a list at a specified position.

Definition at line 249 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::insertItemFrame ( size_t  _index,
size_t  _indexFrame,
const IntCoord _item 
)

Insert frame

Parameters
_indexImage item index
_indexFrameFrame index where we insert frame
_itemFrame coordinates at image texture

Definition at line 329 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::insertItemFrameDublicate ( size_t  _index,
size_t  _indexFrame,
size_t  _indexSourceFrame 
)

Insert copy of frame (similar to StaticImage::insertItemFrame but we copy frame coordinates)

Parameters
_indexImage item index
_indexFrameFrame index where we insert frame
_indexSourceFrameFrame index of frame that we copying

Definition at line 341 of file MyGUI_StaticImage.cpp.

template<typename Type >
bool MyGUI::StaticImage::isType ( ) const
inline

Compare with selected type

Reimplemented from MyGUI::Widget.

Definition at line 38 of file MyGUI_StaticImage.h.

virtual bool MyGUI::StaticImage::isType ( const std::type_info &  _type) const
inlinevirtual

Compare with selected type

Reimplemented from MyGUI::Widget.

Definition at line 38 of file MyGUI_StaticImage.h.

void MyGUI::StaticImage::resetItemSelect ( )
inline

Reset item selection.

Definition at line 96 of file MyGUI_StaticImage.h.

void MyGUI::StaticImage::setImageCoord ( const IntCoord _value)

Set _coord - part of texture where we take tiles

Definition at line 116 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setImageIndex ( size_t  _index)

Set current tile index

Parameters
_index- tile index
Remarks
Tiles in file start numbering from left to right and from top to bottom.
:
    +—+—+—+
    | 0 | 1 | 2 |
    +—+—+—+
    | 3 | 4 | 5 |
    +—+—+—+

Definition at line 506 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setImageInfo ( const std::string &  _texture,
const IntCoord _coord,
const IntSize _tile 
)

Definition at line 88 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setImageRect ( const IntRect _value)

Set _rect - part of texture where we take tiles

Definition at line 132 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setImageTexture ( const std::string &  _value)

Definition at line 145 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setImageTile ( const IntSize _value)

Set _tile size

Definition at line 103 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setItem ( size_t  _index,
const IntCoord _item 
)

Replace an item at a specified position.

Definition at line 261 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setItemFrame ( size_t  _index,
size_t  _indexFrame,
const IntCoord _item 
)

Change frame

Parameters
_indexImage item index
_indexFrameFrame index to change
_itemFrame coordinates at image texture

Definition at line 354 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setItemFrameRate ( size_t  _index,
float  _rate 
)

Set item frame rate

Parameters
_indexImage item index
_rateDuration of one frame in seconds

Definition at line 306 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setItemGroup ( const std::string &  _value)

Select current item group

Definition at line 457 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setItemName ( const std::string &  _value)

Select current item mane

Definition at line 467 of file MyGUI_StaticImage.cpp.

bool MyGUI::StaticImage::setItemResource ( const Guid _id)

Select current items resource used in StaticImage

Parameters
_idResource guid
Returns
false if resource with such guid not exist

Definition at line 400 of file MyGUI_StaticImage.cpp.

bool MyGUI::StaticImage::setItemResource ( const std::string &  _name)

Select current items resource used in StaticImage

Parameters
_idResource name
Returns
false if resource with such name not exist

Definition at line 407 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setItemResourceInfo ( const ImageIndexInfo _info)

Set current item

Definition at line 375 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setItemResourceInfo ( ResourceImageSetPtr  _resource,
const std::string &  _group,
const std::string &  _name 
)

Select current item resource, group and name

Definition at line 477 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setItemResourcePtr ( ResourceImageSetPtr  _resource)

Select current items resource used in StaticImage

Parameters
_resourceResource pointer

Definition at line 414 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setItemSelect ( size_t  _index)

Select specified _index.

Definition at line 516 of file MyGUI_StaticImage.cpp.

void MyGUI::StaticImage::setProperty ( const std::string &  _key,
const std::string &  _value 
)
virtual

Set any widget property

Parameters
_keyProperty name (for example Widget_Alpha or Edit_MultiLine)
_valueValue converted to string

Reimplemented from MyGUI::Widget.

Definition at line 521 of file MyGUI_StaticImage.cpp.


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