mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
add 'cursor' ui property
This commit is contained in:
parent
10f0bd0290
commit
cb9690ebc7
14 changed files with 144 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <stack>
|
||||
#include <vector>
|
||||
|
||||
#include "graphics/core/commons.hpp"
|
||||
#include "typedefs.hpp"
|
||||
|
||||
class ImageData;
|
||||
|
|
@ -20,6 +21,7 @@ class Window {
|
|||
static bool fullscreen;
|
||||
static int framerate;
|
||||
static double prevSwap;
|
||||
static CursorShape cursor;
|
||||
|
||||
static bool tryToMaximize(GLFWwindow* window, GLFWmonitor* monitor);
|
||||
public:
|
||||
|
|
@ -46,6 +48,8 @@ public:
|
|||
static void popScissor();
|
||||
static void resetScissor();
|
||||
|
||||
static void setCursor(CursorShape shape);
|
||||
|
||||
static void clear();
|
||||
static void clearDepth();
|
||||
static void setBgColor(glm::vec3 color);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue