Files
oboe/osx/tools/cursors.h
Celtic Minstrel 84192cd52f Finally bring cursors into the resource manager framework
- Hotspots are still hardcoded, unfortunately
- Obscuring the cursor when using the keyboard now works properly
2014-04-21 04:05:55 -04:00

25 lines
395 B
C++

//
// cursors.h
// BoE
//
// Created by Celtic Minstrel on 03/06/09.
// Wrappers for NSCursor, based on an Apple example
//
#ifndef BOE_CURSORS_H
#define BOE_CURSORS_H
class Cursor {
void* ptr;
public:
Cursor(const char* imgPath, float hotSpotX, float hotSpotY);
~Cursor();
void apply();
};
void setCursorWatch();
// This hides the cursor until it moves
void obscureCursor();
#endif