8#ifndef ENGINE_CORE_GGLFWWINDOW_H_
9#define ENGINE_CORE_GGLFWWINDOW_H_
14#include <GLFW/glfw3.h>
40 void initialize(
int width,
int height,
int windowMode,
bool isResizable)
override;
72 void setIcon(std::string pngFullpath)
override;
73 void setIcon(
unsigned char* imageData,
int w,
int h)
override;
75 void setTitle(
const std::string& windowTitle)
override;
Definition gBaseWindow.h:27
Definition gGLFWWindow.h:23
bool getShouldClose() override
void setIcon(unsigned char *imageData, int w, int h) override
bool isGamepadButtonPressed(int joystickId, int buttonId) override
void setIcon(std::string pngFullpath) override
void initialize(int width, int height, int windowMode, bool isResizable) override
void setWindowSizeLimits(int minWidth, int minHeight, int maxWidth, int maxHeight) override
void setCursorPos(int x, int y) override
static constexpr gCursorMode CURSORMODE_RELATIVE
Definition gGLFWWindow.h:28
static constexpr gCursorMode CURSORMODE_HIDDEN
Definition gGLFWWindow.h:26
void setTitle(const std::string &windowTitle) override
void setWindowSize(int width, int height) override
void setWindowResizable(bool isResizable) override
static constexpr gCursorMode CURSORMODE_NORMAL
Definition gGLFWWindow.h:25
static constexpr gCursorMode CURSORMODE_DISABLED
Definition gGLFWWindow.h:27
void setCursor(int cursorNo) override
void setCursorMode(gCursorMode cursorMode) override
void setVsync(bool vsync) override
float getScaleX() const
Definition gGLFWWindow.h:81
const float * getJoystickAxes(int joystickId, int *axisCountPtr) override
bool isJoystickPresent(int joystickId) override
void setClipboardString(std::string text) override
void setScale(float x, float y)
float getScaleY() const
Definition gGLFWWindow.h:84
std::string getClipboardString() override
gCursorMode
Definition gWindowEvents.h:14
@ CURSORMODE_NORMAL
Definition gWindowEvents.h:15
@ CURSORMODE_HIDDEN
Definition gWindowEvents.h:16
@ CURSORMODE_DISABLED
Definition gWindowEvents.h:17
@ CURSORMODE_RELATIVE
Definition gWindowEvents.h:18