From ecdb8876ea6bdd333386aa7014cc5a8e0abe4c91 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Fri, 28 Apr 2017 18:21:25 +1000 Subject: Moved fltk binding to separate repo --- src/fltk_binding/c_fl_window.cpp | 58 ---------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 src/fltk_binding/c_fl_window.cpp (limited to 'src/fltk_binding/c_fl_window.cpp') diff --git a/src/fltk_binding/c_fl_window.cpp b/src/fltk_binding/c_fl_window.cpp deleted file mode 100644 index fbce39b..0000000 --- a/src/fltk_binding/c_fl_window.cpp +++ /dev/null @@ -1,58 +0,0 @@ - - -#include -#include -#include "c_fl_window.h" - - -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; -} - - -WINDOW new_fl_window2(int w, int h) { - Fl_Window *n = new Fl_Window(w, h); - return n; -} - - -void free_fl_window(WINDOW n) { - delete reinterpret_cast(n); -} - - -void fl_window_show(WINDOW n) { - reinterpret_cast(n)->show(); -} - - -void fl_window_hide(WINDOW n) { - reinterpret_cast(n)->hide(); -} - - -void fl_window_set_label(WINDOW n, char* text) { - reinterpret_cast(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(n)->size_range(lw, lh, hw, hh, dw, dh, a); -} - - -void fl_window_set_icon(WINDOW n, void * img) { - reinterpret_cast(n)->icon(reinterpret_cast(img)); -} - - -void fl_window_set_modal(WINDOW n) { - reinterpret_cast(n)->set_modal(); -} - - -void fl_window_set_non_modal(WINDOW n) { - reinterpret_cast(n)->set_non_modal(); -} - -- cgit