typedef union { int i; unsigned int u; float f; const void *v; const char *s; } Arg; extern SDL_Window *win; extern void *ren; extern void *def_palette; extern const char *def_palette_path; extern const char *cmd_file_picker; extern int mouseX, mouseY; extern const unsigned int back_c; unsigned int main_event_handle(); unsigned int main_window_init(); unsigned int main_quit(); /* Functions for user bind to something else */ void user_canvas_zoom_change(const Arg *); void user_canvas_move_x(const Arg *); void user_canvas_move_y(const Arg *); void user_canvas_save(const Arg *); void user_canvas_open(const Arg *); void user_canvas_export_png(const Arg *); void user_canvas_import_png(const Arg *); void user_canvas_refresh(const Arg *); void user_canvas_create_new(const Arg *); void user_canvas_pal_col_chng(const Arg *); void user_tool_change(const Arg *); void user_layer_chng(const Arg *); void user_testing_layer_add(const Arg *); void user_testing_reload_tex(const Arg *); void user_debug_mem_show(const Arg *);