insert/text editing
[taskasaur.git] / headers / render.h
index 3a5501f..5a13100 100644 (file)
@@ -1,12 +1,25 @@
 
+#ifndef __RENDER_H__
+#define __RENDER_H__
+
 #include <ncurses.h>
 
 enum TaskasaurColors {
-    TS_SELECTED,
-    TS_NONSELECTED
+    TS_SELECTED = 1,
+    TS_NONSELECTED,
+    TS_MENU_SELECTED,
+    TS_MENU_NONSELECTED,
 };
 
 /* the ts is used to not conflict with builtin names */
 extern int init_tscurses(void);
 extern int exit_tscurses(void);
 
+extern int curs_on(void);
+extern int curs_off(void);
+
+/* some helpers */
+extern int ungetstr(char* str);
+
+
+#endif