From 0d842f0423ba0754fb3675c7468397a8da5f6e1b Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 27 Apr 2017 10:40:48 +1000 Subject: Organising source --- c_fl_menu_window.cpp | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 c_fl_menu_window.cpp (limited to 'c_fl_menu_window.cpp') diff --git a/c_fl_menu_window.cpp b/c_fl_menu_window.cpp deleted file mode 100644 index 66ad6f3..0000000 --- a/c_fl_menu_window.cpp +++ /dev/null @@ -1,52 +0,0 @@ - - -#include -#include "c_fl_menu_window.h" - - -MENUWINDOW new_fl_menu_window(int x, int y, int w, int h, char* label) { - Fl_Menu_Window *m = new Fl_Menu_Window(x, y, w, h, label); - return m; -} - - -MENUWINDOW new_fl_menu_window2(int w, int h) { - Fl_Menu_Window *m = new Fl_Menu_Window(w, h); - return m; -} - - -void free_fl_menu_window(MENUWINDOW m) { - delete reinterpret_cast(m); -} - - -void fl_menu_window_show(MENUWINDOW m) { - reinterpret_cast(m)->show(); -} - - -void fl_menu_window_hide(MENUWINDOW m) { - reinterpret_cast(m)->hide(); -} - - -void fl_menu_window_flush(MENUWINDOW m) { - reinterpret_cast(m)->flush(); -} - - -void fl_menu_window_set_overlay(MENUWINDOW m) { - reinterpret_cast(m)->set_overlay(); -} - - -void fl_menu_window_clear_overlay(MENUWINDOW m) { - reinterpret_cast(m)->clear_overlay(); -} - - -unsigned int fl_menu_window_overlay(MENUWINDOW m) { - return reinterpret_cast(m)->overlay(); -} - -- cgit