#include <glv_binding.h>
Public Member Functions | |
| Window (unsigned width=800, unsigned height=600, const std::string &title="GLV Window", GLV *glv=0, double framerate=40.0, int mode=DefaultBuf) | |
| Constructor. | |
| bool | active () const |
| Returns window active. | |
| unsigned | bottom () const |
| Returns bottom edge position. | |
| Dimensions | dimensions () const |
| Returns dimensions of window. | |
| int | enabled (int dispMode) const |
| Get a display mode status. | |
| double | fps () const |
| Returns requested frames/sec. | |
| bool | fullScreen () const |
| Returns full screen enabled. | |
| bool | gameMode () const |
| Returns game mode enabled. | |
| const GLV * | glv () const |
| Returns pointer to top-level GLV view. | |
| unsigned | height () const |
| Returns window height. | |
| bool | hideCursor () const |
| Returns hide cursor enabled. | |
| unsigned | left () const |
| Returns left position. | |
| unsigned | right () const |
| Returns right edge position. | |
| bool | showing () const |
| Returns whether window is showing. | |
| std::string | title () const |
| Returns window title. | |
| unsigned | top () const |
| Returns top position. | |
| unsigned | width () const |
| Returns window width. | |
| void | dimensions (const Dimensions &d) |
| Sets dimensions of window. | |
| void | fps (double v) |
| Sets frames/second. | |
| void | fullScreen (bool on) |
| Sets fullscreen mode. | |
| void | fullScreenToggle () |
| Toggles fullscreen. | |
| void | gameMode (bool on) |
| Sets game mode. | |
| void | gameModeToggle () |
| Toggles game mode. | |
| void | hide () |
| Hides window. | |
| void | hideCursor (bool hide) |
| Shows/hides cursor. | |
| void | iconify () |
| Iconifies window. | |
| void | maximize (bool on) |
| Maximizes window on screen. | |
| void | position (unsigned left, unsigned top) |
| Sets position from left-top corner of screen. | |
| void | resize (unsigned w, unsigned h) |
| Resize swindow. | |
| void | setGLV (GLV &g) |
| Sets top GLV View. | |
| void | show () |
| Shows window. | |
| void | title (const std::string &v) |
| Sets title. | |
1.5.5