#include <uxtoolkit.hpp>
Inheritance diagram for ufo::UXToolkit:
Public Member Functions | |
UXToolkit (UProperties *prop) | |
void | makeContextCurrent (UContext *contextA) |
UContext * | getCurrentContext () const |
UDimension | getScreenSize () const |
UInsets | getScreenInsets () const |
int | getScreenDepth () const |
void | sleep (uint32_t millis) |
uint32_t | getTicks () const |
Works with UXContexts and UXFrames.
|
Returns the last context which was made the current context by makeContextCurrent.
Implements ufo::UToolkit.
|
|
Implements ufo::UToolkit.
|
|
Screen insets are task bar, desktop menu bars and such.
Implements ufo::UToolkit.
|
|
Implements ufo::UToolkit.
|
|
Returns the amount of milli seconds since creating this toolkit. Implements ufo::UToolkit.
|
|
If the given context is a UXContext object, tries to use ux methods to make it the current context. Otherwise just marks it the current UFO context without doing anything to the underlying OpenGL context. Implements ufo::UToolkit.
|
|
Wait a specified number of milliseconds before returning. delay will wait at least the specified time, but possible longer due to OS scheduling. Implemented for posix and Win32. Note: Count on a delay granularity of at least 10 ms. Some platforms have shorter clock ticks but this is the most common.
Implements ufo::UToolkit.
|