#include <OpenGLApp.h>
Inherits Application.
Inherited by MainApp.
Inheritance diagram for OpenGLApp:
Public Member Functions | |
bool | createWindow (HINSTANCE hInstance) |
bool | changeScreenResolution (unsigned int width, unsigned int height, unsigned int bitsPerPixel) |
void | flush () |
void | destroyWindow () |
void | setViewport (unsigned int width, unsigned int height) |
Public Attributes | |
HDC | hDC |
Protected Attributes | |
HGLRC | hRC |
Author: Petter Alstermark, petter@alstermark.com
Definition at line 13 of file OpenGLApp.h.
|
Definition at line 118 of file OpenGLApp.cpp. Referenced by createWindow(). |
|
Author: Petter Alstermark, petter@alstermark.com Reimplemented from Application. Definition at line 12 of file OpenGLApp.cpp. References changeScreenResolution(), g_bitsPerPixel, g_fullscreen, g_fullscreenHeight, g_fullscreenWidth, g_visible, g_windowBottom, g_windowLeft, g_windowRight, g_windowTop, hDC, hRC, Application::hWnd, initExtensions(), Application::renderer, and setViewport(). Here is the call graph for this function: |
|
Implements Application. Definition at line 134 of file OpenGLApp.cpp. References g_fullscreen, hDC, hRC, Application::hWnd, Application::renderer, Application::resetDisplayMode(), and Application::showCursor(). Here is the call graph for this function: |
|
Implements Application. Definition at line 17 of file OpenGLApp.h. References hDC. Referenced by MainApp::drawFrame(), and MainApp::drawLoading(). |
|
Implements Application. Definition at line 162 of file OpenGLApp.cpp. Referenced by createWindow(). |
|
Definition at line 22 of file OpenGLApp.h. Referenced by createWindow(), destroyWindow(), flush(), and MainApp::load(). |
|
Definition at line 25 of file OpenGLApp.h. Referenced by createWindow(), and destroyWindow(). |