summaryrefslogtreecommitdiff
path: root/c_fl_window.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-04-27 10:40:48 +1000
committerJed Barber <jjbarber@y7mail.com>2017-04-27 10:40:48 +1000
commit0d842f0423ba0754fb3675c7468397a8da5f6e1b (patch)
treed5da172bc7af2f7f48a3415eceac67ed67542787 /c_fl_window.cpp
parent5d88963cd203f30b79433e34e5c89bfcf8abfe60 (diff)
Organising source
Diffstat (limited to 'c_fl_window.cpp')
-rw-r--r--c_fl_window.cpp58
1 files changed, 0 insertions, 58 deletions
diff --git a/c_fl_window.cpp b/c_fl_window.cpp
deleted file mode 100644
index fbce39b..0000000
--- a/c_fl_window.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-#include <FL/Fl_Window.H>
-#include <FL/Fl_RGB_Image.H>
-#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<Fl_Window*>(n);
-}
-
-
-void fl_window_show(WINDOW n) {
- reinterpret_cast<Fl_Window*>(n)->show();
-}
-
-
-void fl_window_hide(WINDOW n) {
- reinterpret_cast<Fl_Window*>(n)->hide();
-}
-
-
-void fl_window_set_label(WINDOW n, char* 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<Fl_Window*>(n)->size_range(lw, lh, hw, hh, dw, dh, a);
-}
-
-
-void fl_window_set_icon(WINDOW n, void * img) {
- reinterpret_cast<Fl_Window*>(n)->icon(reinterpret_cast<Fl_RGB_Image*>(img));
-}
-
-
-void fl_window_set_modal(WINDOW n) {
- reinterpret_cast<Fl_Window*>(n)->set_modal();
-}
-
-
-void fl_window_set_non_modal(WINDOW n) {
- reinterpret_cast<Fl_Window*>(n)->set_non_modal();
-}
-