summaryrefslogtreecommitdiffstats
path: root/fltk/fltk/Cursor.h
blob: ef59faa8841a1aa40258712989000ec69980241a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// "$Id"
//
// Mouse cursor support for the Fast Light Tool Kit (FLTK).

// This is likely to change!

#ifndef fltk_Cursor_h
#define fltk_Cursor_h

#include "FL_API.h"

namespace fltk {

struct Cursor; // this is not public

class Image;
Cursor* cursor(Image*, int x, int y);
extern FL_API Cursor* cursor(void *raw);

extern FL_API Cursor* const CURSOR_DEFAULT; // == NULL
extern FL_API Cursor* const CURSOR_ARROW;
extern FL_API Cursor* const CURSOR_CROSS;
extern FL_API Cursor* const CURSOR_WAIT;
extern FL_API Cursor* const CURSOR_INSERT;
extern FL_API Cursor* const CURSOR_HAND;
extern FL_API Cursor* const CURSOR_HELP;
extern FL_API Cursor* const CURSOR_MOVE;
extern FL_API Cursor* const CURSOR_NS;
extern FL_API Cursor* const CURSOR_WE;
extern FL_API Cursor* const CURSOR_NWSE;
extern FL_API Cursor* const CURSOR_NESW;
extern FL_API Cursor* const CURSOR_NO;
extern FL_API Cursor* const CURSOR_NONE;

}
#endif

// End of "$Id"