2015-05-01 21:00:48 +00:00
|
|
|
#ifndef CURSES_TEST
|
|
|
|
#define CURSES_TEST
|
2015-05-01 19:23:00 +00:00
|
|
|
|
|
|
|
#include <ncurses.h>
|
|
|
|
|
|
|
|
class Curses
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
static const int kbd_lines;
|
|
|
|
static const int kbd_columns;
|
|
|
|
WINDOW* kbd;
|
|
|
|
static const char** kbd_descr;
|
|
|
|
static const int speed_lines;
|
|
|
|
static const int speed_columns;
|
|
|
|
WINDOW* speed;
|
|
|
|
|
|
|
|
public:
|
|
|
|
Curses();
|
|
|
|
~Curses();
|
|
|
|
void print_kbd();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|