OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
windowcaption.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_WIDGETS_WINDOWCAPTION_H
2 #define OPENMW_WIDGETS_WINDOWCAPTION_H
3 
4 #include <MyGUI_EditBox.h>
5 
6 namespace Gui
7 {
8 
11  class WindowCaption : public MyGUI::EditBox
12  {
13  MYGUI_RTTI_DERIVED(WindowCaption)
14  public:
15  WindowCaption();
16 
17  virtual void setCaption(const MyGUI::UString &_value);
18  virtual void initialiseOverride();
19 
20  virtual void setSize(const MyGUI::IntSize& _value);
21  virtual void setCoord(const MyGUI::IntCoord& _value);
22 
23  private:
24  MyGUI::Widget* mLeft;
25  MyGUI::Widget* mRight;
26 
27  void align();
28  };
29 
30 }
31 
32 #endif
virtual void setCaption(const MyGUI::UString &_value)
Definition: windowcaption.cpp:26
MyGUI::Widget * mRight
Definition: windowcaption.hpp:25
void align()
Definition: windowcaption.cpp:44
WindowCaption()
Definition: windowcaption.cpp:8
MyGUI::Widget * mLeft
Definition: windowcaption.hpp:24
Definition: windowcaption.hpp:11
virtual void setCoord(const MyGUI::IntCoord &_value)
Definition: windowcaption.cpp:38
virtual void initialiseOverride()
Definition: windowcaption.cpp:14
virtual void setSize(const MyGUI::IntSize &_value)
Definition: windowcaption.cpp:32