blob: 504a44cd5abc8b48cd0ec3dbc22a68f363bc5e05 (
plain)
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
|
#ifndef CURSOR_H
#define CURSOR_H
#include "incl.h"
#include "coordinate.h"
using namespace std;
enum cursorType
{
Invisible = 0,
Visible,
VeryVisible
};
struct cursor
{
cursor();
cursor(cursorType t);
cursor(coordinate& r_coord);
static void set(cursorType t);
static void set(coordinate& r_coord);
static void set_invisible() { set(Invisible); }
static void setVisible() { set(Visible); }
static void setVeryVisible() { set(VeryVisible); }
};
#endif
|