1 #ifndef RAYLIB_CPP_WINDOW_HPP_
2 #define RAYLIB_CPP_WINDOW_HPP_
31 Window(
int width = 800,
int height = 450,
const std::string& title =
"raylib",
bool lateInit =
false) {
33 Init(width, height, title);
41 void Init(
int width,
int height,
const std::string& title) {
42 ::InitWindow(width, height, title.c_str());
49 return ::WindowShouldClose();
60 return ::IsCursorOnScreen();
67 return ::IsWindowReady();
70 return ::IsWindowMinimized();
73 return ::IsWindowFocused();
76 return ::IsWindowResized();
79 return ::IsWindowHidden();
83 return ::IsWindowFullscreen();
98 ::SetWindowIcon(image);
102 ::SetWindowTitle(title.c_str());
106 ::SetWindowPosition(x, y);
110 ::SetWindowMonitor(monitor);
114 ::SetWindowMinSize(width, height);
118 ::SetWindowSize(width, height);
122 return ::GetWindowHandle();
135 return ::GetScreenWidth();
139 return ::GetScreenHeight();
143 return ::GetWindowPosition();
147 return ::GetWindowScaleDPI();
171 return ::GetFrameTime();