summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_window.cpp
diff options
context:
space:
mode:
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();
}