|
MyGUI
3.2.0
|
#include <MyGUI_Window.h>
Inheritance diagram for MyGUI::Window:Public Types | |
| typedef RTTIBase | Base |
| typedef Window | 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 |
| Window () | |
| virtual void | setVisible (bool _value) |
| void | setVisibleSmooth (bool _value) |
| void | destroySmooth () |
| void | setAutoAlpha (bool _value) |
| bool | getAutoAlpha () const |
| virtual void | setCaption (const UString &_value) |
| virtual const UString & | getCaption () |
| TextBox * | getCaptionWidget () |
| void | setMinSize (const IntSize &_value) |
| void | setMinSize (int _width, int _height) |
| IntSize | getMinSize () |
| void | setMaxSize (const IntSize &_value) |
| void | setMaxSize (int _width, int _height) |
| IntSize | getMaxSize () |
| 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 | setSnap (bool _value) |
| bool | getSnap () const |
| const IntCoord & | getActionScale () const |
| void | setMovable (bool _value) |
| bool | getMovable () const |
Static Public Member Functions | |
| static const std::string & | getClassTypeName () |
Data Fields | |
| EventPair < EventHandle_WidgetString, EventHandle_WindowPtrCStringRef > | eventWindowButtonPressed |
| EventPair < EventHandle_WidgetVoid, EventHandle_WindowPtr > | eventWindowChangeCoord |
Protected Member Functions | |
| virtual void | initialiseOverride () |
| virtual void | shutdownOverride () |
| void | onMouseChangeRootFocus (bool _focus) |
| void | onKeyChangeRootFocus (bool _focus) |
| void | onMouseDrag (int _left, int _top, MouseButton _id) |
| void | onMouseButtonPressed (int _left, int _top, MouseButton _id) |
| void | onMouseButtonReleased (int _left, int _top, MouseButton _id) |
| void | notifyMousePressed (MyGUI::Widget *_sender, int _left, int _top, MouseButton _id) |
| void | notifyMouseReleased (MyGUI::Widget *_sender, int _left, int _top, MouseButton _id) |
| void | notifyPressedButtonEvent (MyGUI::Widget *_sender) |
| void | notifyMouseDrag (MyGUI::Widget *_sender, int _left, int _top, MouseButton _id) |
| void | updateAlpha () |
| void | animateStop (Widget *_widget) |
| virtual void | setPropertyOverride (const std::string &_key, const std::string &_value) |
Definition at line 39 of file MyGUI_Window.h.
| typedef RTTIBase MyGUI::Window::Base |
Reimplemented from MyGUI::TextBox.
Definition at line 43 of file MyGUI_Window.h.
| typedef Window MyGUI::Window::RTTIBase |
Reimplemented from MyGUI::TextBox.
Definition at line 43 of file MyGUI_Window.h.
Definition at line 40 of file MyGUI_Window.cpp.
| void MyGUI::Window::animateStop | ( | Widget * | _widget | ) | [protected] |
Definition at line 369 of file MyGUI_Window.cpp.
| void MyGUI::Window::destroySmooth | ( | ) |
Hide window smooth and then destroy it
Definition at line 362 of file MyGUI_Window.cpp.
| const IntCoord & MyGUI::Window::getActionScale | ( | ) | const |
Get current action applied to move/resize window.
Definition at line 489 of file MyGUI_Window.cpp.
| bool MyGUI::Window::getAutoAlpha | ( | ) | const |
Get auto alpha mode flag
Definition at line 494 of file MyGUI_Window.cpp.
| const UString & MyGUI::Window::getCaption | ( | ) | [virtual] |
Get window caption
Reimplemented from MyGUI::TextBox.
Definition at line 355 of file MyGUI_Window.cpp.
Get window caption widget
Definition at line 499 of file MyGUI_Window.cpp.
| static const std::string& MyGUI::Window::getClassTypeName | ( | ) | [inline, static] |
Reimplemented from MyGUI::TextBox.
Definition at line 43 of file MyGUI_Window.h.
Get maximal possible window size
Definition at line 464 of file MyGUI_Window.cpp.
Get minimal possible window size
Definition at line 453 of file MyGUI_Window.cpp.
| bool MyGUI::Window::getMovable | ( | ) | const |
Get possibility to move window.
Definition at line 603 of file MyGUI_Window.cpp.
| bool MyGUI::Window::getSnap | ( | ) | const |
Get snap to borders mode flag
Definition at line 529 of file MyGUI_Window.cpp.
| virtual const std::string& MyGUI::Window::getTypeName | ( | ) | const [inline, virtual] |
Get type name as string
Reimplemented from MyGUI::TextBox.
Definition at line 43 of file MyGUI_Window.h.
| void MyGUI::Window::initialiseOverride | ( | ) | [protected, virtual] |
Reimplemented from MyGUI::Widget.
Definition at line 52 of file MyGUI_Window.cpp.
| bool MyGUI::Window::isType | ( | ) | const [inline] |
Compare with selected type
Reimplemented from MyGUI::TextBox.
Definition at line 43 of file MyGUI_Window.h.
| virtual bool MyGUI::Window::isType | ( | const std::type_info & | _type | ) | const [inline, virtual] |
Compare with selected type
Reimplemented from MyGUI::TextBox.
Definition at line 43 of file MyGUI_Window.h.
| void MyGUI::Window::notifyMouseDrag | ( | MyGUI::Widget * | _sender, |
| int | _left, | ||
| int | _top, | ||
| MouseButton | _id | ||
| ) | [protected] |
Definition at line 190 of file MyGUI_Window.cpp.
| void MyGUI::Window::notifyMousePressed | ( | MyGUI::Widget * | _sender, |
| int | _left, | ||
| int | _top, | ||
| MouseButton | _id | ||
| ) | [protected] |
Definition at line 176 of file MyGUI_Window.cpp.
| void MyGUI::Window::notifyMouseReleased | ( | MyGUI::Widget * | _sender, |
| int | _left, | ||
| int | _top, | ||
| MouseButton | _id | ||
| ) | [protected] |
Definition at line 539 of file MyGUI_Window.cpp.
| void MyGUI::Window::notifyPressedButtonEvent | ( | MyGUI::Widget * | _sender | ) | [protected] |
Definition at line 185 of file MyGUI_Window.cpp.
| void MyGUI::Window::onKeyChangeRootFocus | ( | bool | _focus | ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetInput.
Definition at line 146 of file MyGUI_Window.cpp.
| void MyGUI::Window::onMouseButtonPressed | ( | int | _left, |
| int | _top, | ||
| MouseButton | _id | ||
| ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetInput.
Definition at line 162 of file MyGUI_Window.cpp.
| void MyGUI::Window::onMouseButtonReleased | ( | int | _left, |
| int | _top, | ||
| MouseButton | _id | ||
| ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetInput.
Definition at line 169 of file MyGUI_Window.cpp.
| void MyGUI::Window::onMouseChangeRootFocus | ( | bool | _focus | ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetInput.
Definition at line 138 of file MyGUI_Window.cpp.
| void MyGUI::Window::onMouseDrag | ( | int | _left, |
| int | _top, | ||
| MouseButton | _id | ||
| ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetInput.
Definition at line 154 of file MyGUI_Window.cpp.
| void MyGUI::Window::setAutoAlpha | ( | bool | _value | ) |
Enable or disable auto alpha mode
Definition at line 234 of file MyGUI_Window.cpp.
| void MyGUI::Window::setCaption | ( | const UString & | _value | ) | [virtual] |
Set window caption
Reimplemented from MyGUI::TextBox.
Definition at line 347 of file MyGUI_Window.cpp.
| void MyGUI::Window::setCoord | ( | const IntCoord & | _value | ) | [virtual] |
Set widget position and size
Reimplemented from MyGUI::Widget.
Definition at line 290 of file MyGUI_Window.cpp.
| void MyGUI::Window::setCoord | ( | int | _left, |
| int | _top, | ||
| int | _width, | ||
| int | _height | ||
| ) |
See Widget::setCoord(const IntCoord& _coord)
Reimplemented from MyGUI::Widget.
Definition at line 524 of file MyGUI_Window.cpp.
| void MyGUI::Window::setMaxSize | ( | const IntSize & | _value | ) |
Set maximal possible window size
Definition at line 458 of file MyGUI_Window.cpp.
| void MyGUI::Window::setMaxSize | ( | int | _width, |
| int | _height | ||
| ) |
Set maximal possible window size
Definition at line 509 of file MyGUI_Window.cpp.
| void MyGUI::Window::setMinSize | ( | const IntSize & | _value | ) |
Set minimal possible window size
Definition at line 447 of file MyGUI_Window.cpp.
| void MyGUI::Window::setMinSize | ( | int | _width, |
| int | _height | ||
| ) |
Set minimal possible window size
Definition at line 504 of file MyGUI_Window.cpp.
| void MyGUI::Window::setMovable | ( | bool | _value | ) |
Enable or disable possibility to move window.
Definition at line 598 of file MyGUI_Window.cpp.
| void MyGUI::Window::setPosition | ( | const IntPoint & | _value | ) | [virtual] |
Set widget position (position of left top corner)
Reimplemented from MyGUI::Widget.
Definition at line 250 of file MyGUI_Window.cpp.
| void MyGUI::Window::setPosition | ( | int | _left, |
| int | _top | ||
| ) |
See Widget::setPosition(const IntPoint& _pos)
Reimplemented from MyGUI::Widget.
Definition at line 514 of file MyGUI_Window.cpp.
| void MyGUI::Window::setPropertyOverride | ( | const std::string & | _key, |
| const std::string & | _value | ||
| ) | [protected, virtual] |
Reimplemented from MyGUI::TextBox.
Definition at line 469 of file MyGUI_Window.cpp.
| void MyGUI::Window::setSize | ( | const IntSize & | _value | ) | [virtual] |
| void MyGUI::Window::setSize | ( | int | _width, |
| int | _height | ||
| ) |
See Widget::setSize(const IntSize& _size)
Reimplemented from MyGUI::Widget.
Definition at line 519 of file MyGUI_Window.cpp.
| void MyGUI::Window::setSnap | ( | bool | _value | ) |
Enable or disable snap to borders mode
Definition at line 534 of file MyGUI_Window.cpp.
| void MyGUI::Window::setVisible | ( | bool | _value | ) | [virtual] |
Hide or show widget
Reimplemented from MyGUI::Widget.
Definition at line 378 of file MyGUI_Window.cpp.
| void MyGUI::Window::setVisibleSmooth | ( | bool | _value | ) |
Hide or show window smooth
Definition at line 409 of file MyGUI_Window.cpp.
| void MyGUI::Window::shutdownOverride | ( | ) | [protected, virtual] |
Reimplemented from MyGUI::Widget.
Definition at line 130 of file MyGUI_Window.cpp.
| void MyGUI::Window::updateAlpha | ( | ) | [protected] |
Definition at line 217 of file MyGUI_Window.cpp.
| EventPair<EventHandle_WidgetString, EventHandle_WindowPtrCStringRef> MyGUI::Window::eventWindowButtonPressed |
Event : Window button pressed.
signature : void method(MyGUI::Window* _sender, const std::string& _name)
| _sender | widget that called this event |
| _name | of pressed button |
Definition at line 117 of file MyGUI_Window.h.
Event : Window coordinate changed (window was resized or moved).
signature : void method(MyGUI::Window* _sender)
| _sender | widget that called this event |
Definition at line 124 of file MyGUI_Window.h.
1.7.6.1