diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-05-26 04:35:58 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-05-26 04:35:58 +1000 |
commit | 2aac034b614d6de39f4aee9f41dba8f2bcc63d8d (patch) | |
tree | c3a06709e36cccb576dddf81614c8cddfefffb9f /c_fl_double_window.cpp | |
parent | 0f28695be695a0b2e8fbfff388c61cb69cdc03af (diff) |
In the interests of readability and consistent style...
Diffstat (limited to 'c_fl_double_window.cpp')
-rw-r--r-- | c_fl_double_window.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/c_fl_double_window.cpp b/c_fl_double_window.cpp index 7a9899c..67d0736 100644 --- a/c_fl_double_window.cpp +++ b/c_fl_double_window.cpp @@ -4,24 +4,24 @@ #include "c_fl_double_window.h" -my_fl_double_window new_fl_double_window(int x, int y, int w, int h, char * label) { - Fl_Double_Window *window = new Fl_Double_Window(x, y, w, h, label); - return window; +DOUBLEWINDOW new_fl_double_window(int x, int y, int w, int h, char* label) { + Fl_Double_Window *d = new Fl_Double_Window(x, y, w, h, label); + return d; } -my_fl_double_window new_fl_double_window2(int w, int h) { - Fl_Double_Window *window = new Fl_Double_Window(w, h); - return window; +DOUBLEWINDOW new_fl_double_window2(int w, int h) { + Fl_Double_Window *d = new Fl_Double_Window(w, h); + return d; } -void free_fl_double_window(my_fl_double_window f) { - delete reinterpret_cast<Fl_Double_Window*>(f); +void free_fl_double_window(DOUBLEWINDOW d) { + delete reinterpret_cast<Fl_Double_Window*>(d); } -void fl_double_window_show(my_fl_double_window f) { - reinterpret_cast<Fl_Double_Window*>(f)->show(); +void fl_double_window_show(DOUBLEWINDOW d) { + reinterpret_cast<Fl_Double_Window*>(d)->show(); } |