Etterna 0.74.4
Loading...
Searching...
No Matches
GraphicsWindow.h
1#ifndef GRAPHICS_WINDOW_H
2#define GRAPHICS_WINDOW_H
3
4#include "Etterna/Models/Misc/DisplaySpec.h"
5#include <windows.h>
6
9
11namespace GraphicsWindow {
15void
16Initialize(bool bD3D);
17
19void
20Shutdown();
21
26auto
27SetScreenMode(const VideoModeParams& p) -> std::string;
28
32void
34 bool bForceRecreateWindow = false);
35void
37
38void
39GetDisplaySpecs(DisplaySpecs& out);
40
41auto
42PushWindow(int a, int b) -> BOOL;
43
44auto
45GetParams() -> ActualVideoModeParams*;
46
47auto
48GetHDC() -> HDC;
49void
50Update();
51
52auto
53GetHwnd() -> HWND;
54} // namespace GraphicsWindow;
55
56#endif
The actual VideoModeParams determined by the LowLevelWindow implementation. Contains all the attribut...
Definition RageDisplay.h:207
The parameters used for the present Video Mode.
Definition RageDisplay.h:101
Sets up a window for OpenGL/D3D.
Definition GraphicsWindow.h:11
auto SetScreenMode(const VideoModeParams &p) -> std::string
Set the display mode.
Definition GraphicsWindow.cpp:242
void Shutdown()
Shut down completely.
Definition GraphicsWindow.cpp:494
void DestroyGraphicsWindow()
Shut down the window, but don't reset the video mode.
Definition GraphicsWindow.cpp:419
void Initialize(bool bD3D)
Set up, and create a hidden window.
Definition GraphicsWindow.cpp:445
void CreateGraphicsWindow(const VideoModeParams &p, bool bForceRecreateWindow=false)
Create the window.
Definition GraphicsWindow.cpp:292