bettola/client/src/ui/cursor_manager.h
Ritchie Cunningham ea25cb6cc7 [Add] Taskbar and window management work
- Adds a taskbar that displays and manages open application windows
- close, minimise and restore functionality
- resizeable windows
- Refactored desktop event handling to manage window focus and render
  order
2025-09-28 14:12:11 +01:00

20 lines
334 B
C++

#pragma once
#include <SDL3/SDL_mouse.h>
enum class CursorType {
ARROW,
RESIZE_NWSE /* Diagonal resize arrow. */
};
class CursorManager {
public:
static void init(void);
static void set_cursor(CursorType type);
static void quit(void);
private:
static SDL_Cursor* _arrow_cursor;
static SDL_Cursor* _resize_cursor;
};