summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_box.cpp
blob: eeee3207081626aab08a2ff3d36249992804b89e (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"


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


void free_fl_box(BOX b) {
    delete reinterpret_cast<Fl_Box*>(b);
}