clarify code
This commit is contained in:
+7
-7
@@ -3,20 +3,20 @@
|
||||
#ifndef WINDOW_H
|
||||
#define WINDOW_H
|
||||
|
||||
Window *init_window(char *title, unsigned char monitor_index,
|
||||
Window *window_init(char *title, unsigned char monitor_index,
|
||||
void (*error_callback)(int, const char *),
|
||||
void (*key_callback)(Window *, int, int, int, int));
|
||||
|
||||
void update_window_title(Window *window, char *title);
|
||||
void window_update_title(Window *window, char *title);
|
||||
|
||||
void refresh_window(Window *window);
|
||||
void window_refresh(Window *window);
|
||||
|
||||
Context get_window_context(Window *window);
|
||||
Context window_get_context(Window *window);
|
||||
|
||||
void close_window(Window *window, bool hard);
|
||||
void window_close(Window *window, bool hard);
|
||||
|
||||
bool window_should_close(Window *window);
|
||||
|
||||
bool escape_key(int key, int action);
|
||||
bool window_escape_key(int key, int action);
|
||||
|
||||
#endif
|
||||
#endif /* WINDOW_H */
|
||||
Reference in New Issue
Block a user