summaryrefslogtreecommitdiff
path: root/c_fl_repeat_button.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_repeat_button.cpp
parent0f28695be695a0b2e8fbfff388c61cb69cdc03af (diff)
In the interests of readability and consistent style...
Diffstat (limited to 'c_fl_repeat_button.cpp')
-rw-r--r--c_fl_repeat_button.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/c_fl_repeat_button.cpp b/c_fl_repeat_button.cpp
index d81f301..eafefde 100644
--- a/c_fl_repeat_button.cpp
+++ b/c_fl_repeat_button.cpp
@@ -4,13 +4,13 @@
#include "c_fl_repeat_button.h"
-my_fl_repeat_button new_fl_repeat_button(int x, int y, int w, int h, char * label) {
- Fl_Repeat_Button *button = new Fl_Repeat_Button(x, y, w, h, label);
- return button;
+REPEATBUTTON new_fl_repeat_button(int x, int y, int w, int h, char* label) {
+ Fl_Repeat_Button *b = new Fl_Repeat_Button(x, y, w, h, label);
+ return b;
}
-void free_fl_repeat_button(my_fl_repeat_button b) {
+void free_fl_repeat_button(REPEATBUTTON b) {
delete reinterpret_cast<Fl_Repeat_Button*>(b);
}