#include <uxframe.hpp>
Inheritance diagram for ufo::UXFrame:
Public Member Functions | |
void | swapBuffers () |
void | makeContextCurrent () |
UVideoDevice * | getVideoDevice () const |
UXContext * | getContext () const |
URootPane * | getRootPane () const |
UWidget * | getContentPane () const |
virtual void | repaint (bool force=false) |
void | setVisible (bool vis) |
bool | isVisible () |
void | setDepth (int depth) |
int | getDepth () const |
void | setTitle (std::string title) |
std::string | getTitle () |
void | setFullScreened (bool b) |
bool | isFullScreened () const |
void | setFrameStyle (uint32_t frameStyle) |
FrameStyle | getFrameStyle () const |
void | setResizable (bool b) |
bool | isResizable () const |
void | setInitialFrameState (uint32_t initialState) |
FrameState | getFrameState () const |
void | pack () |
void | setSize (int w, int h) |
void | setSize (const UDimension &d) |
UDimension | getSize () const |
void | setLocation (int x, int y) |
void | setLocation (const UPoint &d) |
UPoint | getLocation () const |
void | setBounds (int x, int y, int w, int h) |
void | setBounds (const URectangle &rect) |
URectangle | getBounds () const |
void | makeScreenShot (std::string fileNameA) |
USignal1< UXFrame * > & | sigMoved () |
USignal1< UXFrame * > & | sigResized () |
Protected Member Functions | |
UXFrame (UVideoDevice *device) | |
void | openContext () |
void | closeContext () |
Use a UXDisplay object to create frames. Note: You can use LibUFO without using frames. See test/sdl.cpp and test/glut.cpp
|
returns the bounds of the frame |
|
Returns the current frame state, or - if not visible - the initial frame state. |
|
Returns the current location of the frame. Currently not supported. |
|
returns the size of the frame |
|
Returns current frame title. |
|
Makes the underlying GL context the current context. |
|
Dumps the frame content to the given file. The file must have an extension supported by UImageIO.
|
|
sets the frame size to the preferred size. computes the preferred size of the root pane and resizes the frame to the correct size. |
|
Repaints the whole frame as long as a repaint was requested by one of the widgets.
|
|
Sets frame decoration.
|
|
Sets the initial state of the frame. This method has no effect on visible frames.
|
|
Sets the frame title. |
|
Swaps the GL buffers of this frame. |