#include <glfwgfxserver.h>
Public Member Functions | |
GlfwGfxServer (const char *id) | |
virtual void | RegisterCallbacks () |
virtual bool | Trigger () |
virtual ushort_t | GetVideoModes (VideoMode *modes, int max_count, VideoMode::Bpp=VideoMode::BPP_UNDEFINED) |
virtual void | SetWindowTitle (const string &window_title) |
virtual void | SetWindowPosition (const DisplayMode::WidowPosition &position) |
virtual void | SetWindowSize (const DisplayMode::WidowSize &size) |
virtual void | SetWindowVerticalSync (bool vsync) |
virtual void | MinimizeWindow () |
virtual void | RestoreWindow () |
virtual bool | IsWindowMinimized () |
virtual bool | IsWindowActive () |
virtual bool | IsWindowAccelerated () |
virtual bool | OpenDisplay () |
virtual void | CloseDisplay () |
virtual void | PresentScene () |
virtual void | SetCursorVisibility (CursorVisibility type) |
Private Member Functions | |
virtual void | CheckExtensions () |
Static Private Member Functions | |
static int GLFWCALL | OnClose () |
static void GLFWCALL | OnSize (int width, int height) |
static void GLFWCALL | OnRefresh () |
GlfwGfxServer::GlfwGfxServer | ( | const char * | id | ) |
Constructor.
void GlfwGfxServer::RegisterCallbacks | ( | ) | [virtual] |
Reimplemented from GfxServer.
bool GlfwGfxServer::Trigger | ( | ) | [virtual] |
Reimplemented from GfxServer.
ushort_t GlfwGfxServer::GetVideoModes | ( | VideoMode * | modes, | |
int | max_count, | |||
VideoMode::Bpp | bpp = VideoMode::BPP_UNDEFINED | |||
) | [virtual] |
Reimplemented from GfxServer.
void GlfwGfxServer::SetWindowTitle | ( | const string & | window_title | ) | [virtual] |
Reimplemented from GfxServer.
void GlfwGfxServer::SetWindowPosition | ( | const DisplayMode::WidowPosition & | position | ) | [virtual] |
Reimplemented from GfxServer.
void GlfwGfxServer::SetWindowSize | ( | const DisplayMode::WidowSize & | size | ) | [virtual] |
Reimplemented from GfxServer.
void GlfwGfxServer::SetWindowVerticalSync | ( | bool | vsync | ) | [virtual] |
Reimplemented from GfxServer.
void GlfwGfxServer::MinimizeWindow | ( | ) | [virtual] |
Reimplemented from GfxServer.
void GlfwGfxServer::RestoreWindow | ( | ) | [virtual] |
Reimplemented from GfxServer.
bool GlfwGfxServer::IsWindowMinimized | ( | ) | [virtual] |
Reimplemented from GfxServer.
bool GlfwGfxServer::IsWindowActive | ( | ) | [virtual] |
Reimplemented from GfxServer.
bool GlfwGfxServer::IsWindowAccelerated | ( | ) | [virtual] |
Reimplemented from GfxServer.
bool GlfwGfxServer::OpenDisplay | ( | ) | [virtual] |
Reimplemented from GfxServer.
void GlfwGfxServer::CloseDisplay | ( | ) | [virtual] |
Reimplemented from GfxServer.
void GlfwGfxServer::PresentScene | ( | ) | [virtual] |
Reimplemented from GfxServer.
void GlfwGfxServer::SetCursorVisibility | ( | CursorVisibility | type | ) | [virtual] |
Reimplemented from GfxServer.
int GLFWCALL GlfwGfxServer::OnClose | ( | ) | [inline, static, private] |
void GLFWCALL GlfwGfxServer::OnSize | ( | int | width, | |
int | height | |||
) | [inline, static, private] |
void GLFWCALL GlfwGfxServer::OnRefresh | ( | ) | [inline, static, private] |
void GlfwGfxServer::CheckExtensions | ( | ) | [private, virtual] |
Reimplemented from GfxServer.