1 /* display.h -- display headers */
14 #define D_INV_STRING_LEN -2
16 #define MAX_TERM_STRING 64
18 #define CENTERED (1<<0)
22 /* display specific variables */
23 typedef struct s_display {
30 /* function prototypes */
31 int display_init(t_display *display,int outfd);
32 int display_draw(t_display *display);
33 int display_draw_until_line(t_display *display,int line);
34 int display_set_cursor(t_display *display,int x,int y);
35 int display_clear_screen(t_display *display);
36 int display_shutdown(t_display *display);
37 int display_line(t_display *display,int X,int Y,int X_,int Y_,char sym);
38 int display_string(t_display *display,int x,int y,char *string,int len);
39 int display_string_vert(t_display *display,int x,int y,char *string,int len);