22 #ifndef __MYGUI_WINDOW_H__
23 #define __MYGUI_WINDOW_H__
49 virtual
void setVisible(
bool _value);
52 void setVisibleSmooth(
bool _value);
57 void setAutoAlpha(
bool _value);
59 bool getAutoAlpha() const;
62 virtual
void setCaption(const
UString& _value);
64 virtual const
UString& getCaption();
70 void setMinSize(const
IntSize& _value);
72 void setMinSize(
int _width,
int _height);
77 void setMaxSize(const
IntSize& _value);
79 void setMaxSize(
int _width,
int _height);
84 virtual
void setPosition(const
IntPoint& _value);
86 virtual
void setSize(const
IntSize& _value);
88 virtual
void setCoord(const
IntCoord& _value);
91 void setPosition(
int _left,
int _top);
93 void setSize(
int _width,
int _height);
95 void setCoord(
int _left,
int _top,
int _width,
int _height);
98 void setSnap(
bool _value);
100 bool getSnap() const;
103 const
IntCoord& getActionScale() const;
106 void setMovable(
bool _value);
108 bool getMovable() const;
117 eventWindowButtonPressed;
124 eventWindowChangeCoord;
127 virtual
void initialiseOverride();
128 virtual
void shutdownOverride();
130 void onMouseChangeRootFocus(
bool _focus);
131 void onKeyChangeRootFocus(
bool _focus);
132 void onMouseDrag(
int _left,
int _top,
MouseButton _id);
133 void onMouseButtonPressed(
int _left,
int _top,
MouseButton _id);
134 void onMouseButtonReleased(
int _left,
int _top,
MouseButton _id);
136 void notifyMousePressed(MyGUI::
Widget* _sender,
int _left,
int _top,
MouseButton _id);
137 void notifyMouseReleased(MyGUI::
Widget* _sender,
int _left,
int _top,
MouseButton _id);
138 void notifyPressedButtonEvent(MyGUI::
Widget* _sender);
139 void notifyMouseDrag(MyGUI::
Widget* _sender,
int _left,
int _top,
MouseButton _id);
144 void animateStop(
Widget* _widget);
146 virtual
void setPropertyOverride(const std::
string& _key, const std::
string& _value);
149 float getAlphaVisible() const;
150 void getSnappedCoord(
IntCoord& _coord);
162 bool mMouseRootFocus;
182 #endif // __MYGUI_WINDOW_H__