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


#include <FL/Fl_Check_Button.H>
#include "c_fl_check_button.h"


CHECKBUTTON new_fl_check_button(int x, int y, int w, int h, char* label) {
    Fl_Check_Button *b = new Fl_Check_Button(x, y, w, h, label);
    return b;
}


void free_fl_check_button(CHECKBUTTON b) {
    delete reinterpret_cast<Fl_Check_Button*>(b);
}