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


#include <FL/Fl_Radio_Button.H>
#include "c_fl_radio_button.h"


RADIOBUTTON new_fl_radio_button(int x, int y, int w, int h, char* label) {
    Fl_Radio_Button *b = new Fl_Radio_Button(x, y, w, h, label);
    return b;
}


void free_fl_radio_button(RADIOBUTTON b) {
    delete reinterpret_cast<Fl_Radio_Button*>(b);
}