- Your Widget Set For OpenGL
#include <uinternalframe.hpp>
Inheritance diagram for ufo::UInternalFrame:

Public Member Functions | |
| UInternalFrame () | |
| UInternalFrame (const std::string &title) | |
| UInternalFrame (uint32_t frameStyle) | |
| UInternalFrame (const std::string &title, uint32_t frameStyle) | |
| virtual URootPane * | getRootPane () const |
| virtual UWidget * | getContentPane () const |
| virtual ULayeredPane * | getLayeredPane () const |
| virtual void | setTitle (const std::string &title) |
| virtual std::string | getTitle () |
| virtual void | pack () |
| FrameStyle | getFrameStyle () const |
| void | setFrameStyle (int frameStyle) |
| FrameState | getFrameState () const |
| void | setFrameState (int frameState) |
| void | maximize () |
| bool | isMaximized () const |
| void | minimize () |
| bool | isMinimized () const |
| void | restore () |
| virtual void | setResizable (bool b) |
| bool | isResizable () const |
| virtual bool | isActive () const |
| virtual UDimension | getContentsSize (const UDimension &maxSize) const |
| virtual void | processMouseEvent (UMouseEvent *e) |
| virtual void | processWidgetEvent (UWidgetEvent *e) |
| virtual void | processStateChangeEvent (uint32_t state) |
Protected Member Functions | |
| UDesktopPane * | getDesktopPane () |
Protected Attributes | |
| UDesktopPane * | m_desktop |
| URootPane * | m_rootPane |
| std::string | m_title |
| uint32_t | m_frameStyle |
| uint32_t | m_frameState |
| URectangle | m_restoreBounds |
|
|
Creates a closable internal frame. |
|
|
Creates a closable internal frame with the given title.
|
|
|
Creates an internal frame with the given frame style.
|
|
||||||||||||
|
Creates an internal frame with the given title and given frame style.
|
|
|
|
|
|
|
|
|
|
|
|
Returns true if this frame is the top most frame. Reimplemented from ufo::UWidget.
|
|
|
Maximizes this internal frame to parents root pane size. |
|
|
sets the frame size to the preferred size. computes the preferred size of the root pane and resizes the frame to the correct size. |
|
|
Processes focus events. Primarily, it is used to notify listeners. Reimplemented from ufo::UWidget.
|
|
|
Processes widget events. Primarily, it is used to notify listeners. Reimplemented from ufo::UWidget.
|
|
|
Restores this internal frame to its size before maximizing or minimizing or does nothing. |
|
|
Tries to change the frame state. You should check with getFrameState whether it was succesful. |
|
|
Sets whether this frame is resizable. Default is false. Not yet implemented |
|
|
the root pane object |