aboutsummaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_window.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
commit2b4468a62a55d9f8520582f9aa2e420ab89ed7bd (patch)
tree6a112a0f3db36b622a71bccf9a2b7dc0130e6e2e /src/fltk_binding/c_fl_window.cpp
parent524edbb4463b66d61e92c92a7020d9d09b82e744 (diff)
In the interests of readability and consistent style...
Diffstat (limited to 'src/fltk_binding/c_fl_window.cpp')
-rw-r--r--src/fltk_binding/c_fl_window.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/fltk_binding/c_fl_window.cpp b/src/fltk_binding/c_fl_window.cpp
index 64a1c38..f409e34 100644
--- a/src/fltk_binding/c_fl_window.cpp
+++ b/src/fltk_binding/c_fl_window.cpp
@@ -4,24 +4,24 @@
#include "c_fl_window.h"
-my_fl_window new_fl_window(int x, int y, int w, int h, char * label) {
- Fl_Window *window = new Fl_Window(x, y, w, h, label);
- return window;
+WINDOW new_fl_window(int x, int y, int w, int h, char* label) {
+ Fl_Window *n = new Fl_Window(x, y, w, h, label);
+ return n;
}
-my_fl_window new_fl_window2(int w, int h) {
- Fl_Window *window = new Fl_Window(w, h);
- return window;
+WINDOW new_fl_window2(int w, int h) {
+ Fl_Window *n = new Fl_Window(w, h);
+ return n;
}
-void free_fl_window(my_fl_window f) {
- delete reinterpret_cast<Fl_Window*>(f);
+void free_fl_window(WINDOW n) {
+ delete reinterpret_cast<Fl_Window*>(n);
}
-void fl_window_show(my_fl_window f) {
- reinterpret_cast<Fl_Window*>(f)->show();
+void fl_window_show(WINDOW n) {
+ reinterpret_cast<Fl_Window*>(n)->show();
}