#include <Linux_Platform.h>
Public Types | |
enum | { WM_PROTOCOLS, WM_DELETE_WINDOW, NumAtoms } |
Public Member Functions | |
void | DestroyWindow () |
bool | determineScreenOffset (int screenId, int *screenOffsetX, int *screenOffsetY) |
void | Exit (int exitcode) |
void | GetWindowSize (int *w, int *h) const |
PlatformCore (Application *app) | |
void | processEvent (XEvent &event) |
int | Run () |
bool | SetFullscreen (const Render::RendererParams &rp, int fullscreen) |
void | SetMouseMode (MouseMode mm) |
RenderDevice * | SetupGraphics (const SetupGraphicsDeviceSet &setupGraphicsDesc, const char *gtype, const Render::RendererParams &rp) |
Render::RenderDevice * | SetupGraphics_GL (const Render::RendererParams &rp) |
bool | SetupWindow (int w, int h) |
void | SetWindowTitle (const char *title) |
void | showCursor (bool show) |
void | ShowWindow (bool show) |
void | showWindowDecorations (bool show) |
~PlatformCore () | |
Public Attributes | |
Atom | Atoms [NumAtoms] |
Display * | Disp |
int | ExitCode |
int | Height |
Cursor | InvisibleCursor |
MouseMode | MMode |
bool | Quit |
XVisualInfo * | Vis |
int | Width |
Window | Win |
Definition at line 32 of file Linux_Platform.h.
anonymous enum |
Definition at line 46 of file Linux_Platform.h.
Reimplemented from OVR::Platform::PlatformCore.
Definition at line 34 of file Linux_Platform.cpp.
OVR::Platform::Linux::PlatformCore::~PlatformCore | ( | ) | [virtual] |
Reimplemented from OVR::Platform::PlatformCore.
Definition at line 39 of file Linux_Platform.cpp.
void OVR::Platform::Linux::PlatformCore::DestroyWindow | ( | ) | [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 168 of file Linux_Platform.cpp.
bool OVR::Platform::Linux::PlatformCore::determineScreenOffset | ( | int | screenId, |
int * | screenOffsetX, | ||
int * | screenOffsetY | ||
) |
Definition at line 371 of file Linux_Platform.cpp.
void OVR::Platform::Linux::PlatformCore::Exit | ( | int | exitcode | ) | [inline, virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 67 of file Linux_Platform.h.
void OVR::Platform::Linux::PlatformCore::GetWindowSize | ( | int * | w, |
int * | h | ||
) | const [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 149 of file Linux_Platform.cpp.
void OVR::Platform::Linux::PlatformCore::processEvent | ( | XEvent & | event | ) |
Definition at line 259 of file Linux_Platform.cpp.
Definition at line 350 of file Linux_Platform.cpp.
bool OVR::Platform::Linux::PlatformCore::SetFullscreen | ( | const Render::RendererParams & | rp, |
int | fullscreen | ||
) | [virtual] |
Reimplemented from OVR::Platform::PlatformCore.
Definition at line 436 of file Linux_Platform.cpp.
void OVR::Platform::Linux::PlatformCore::SetMouseMode | ( | MouseMode | mm | ) | [virtual] |
Reimplemented from OVR::Platform::PlatformCore.
Definition at line 129 of file Linux_Platform.cpp.
RenderDevice * OVR::Platform::Linux::PlatformCore::SetupGraphics | ( | const SetupGraphicsDeviceSet & | setupGraphicsDesc, |
const char * | gtype, | ||
const Render::RendererParams & | rp | ||
) | [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 474 of file Linux_Platform.cpp.
Render::RenderDevice* OVR::Platform::Linux::PlatformCore::SetupGraphics_GL | ( | const Render::RendererParams & | rp | ) |
bool OVR::Platform::Linux::PlatformCore::SetupWindow | ( | int | w, |
int | h | ||
) | [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 48 of file Linux_Platform.cpp.
void OVR::Platform::Linux::PlatformCore::SetWindowTitle | ( | const char * | title | ) | [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 155 of file Linux_Platform.cpp.
void OVR::Platform::Linux::PlatformCore::showCursor | ( | bool | show | ) |
Definition at line 487 of file Linux_Platform.cpp.
void OVR::Platform::Linux::PlatformCore::ShowWindow | ( | bool | show | ) | [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 160 of file Linux_Platform.cpp.
void OVR::Platform::Linux::PlatformCore::showWindowDecorations | ( | bool | show | ) |
Definition at line 397 of file Linux_Platform.cpp.
Definition at line 52 of file Linux_Platform.h.
Definition at line 35 of file Linux_Platform.h.
Definition at line 40 of file Linux_Platform.h.
Definition at line 41 of file Linux_Platform.h.
Definition at line 44 of file Linux_Platform.h.
Definition at line 43 of file Linux_Platform.h.
Definition at line 39 of file Linux_Platform.h.
XVisualInfo* OVR::Platform::Linux::PlatformCore::Vis |
Definition at line 36 of file Linux_Platform.h.
Definition at line 41 of file Linux_Platform.h.
Definition at line 37 of file Linux_Platform.h.