summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_double_window.cpp
blob: 67d073643e1e7876a82c3b578834018f9a1e4973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27


#include <FL/Fl_Double_Window.H>
#include "c_fl_double_window.h"


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;
}


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(DOUBLEWINDOW d) {
    delete reinterpret_cast<Fl_Double_Window*>(d);
}


void fl_double_window_show(DOUBLEWINDOW d) {
    reinterpret_cast<Fl_Double_Window*>(d)->show();
}