summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_box.cpp
blob: 01685f8c9b318c1d73caf88a42a4e41c016d8034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


#include <FL/Fl_Box.H>
#include "c_fl_box.h"


my_fl_box new_fl_box(int x, int y, int w, int h, char * label) {
    Fl_Box *box = new Fl_Box(x, y, w, h, label);
    return box;
}


void free_fl_box(my_fl_box f) {
    delete reinterpret_cast<Fl_Box*>(f);
}