From df843c7fe48f33d25981d03975e670a3e7159031 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sun, 7 May 2017 12:04:33 +1000 Subject: Further code cleanup --- src/c_fl_widget.cpp | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'src/c_fl_widget.cpp') diff --git a/src/c_fl_widget.cpp b/src/c_fl_widget.cpp index 16c746d..6dab9fa 100644 --- a/src/c_fl_widget.cpp +++ b/src/c_fl_widget.cpp @@ -48,112 +48,112 @@ void free_fl_widget(WIDGET w) { void * fl_widget_get_user_data(WIDGET w) { - return reinterpret_cast(w)->user_data(); + return reinterpret_cast(w)->user_data(); } void fl_widget_set_user_data(WIDGET w, void * d) { - reinterpret_cast(w)->user_data(d); + reinterpret_cast(w)->user_data(d); } int fl_widget_get_box(WIDGET w) { - return reinterpret_cast(w)->box(); + return reinterpret_cast(w)->box(); } void fl_widget_set_box(WIDGET w, int b) { - reinterpret_cast(w)->box(static_cast(b)); + reinterpret_cast(w)->box(static_cast(b)); } const char* fl_widget_get_label(WIDGET w) { - return reinterpret_cast(w)->label(); + return reinterpret_cast(w)->label(); } void fl_widget_set_label(WIDGET w, const char* t) { - reinterpret_cast(w)->copy_label(t); + reinterpret_cast(w)->copy_label(t); } int fl_widget_get_label_font(WIDGET w) { - return reinterpret_cast(w)->labelfont(); + return reinterpret_cast(w)->labelfont(); } void fl_widget_set_label_font(WIDGET w, int f) { - reinterpret_cast(w)->labelfont(static_cast(f)); + reinterpret_cast(w)->labelfont(static_cast(f)); } int fl_widget_get_label_size(WIDGET w) { - return reinterpret_cast(w)->labelsize(); + return reinterpret_cast(w)->labelsize(); } void fl_widget_set_label_size(WIDGET w, int s) { - reinterpret_cast(w)->labelsize(static_cast(s)); + reinterpret_cast(w)->labelsize(static_cast(s)); } int fl_widget_get_label_type(WIDGET w) { - return reinterpret_cast(w)->labeltype(); + return reinterpret_cast(w)->labeltype(); } void fl_widget_set_label_type(WIDGET w, int l) { - reinterpret_cast(w)->labeltype(static_cast(l)); + reinterpret_cast(w)->labeltype(static_cast(l)); } void * fl_widget_get_parent(WIDGET w) { - return reinterpret_cast(w)->parent(); + return reinterpret_cast(w)->parent(); } void fl_widget_set_callback(WIDGET w, void * cb) { - reinterpret_cast(w)->callback(reinterpret_cast(cb)); + reinterpret_cast(w)->callback(reinterpret_cast(cb)); } int fl_widget_get_x(WIDGET w) { - return reinterpret_cast(w)->x(); + return reinterpret_cast(w)->x(); } int fl_widget_get_y(WIDGET w) { - return reinterpret_cast(w)->y(); + return reinterpret_cast(w)->y(); } int fl_widget_get_w(WIDGET w) { - return reinterpret_cast(w)->w(); + return reinterpret_cast(w)->w(); } int fl_widget_get_h(WIDGET w) { - return reinterpret_cast(w)->h(); + return reinterpret_cast(w)->h(); } void fl_widget_size(WIDGET w, int d, int h) { - reinterpret_cast(w)->size(d, h); + reinterpret_cast(w)->size(d, h); } void fl_widget_position(WIDGET w, int x, int y) { - reinterpret_cast(w)->position(x, y); + reinterpret_cast(w)->position(x, y); } void fl_widget_set_image(WIDGET w, void * img) { - reinterpret_cast(w)->image(reinterpret_cast(img)); + reinterpret_cast(w)->image(reinterpret_cast(img)); } -- cgit