summaryrefslogtreecommitdiff
path: root/ycurses/src/curses/cursor.cpp
blob: eaa10a71c6fb182de872eb0a90e9dc60857865f9 (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
31
32
#ifndef CURSOR_CPP
#define CURSOR_CPP

#include "cursor.h"

cursor::cursor()
{
}

cursor::cursor(cursorType t)
{
  set(t);
}

cursor::cursor(coordinate& r_coord)
{
  set(r_coord);
}

void
cursor::set(cursorType t)
{
  curs_set(t);
}

void
cursor::set(coordinate& r_coord)
{
  move(r_coord.y, r_coord.x);
}

#endif