diff options
| author | Paul Buetow (mars.fritz.box) <paul@buetow.org> | 2013-12-15 11:49:02 +0100 |
|---|---|---|
| committer | Paul Buetow (mars.fritz.box) <paul@buetow.org> | 2013-12-15 11:49:02 +0100 |
| commit | 3a96ab7e91145b367d05e98533b5f426f762f83f (patch) | |
| tree | ac7758a706066e14b785ab6e5f7071a54baa856b /ycurses/src/curses/curses.h | |
| parent | 332d7b2107833018b3ef67b64ffe121bff1ef4fb (diff) | |
add packagespackages
Diffstat (limited to 'ycurses/src/curses/curses.h')
| -rw-r--r-- | ycurses/src/curses/curses.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/ycurses/src/curses/curses.h b/ycurses/src/curses/curses.h deleted file mode 100644 index 04ed707..0000000 --- a/ycurses/src/curses/curses.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef CURSES_H -#define CURSES_H - -#include "attributes.h" -#include "incl.h" -#include "color.h" -#include "cursor.h" -#include "menu.h" -#include "pwindow.h" -#include "tool.h" -#include "window.h" -#include "coordinate.h" - -using namespace std; - -/* This class is representing the base of curses, it has to be instantiated - * in order to use curses. - */ -class curses -{ - private: - static int i_self_counter; - - public: - /* Initializes curses before its first use */ - curses(); - - /* Removes all curses elements, all objects (such as window, color etc) - * be finished as well! - */ - ~curses(); - - /* Waits for user intput and returns the ASCII code being typed */ - static int get_char(); - - /* Returns the string being typed until the first return */ - static string get_string(); - - /* Waits intil the user hits a key */ - static void pause(); - - static void disable(); - static void enable(); - - /* Removes all curses elements, all objects (such as window, color etc) will - * be finished as well! This method will be called by ~curses internally. - * You can also use this method instead of the destructor if you wanna use - * another shutdown routine like catching SIGINT first, deleting your own - * stuff, and then running curses::finish();! - */ - static void finish(); - static void clear(); -}; - -#endif |
