This repository has been archived on 2022-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
2022-01-30 21:24:16 +08:00
|
|
|
#pragma once
|
|
|
|
#include "renderer.hpp"
|
|
|
|
|
|
|
|
void OnWindowResize(GLFWwindow* window, int width, int height);
|
2022-02-07 21:38:35 +08:00
|
|
|
|
|
|
|
bool IsKeyPressing(int key);
|
|
|
|
|
2022-02-15 22:50:31 +08:00
|
|
|
void InitEvent(const Size& windowInitSize);
|
2022-02-07 21:38:35 +08:00
|
|
|
bool IsLeftPressing();
|
|
|
|
bool IsRightPressing();
|
2022-02-15 22:50:31 +08:00
|
|
|
bool IsLeftPressed();
|
|
|
|
bool IsRightPressed();
|
2022-02-07 21:38:35 +08:00
|
|
|
Point GetMousePosition();
|
2022-02-17 15:12:24 +08:00
|
|
|
Point GetMousePositionMapped();
|
2022-02-15 22:50:31 +08:00
|
|
|
|
|
|
|
void EventUpdate();
|
|
|
|
|
|
|
|
void MouseBtnCallback(GLFWwindow* window, int button, int action, int mods);
|