![]() |
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 | DisplayExit () |
| void | OpenGLPrint (const char *s, float x, float y, float r, float g, float b, float a, bool fromBotton) |
| 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.
| void DisplayExit | ( | ) |
Definition at line 373 of file GPUDisplayFrontendWindows.cxx.
| int32_t GetKey | ( | int32_t | key | ) |
Definition at line 220 of file GPUDisplayFrontendWindows.cxx.
| void KillGLWindow | ( | ) |
Definition at line 42 of file GPUDisplayFrontendWindows.cxx.
| void OpenGLPrint | ( | const char * | s, |
| float | x, | ||
| float | y, | ||
| float | r, | ||
| float | g, | ||
| float | b, | ||
| float | a, | ||
| bool | fromBotton | ||
| ) |
Definition at line 374 of file GPUDisplayFrontendWindows.cxx.
| void SetVSync | ( | bool | enable | ) |
Definition at line 377 of file GPUDisplayFrontendWindows.cxx.
| void SwitchFullscreen | ( | bool | set | ) |
Definition at line 375 of file GPUDisplayFrontendWindows.cxx.
| void ToggleMaximized | ( | bool | set | ) |
Definition at line 376 of file GPUDisplayFrontendWindows.cxx.
| LRESULT CALLBACK WndProc | ( | HWND | hWnd, |
| UINT | uMsg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam | ||
| ) |
Definition at line 235 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.
| volatile int32_t mouseReset = false |
Definition at line 40 of file GPUDisplayFrontendWindows.cxx.