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


#include <FL/Fl_Light_Button.H>
#include "c_fl_light_button.h"


LIGHTBUTTON new_fl_light_button(int x, int y, int w, int h, char* label) {
    Fl_Light_Button *b = new Fl_Light_Button(x, y, w, h, label);
    return b;
}


void free_fl_light_button(LIGHTBUTTON b) {
    delete reinterpret_cast<Fl_Light_Button*>(b);
}