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


#include <FL/Fl_Return_Button.H>
#include "c_fl_return_button.h"


RETURNBUTTON new_fl_return_button(int x, int y, int w, int h, char* label) {
    Fl_Return_Button *b = new Fl_Return_Button(x, y, w, h, label);
    return b;
}


void free_fl_return_button(RETURNBUTTON b) {
    delete reinterpret_cast<Fl_Return_Button*>(b);
}