From fefc9bf753a8595eaa75ce51eb71eb553f4bbaaf Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sun, 13 May 2018 02:25:14 +1000 Subject: Finished and polished FLTK.Widgets.Groups, fixed inlining linking issue --- src/c_fl_window.h | 90 +++++++++++++++++++++++++++---------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) (limited to 'src/c_fl_window.h') diff --git a/src/c_fl_window.h b/src/c_fl_window.h index f66876a..e65b6f7 100644 --- a/src/c_fl_window.h +++ b/src/c_fl_window.h @@ -11,69 +11,69 @@ typedef void* WINDOW; -extern "C" inline void window_set_draw_hook(WINDOW n, void * d); -extern "C" inline void fl_window_draw(WINDOW n); -extern "C" inline void window_set_handle_hook(WINDOW n, void * h); -extern "C" inline int fl_window_handle(WINDOW n, int e); +extern "C" void window_set_draw_hook(WINDOW n, void * d); +extern "C" void fl_window_draw(WINDOW n); +extern "C" void window_set_handle_hook(WINDOW n, void * h); +extern "C" int fl_window_handle(WINDOW n, int e); -extern "C" inline WINDOW new_fl_window(int x, int y, int w, int h, char* label); -extern "C" inline WINDOW new_fl_window2(int w, int h, char* label); -extern "C" inline void free_fl_window(WINDOW n); +extern "C" WINDOW new_fl_window(int x, int y, int w, int h, char* label); +extern "C" WINDOW new_fl_window2(int w, int h, char* label); +extern "C" void free_fl_window(WINDOW n); -extern "C" inline void fl_window_show(WINDOW n); -extern "C" inline void fl_window_hide(WINDOW n); -extern "C" inline int fl_window_shown(WINDOW n); -extern "C" inline void fl_window_wait_for_expose(WINDOW n); -extern "C" inline void fl_window_iconize(WINDOW n); -extern "C" inline void fl_window_make_current(WINDOW n); -extern "C" inline void fl_window_free_position(WINDOW n); +extern "C" void fl_window_show(WINDOW n); +extern "C" void fl_window_hide(WINDOW n); +extern "C" int fl_window_shown(WINDOW n); +extern "C" void fl_window_wait_for_expose(WINDOW n); +extern "C" void fl_window_iconize(WINDOW n); +extern "C" void fl_window_make_current(WINDOW n); +extern "C" void fl_window_free_position(WINDOW n); -extern "C" inline unsigned int fl_window_fullscreen_active(WINDOW n); -extern "C" inline void fl_window_fullscreen(WINDOW n); -extern "C" inline void fl_window_fullscreen_off(WINDOW n); -extern "C" inline void fl_window_fullscreen_off2(WINDOW n, int x, int y, int w, int h); -extern "C" inline void fl_window_fullscreen_screens(WINDOW n, int t, int b, int l, int r); +extern "C" unsigned int fl_window_fullscreen_active(WINDOW n); +extern "C" void fl_window_fullscreen(WINDOW n); +extern "C" void fl_window_fullscreen_off(WINDOW n); +extern "C" void fl_window_fullscreen_off2(WINDOW n, int x, int y, int w, int h); +extern "C" void fl_window_fullscreen_screens(WINDOW n, int t, int b, int l, int r); -extern "C" inline void fl_window_set_icon(WINDOW n, void * img); -extern "C" inline void fl_window_default_icon(void * img); -extern "C" inline const char * fl_window_get_iconlabel(WINDOW n); -extern "C" inline void fl_window_set_iconlabel(WINDOW n, const char * s); -extern "C" inline void fl_window_set_cursor(WINDOW n, int c); -extern "C" inline void fl_window_set_cursor2(WINDOW n, void * img, int x, int y); -extern "C" inline void fl_window_set_default_cursor(WINDOW n, int c); +extern "C" void fl_window_set_icon(WINDOW n, void * img); +extern "C" void fl_window_default_icon(void * img); +extern "C" const char * fl_window_get_iconlabel(WINDOW n); +extern "C" void fl_window_set_iconlabel(WINDOW n, const char * s); +extern "C" void fl_window_set_cursor(WINDOW n, int c); +extern "C" void fl_window_set_cursor2(WINDOW n, void * img, int x, int y); +extern "C" void fl_window_set_default_cursor(WINDOW n, int c); -extern "C" inline unsigned int fl_window_get_border(WINDOW n); -extern "C" inline void fl_window_set_border(WINDOW n, int b); -extern "C" inline unsigned int fl_window_get_override(WINDOW n); -extern "C" inline void fl_window_set_override(WINDOW n); -extern "C" inline unsigned int fl_window_modal(WINDOW n); -extern "C" inline unsigned int fl_window_non_modal(WINDOW n); -extern "C" inline void fl_window_clear_modal_states(WINDOW n); -extern "C" inline void fl_window_set_modal(WINDOW n); -extern "C" inline void fl_window_set_non_modal(WINDOW n); +extern "C" unsigned int fl_window_get_border(WINDOW n); +extern "C" void fl_window_set_border(WINDOW n, int b); +extern "C" unsigned int fl_window_get_override(WINDOW n); +extern "C" void fl_window_set_override(WINDOW n); +extern "C" unsigned int fl_window_modal(WINDOW n); +extern "C" unsigned int fl_window_non_modal(WINDOW n); +extern "C" void fl_window_clear_modal_states(WINDOW n); +extern "C" void fl_window_set_modal(WINDOW n); +extern "C" void fl_window_set_non_modal(WINDOW n); -extern "C" inline const char * fl_window_get_label(WINDOW n); -extern "C" inline void fl_window_set_label(WINDOW n, char* text); -extern "C" inline void fl_window_hotspot(WINDOW n, int x, int y, int s); -extern "C" inline void fl_window_hotspot2(WINDOW n, void * i, int s); -extern "C" inline void fl_window_size_range(WINDOW n, int lw, int lh, int hw, int hh, int dw, int dh, int a); -extern "C" inline void fl_window_shape(WINDOW n, void * p); +extern "C" const char * fl_window_get_label(WINDOW n); +extern "C" void fl_window_set_label(WINDOW n, char* text); +extern "C" void fl_window_hotspot(WINDOW n, int x, int y, int s); +extern "C" void fl_window_hotspot2(WINDOW n, void * i, int s); +extern "C" void fl_window_size_range(WINDOW n, int lw, int lh, int hw, int hh, int dw, int dh, int a); +extern "C" void fl_window_shape(WINDOW n, void * p); -extern "C" inline int fl_window_get_x_root(WINDOW n); -extern "C" inline int fl_window_get_y_root(WINDOW n); -extern "C" inline int fl_window_get_decorated_w(WINDOW n); -extern "C" inline int fl_window_get_decorated_h(WINDOW n); +extern "C" int fl_window_get_x_root(WINDOW n); +extern "C" int fl_window_get_y_root(WINDOW n); +extern "C" int fl_window_get_decorated_w(WINDOW n); +extern "C" int fl_window_get_decorated_h(WINDOW n); #endif -- cgit