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


#include <FL/Fl_Menu_Bar.H>
#include "c_fl_menu_bar.h"


MENUBAR new_fl_menu_bar(int x, int y, int w, int h, char* label) {
    Fl_Menu_Bar *m = new Fl_Menu_Bar(x, y, w, h, label);
    return m;
}


void free_fl_menu_bar(MENUBAR m) {
    delete reinterpret_cast<Fl_Menu_Bar*>(m);
}