Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
cursor.h
1#ifndef OE_CORE_CURSOR_H
2#define OE_CORE_CURSOR_H
3
4#include "../common.h"
5#include <glm/vec2.hpp>
6
7namespace oe::core
8{
9 class Window;
10 class Cursor
11 {
12 public:
13 Cursor(unsigned char* data, const glm::vec2& size, const glm::vec2& hotspot = glm::vec2(0.0));
14 Cursor(const int& standard_cursor);
15
16 ~Cursor();
17 private:
18 void* _handle;
19
20 friend class Window;
21 };
22}
23
24#endif
Definition cursor.h:11
Definition window.h:24
Core functionality (windows, event handler, logger, ...)
Definition cursor.h:8