EMILE/libui/libui.h
2007-08-12 20:40:55 +00:00

27 lines
689 B
C

/*
*
* (c) 2007 Laurent Vivier <Laurent@lvivier.info>
*
*/
typedef struct emile_window {
int l, c;
int h, w;
} emile_window_t;
typedef struct emile_progressbar {
emile_window_t win;
int max;
int current;
} emile_progressbar_t;
extern void console_set_cursor_position(int l, int c);
extern void console_video_inverse(void);
extern void console_video_normal(void);
extern void console_select_charset(char c);
extern void emile_window(emile_window_t *win);
extern emile_progressbar_t* emile_progressbar_create(emile_window_t *win, int max);
extern void emile_progressbar_value(emile_progressbar_t* bar, int value);
extern void emile_progressbar_delete(emile_progressbar_t* bar);