summaryrefslogtreecommitdiff
path: root/c_fl_widget.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-05-26 04:35:58 +1000
committerJed Barber <jjbarber@y7mail.com>2016-05-26 04:35:58 +1000
commit2aac034b614d6de39f4aee9f41dba8f2bcc63d8d (patch)
treec3a06709e36cccb576dddf81614c8cddfefffb9f /c_fl_widget.cpp
parent0f28695be695a0b2e8fbfff388c61cb69cdc03af (diff)
In the interests of readability and consistent style...
Diffstat (limited to 'c_fl_widget.cpp')
-rw-r--r--c_fl_widget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/c_fl_widget.cpp b/c_fl_widget.cpp
index 8a9e897..53c14c8 100644
--- a/c_fl_widget.cpp
+++ b/c_fl_widget.cpp
@@ -4,42 +4,42 @@
#include "c_fl_widget.h"
-int fl_widget_get_box(my_fl_widget w) {
+int fl_widget_get_box(WIDGET w) {
return reinterpret_cast<Fl_Widget*>(w)->box();
}
-void fl_widget_set_box(my_fl_widget w, int b) {
+void fl_widget_set_box(WIDGET w, int b) {
reinterpret_cast<Fl_Widget*>(w)->box(static_cast<Fl_Boxtype>(b));
}
-int fl_widget_get_label_font(my_fl_widget w) {
+int fl_widget_get_label_font(WIDGET w) {
return reinterpret_cast<Fl_Widget*>(w)->labelfont();
}
-void fl_widget_set_label_font(my_fl_widget w, int f) {
+void fl_widget_set_label_font(WIDGET w, int f) {
reinterpret_cast<Fl_Widget*>(w)->labelfont(static_cast<Fl_Font>(f));
}
-int fl_widget_get_label_size(my_fl_widget w) {
+int fl_widget_get_label_size(WIDGET w) {
return reinterpret_cast<Fl_Widget*>(w)->labelsize();
}
-void fl_widget_set_label_size(my_fl_widget w, int s) {
+void fl_widget_set_label_size(WIDGET w, int s) {
reinterpret_cast<Fl_Widget*>(w)->labelsize(static_cast<Fl_Fontsize>(s));
}
-int fl_widget_get_label_type(my_fl_widget w) {
+int fl_widget_get_label_type(WIDGET w) {
return reinterpret_cast<Fl_Widget*>(w)->labeltype();
}
-void fl_widget_set_label_type(my_fl_widget w, int l) {
+void fl_widget_set_label_type(WIDGET w, int l) {
reinterpret_cast<Fl_Widget*>(w)->labeltype(static_cast<Fl_Labeltype>(l));
}