summaryrefslogtreecommitdiff
path: root/other/zylyx/src/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'other/zylyx/src/screen.h')
-rw-r--r--other/zylyx/src/screen.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/other/zylyx/src/screen.h b/other/zylyx/src/screen.h
new file mode 100644
index 0000000..2af9c5b
--- /dev/null
+++ b/other/zylyx/src/screen.h
@@ -0,0 +1,45 @@
1/* zylyx - file find
2 *
3 * screen and output routines
4 * header file
5 *
6 * by team teso
7 */
8
9#ifndef _ZYL_SCREEN
10#define _ZYL_SCREEN
11
12#include <pthread.h>
13
14#ifndef _ZYL_SCR_MAIN
15extern pthread_mutex_t screen_mutex;
16#endif
17
18
19#define COL_SPICY 0x01
20#define COL_MSPICY 0x02
21#define COL_LSPICY 0x03
22#define COL_TEXT 0x04
23#define COL_STEXT 0x05
24#define COL_PRX_INACT 0x10
25
26void scr_init (void);
27void scr_prg_init (void);
28void scr_init_col (void);
29void scr_banner (void);
30int scr_rprintf (int x, int y, const char *str, ...);
31void scr_rprint (int x, int y, char *str);
32void scr_cprint (int x, int y, char *str);
33void scr_print (char *str1);
34void scr_build_box (int x1, int y1, int x2, int y2);
35void scr_build_sline_v (int x, int y1, int y2, char start, char fill, char end,
36 int objhigh, int objmed, int objlow);
37void scr_build_sline_h (int y, int x1, int x2, char start, char fill, char end,
38 int objhigh, int objmed, int objlow);
39void scr_build_line_v (int obj, int x, int y1, int y2, char start, char fill, char end);
40void scr_build_line_h (int obj, int y, int x1, int x2, char start, char fill, char end);
41void scr_exit (void);
42void scr_init_col (void);
43
44#endif
45