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


#include <FL/Fl_Input.H>
#include "c_fl_input.h"


my_fl_input new_fl_input(int x, int y, int w, int h, char * label) {
    Fl_Input *input = new Fl_Input(x, y, w, h, label);
    return input;
}


void free_fl_input(my_fl_input f) {
    delete reinterpret_cast<Fl_Input*>(f);
}