#include <uxcontext.hpp>
Inheritance diagram for ufo::UXContext:
Public Member Functions | |
UXContext (const URectangle &deviceBounds, const URectangle &contextBounds) | |
UXContext (const URectangle &bounds) | |
bool | needsRepaint () |
void | pushAttributes () |
void | popAttributes () |
void | repaint () |
UXFrame * | getFrame () const |
virtual void | lock () |
virtual void | unlock () |
May be used in conjunction with the UX modul or using a custom OpenGL context. See also test/sdl.cpp and test/glut.cpp
|
Creates a pure context and initializes it. A valid GL context must! exist.
|
|
Creates a pure context and initializes it. A valid GL context must! exist. This time, GL context and UFO context have the same size.
|
|
If this context was created by a UXFrame object, return that. Otherwise returns NULL. |
|
locks this context for drawing or Widget operations Implements ufo::UContext.
|
|
Returns true if any widgets in this context need a repaint. |
|
Restores the GL and system state stored at the last call to pushAttributes. |
|
Pushes all GL and system attributes. This method does not support nested calls. |
|
Resets the GL attributes and calls the paint method of the root pane. |
|
unlocks this context
Implements ufo::UContext.
|