![]() |
Project
|
#include <cstdio>#include <cstdlib>#include <cstring>#include "GPUDisplayFrontendWindows.h"#include "backend/GPUDisplayBackend.h"#include "GPUDisplayGUIWrapper.h"#include "GPULogging.h"#include <windows.h>#include <winbase.h>#include <windowsx.h>Go to the source code of this file.
Functions | |
| LRESULT CALLBACK | WndProc (HWND, UINT, WPARAM, LPARAM) |
| void | KillGLWindow () |
| BOOL | CreateGLWindow (char *title, int32_t width, int32_t height, int32_t bits, bool fullscreenflag) |
| int32_t | GetKey (int32_t key) |
| void | SwitchFullscreen (bool set) |
| void | ToggleMaximized (bool set) |
| void | SetVSync (bool enable) |
Variables | |
| HDC | hDC = nullptr |
| HGLRC | hRC = nullptr |
| HWND | hWnd = nullptr |
| HINSTANCE | hInstance |
| bool | active = TRUE |
| bool | fullscreen = TRUE |
| POINT | mouseCursorPos |
| volatile int32_t | mouseReset = false |
Definition in file GPUDisplayFrontendWindows.cxx.
| BOOL CreateGLWindow | ( | char * | title, |
| int32_t | width, | ||
| int32_t | height, | ||
| int32_t | bits, | ||
| bool | fullscreenflag | ||
| ) |
Definition at line 81 of file GPUDisplayFrontendWindows.cxx.
Definition at line 220 of file GPUDisplayFrontendWindows.cxx.
| void KillGLWindow | ( | ) |
Definition at line 42 of file GPUDisplayFrontendWindows.cxx.
Definition at line 390 of file GPUDisplayFrontendWindows.cxx.
Definition at line 388 of file GPUDisplayFrontendWindows.cxx.
Definition at line 389 of file GPUDisplayFrontendWindows.cxx.
| LRESULT CALLBACK WndProc | ( | HWND | hWnd, |
| UINT | uMsg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam | ||
| ) |
Definition at line 241 of file GPUDisplayFrontendWindows.cxx.
| bool active = TRUE |
Definition at line 35 of file GPUDisplayFrontendWindows.cxx.
| bool fullscreen = TRUE |
Definition at line 36 of file GPUDisplayFrontendWindows.cxx.
| HDC hDC = nullptr |
Definition at line 29 of file GPUDisplayFrontendWindows.cxx.
| HINSTANCE hInstance |
Definition at line 32 of file GPUDisplayFrontendWindows.cxx.
| HGLRC hRC = nullptr |
Definition at line 30 of file GPUDisplayFrontendWindows.cxx.
| HWND hWnd = nullptr |
Definition at line 31 of file GPUDisplayFrontendWindows.cxx.
| POINT mouseCursorPos |
Definition at line 38 of file GPUDisplayFrontendWindows.cxx.
Definition at line 40 of file GPUDisplayFrontendWindows.cxx.