blob: a414f6f31b2b03b40ad0aa4a5a7126b772af3400 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef _WINDOW_H
#define _WINDOW_H
struct editor_state;
void window_init(const char *title, int rows, int cols);
int window_handle_event(struct editor_state *editor);
void window_redraw(struct editor_state *editor);
void window_get_size(int *rows, int *cols);
void window_destroy();
#endif
|