aboutsummaryrefslogtreecommitdiff
path: root/ui_nwindow.h
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2015-11-08 20:28:30 +0100
committertoni <matzeton@googlemail.com>2015-11-11 22:53:07 +0100
commitf2f6ea5029c6c43dc43d714978daca38c03a8a83 (patch)
tree745932f072a5c0246a3a3fb19ad341dcba401eed /ui_nwindow.h
parent5b73c45d46f33610fa1d99c6467e24fa7861075d (diff)
- changed dir structure
- fixed ipc semaphore/mq stuff
Diffstat (limited to 'ui_nwindow.h')
-rw-r--r--ui_nwindow.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/ui_nwindow.h b/ui_nwindow.h
deleted file mode 100644
index 198481b..0000000
--- a/ui_nwindow.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef UI_TXTWINDOW_H
-#define UI_TXTWINDOW_H 1
-
-#include <ncurses.h>
-
-#include "ui.h"
-
-#define INITIAL_TITLE_LEN 32
-
-#define set_txtwindow_active(wnd, activate) wnd->active = activate; ui_thrd_force_update()
-
-struct txtwindow {
- unsigned int y;
- unsigned int x;
- unsigned int width;
- unsigned int height;
- bool active;
- char *title;
- size_t title_len;
- char **text;
- int (*window_func)(WINDOW *, struct txtwindow *);
- chtype attrs;
- chtype text_attrs;
- void *userptr;
-};
-
-typedef int (*window_func)(WINDOW *, struct txtwindow *);
-
-struct txtwindow *
-init_txtwindow(unsigned int, unsigned int y, unsigned int width, unsigned int height, chtype attrs, chtype text_attrs, window_func cb_update);
-
-void
-free_txtwindow(struct txtwindow *a);
-
-void
-register_txtwindow(struct txtwindow *a);
-
-void
-set_txtwindow_text(struct txtwindow *a, char *text);
-
-void
-set_txtwindow_title(struct txtwindow *a, const char *title);
-
-#endif