diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-05-07 12:04:33 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-05-07 12:04:33 +1000 |
commit | df843c7fe48f33d25981d03975e670a3e7159031 (patch) | |
tree | 32ad270bf18d5bedadd255a42c0b013332609488 /src/c_fl_window.cpp | |
parent | c2c5985b130e02b970cb6bf88c9a81e6e72c6646 (diff) |
Further code cleanup
Diffstat (limited to 'src/c_fl_window.cpp')
-rw-r--r-- | src/c_fl_window.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/c_fl_window.cpp b/src/c_fl_window.cpp index eda235a..1413646 100644 --- a/src/c_fl_window.cpp +++ b/src/c_fl_window.cpp @@ -67,36 +67,36 @@ void free_fl_window(WINDOW n) { void fl_window_show(WINDOW n) { - reinterpret_cast<My_Window*>(n)->show(); + reinterpret_cast<Fl_Window*>(n)->show(); } void fl_window_hide(WINDOW n) { - reinterpret_cast<My_Window*>(n)->hide(); + reinterpret_cast<Fl_Window*>(n)->hide(); } void fl_window_set_label(WINDOW n, char* text) { - reinterpret_cast<My_Window*>(n)->copy_label(text); + reinterpret_cast<Fl_Window*>(n)->copy_label(text); } void fl_window_size_range(WINDOW n, int lw, int lh, int hw, int hh, int dw, int dh, int a) { - reinterpret_cast<My_Window*>(n)->size_range(lw, lh, hw, hh, dw, dh, a); + reinterpret_cast<Fl_Window*>(n)->size_range(lw, lh, hw, hh, dw, dh, a); } void fl_window_set_icon(WINDOW n, void * img) { - reinterpret_cast<My_Window*>(n)->icon(reinterpret_cast<Fl_RGB_Image*>(img)); + reinterpret_cast<Fl_Window*>(n)->icon(reinterpret_cast<Fl_RGB_Image*>(img)); } void fl_window_set_modal(WINDOW n) { - reinterpret_cast<My_Window*>(n)->set_modal(); + reinterpret_cast<Fl_Window*>(n)->set_modal(); } void fl_window_set_non_modal(WINDOW n) { - reinterpret_cast<My_Window*>(n)->set_non_modal(); + reinterpret_cast<Fl_Window*>(n)->set_non_modal(); } |