diff options
Diffstat (limited to 'other/zylyx/src/screen.h')
| -rw-r--r-- | other/zylyx/src/screen.h | 45 |
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 | ||
| 15 | extern 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 | |||
| 26 | void scr_init (void); | ||
| 27 | void scr_prg_init (void); | ||
| 28 | void scr_init_col (void); | ||
| 29 | void scr_banner (void); | ||
| 30 | int scr_rprintf (int x, int y, const char *str, ...); | ||
| 31 | void scr_rprint (int x, int y, char *str); | ||
| 32 | void scr_cprint (int x, int y, char *str); | ||
| 33 | void scr_print (char *str1); | ||
| 34 | void scr_build_box (int x1, int y1, int x2, int y2); | ||
| 35 | void scr_build_sline_v (int x, int y1, int y2, char start, char fill, char end, | ||
| 36 | int objhigh, int objmed, int objlow); | ||
| 37 | void scr_build_sline_h (int y, int x1, int x2, char start, char fill, char end, | ||
| 38 | int objhigh, int objmed, int objlow); | ||
| 39 | void scr_build_line_v (int obj, int x, int y1, int y2, char start, char fill, char end); | ||
| 40 | void scr_build_line_h (int obj, int y, int x1, int x2, char start, char fill, char end); | ||
| 41 | void scr_exit (void); | ||
| 42 | void scr_init_col (void); | ||
| 43 | |||
| 44 | #endif | ||
| 45 | |||
