| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <IGUIButton.h>
Inheritance diagram for irr::gui::IGUIButton:

Public Member Functions | |
| IGUIButton (IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle) | |
| constructor | |
| virtual bool | isAlphaChannelUsed () const =0 |
| Returns if the alpha channel should be used for drawing background images on the button. | |
| virtual bool | isDrawingBorder () const =0 |
| Returns if the border and button face are being drawn using the skin. | |
| virtual bool | isPressed () const =0 |
| Returns if the button is currently pressed. | |
| virtual bool | isPushButton () const =0 |
| Returns whether the button is a push button. | |
| virtual void | setDrawBorder (bool border)=0 |
| Sets if the button should use the skin to draw its border and button face (default is true). | |
| virtual void | setImage (video::ITexture *image, const core::rect< s32 > &pos)=0 |
| Sets a background image for the button when it is in normal state. | |
| virtual void | setImage (video::ITexture *image)=0 |
| Sets an image which should be displayed on the button when it is in normal state. | |
| virtual void | setIsPushButton (bool isPushButton)=0 |
| Sets if the button should behave like a push button. | |
| virtual void | setOverrideFont (IGUIFont *font=0)=0 |
| Sets another skin independent font. | |
| virtual void | setPressed (bool pressed)=0 |
| Sets the pressed state of the button if this is a pushbutton. | |
| virtual void | setPressedImage (video::ITexture *image, const core::rect< s32 > &pos)=0 |
| Sets an image which should be displayed on the button when it is in pressed state. | |
| virtual void | setPressedImage (video::ITexture *image)=0 |
| Sets a background image for the button when it is in pressed state. | |
| virtual void | setSprite (EGUI_BUTTON_STATE state, s32 index, video::SColor color=video::SColor(255, 255, 255, 255), bool loop=false)=0 |
| Sets the animated sprite for a specific button state. | |
| virtual void | setSpriteBank (IGUISpriteBank *bank)=0 |
| Sets the sprite bank used by the button. | |
| virtual void | setUseAlphaChannel (bool useAlphaChannel)=0 |
| Sets if the alpha channel should be used for drawing background images on the button (default is false). | |
| virtual | ~IGUIButton () |
| destructor | |
Definition at line 55 of file IGUIButton.h.
|
||||||||||||||||||||
|
constructor
Definition at line 60 of file IGUIButton.h. |
|
|
destructor
Definition at line 64 of file IGUIButton.h. |
|
|
Returns if the alpha channel should be used for drawing background images on the button.
|
|
|
Returns if the border and button face are being drawn using the skin.
|
|
|
Returns if the button is currently pressed.
|
|
|
Returns whether the button is a push button.
|
|
|
Sets if the button should use the skin to draw its border and button face (default is true).
|
|
||||||||||||
|
Sets a background image for the button when it is in normal state.
|
|
|
Sets an image which should be displayed on the button when it is in normal state.
|
|
|
Sets if the button should behave like a push button. Which means it can be in two states: Normal or Pressed. With a click on the button, the user can change the state of the button. |
|
|
Sets another skin independent font. If this is set to zero, the button uses the font of the skin.
|
|
|
Sets the pressed state of the button if this is a pushbutton.
|
|
||||||||||||
|
Sets an image which should be displayed on the button when it is in pressed state.
|
|
|
Sets a background image for the button when it is in pressed state. If no images is specified for the pressed state via setPressedImage(), this image is also drawn in pressed state.
|
|
||||||||||||||||||||
|
Sets the animated sprite for a specific button state.
|
|
|
Sets the sprite bank used by the button.
|
|
|
Sets if the alpha channel should be used for drawing background images on the button (default is false).
|
| The Irrlicht
Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated
on Sun Jun 1 07:59:14 2008 by Doxygen
(1.4.2) |