#include <Window.h>
Public Member Functions | |
| virtual | ~Window () |
| void | swap_buffers () |
| void | set_ortho_projection () |
| Set OpenGL to have 1 pixel = 1 spatial unit. | |
| unsigned int | get_width () const |
| unsigned int | get_height () const |
| void | set_size (unsigned int width, unsigned int height, bool fullscreen=false) |
Static Public Member Functions | |
| static Window & | get_instance () |
Private Member Functions | |
| Window () | |
Private Attributes | |
| bool | created |
| unsigned int | width |
| unsigned int | height |
| bool | fullscreen |
| int | bpp |
| int | flags |
Definition at line 24 of file Window.h.
| Graphics::Window::~Window | ( | ) | [virtual] |
Definition at line 89 of file Window.cpp.
| Graphics::Window::Window | ( | ) | [private] |
Definition at line 22 of file Window.cpp.
| unsigned int Graphics::Window::get_height | ( | ) | const |
Definition at line 108 of file Window.cpp.
| Window & Graphics::Window::get_instance | ( | ) | [static] |
Definition at line 29 of file Window.cpp.
| unsigned int Graphics::Window::get_width | ( | ) | const |
Definition at line 113 of file Window.cpp.
| void Graphics::Window::set_ortho_projection | ( | ) |
| void Graphics::Window::set_size | ( | unsigned int | width, | |
| unsigned int | height, | |||
| bool | fullscreen = false | |||
| ) |
Definition at line 35 of file Window.cpp.
| void Graphics::Window::swap_buffers | ( | ) |
Definition at line 94 of file Window.cpp.
int Graphics::Window::bpp [private] |
bool Graphics::Window::created [private] |
int Graphics::Window::flags [private] |
bool Graphics::Window::fullscreen [private] |
unsigned int Graphics::Window::height [private] |
unsigned int Graphics::Window::width [private] |
Generated at Mon Sep 6 00:41:18 2010 by Doxygen version 1.4.7 for Racer version svn335.