-
Notifications
You must be signed in to change notification settings - Fork 1
/
pack.cxx
27 lines (19 loc) · 636 Bytes
/
pack.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "pack.h"
#include <FL/Fl_Pack.H>
#include "event_handler.h"
class GPack : public EventHandler<Fl_Pack> {
public:
GPack(int x, int y, int w, int h, const char *label)
: EventHandler<Fl_Pack>(x, y, w, h, label) {}
};
GPack *go_fltk_new_Pack(int x, int y, int w, int h, const char *label) {
return new GPack(x, y, w, h, label);
}
int go_fltk_Pack_spacing(Fl_Pack* pack) {
return pack->spacing();
}
void go_fltk_Pack_set_spacing(Fl_Pack* pack, int spacing) {
pack->spacing(spacing);
}
const unsigned char go_FL_PACK_VERTICAL = Fl_Pack::VERTICAL;
const unsigned char go_FL_PACK_HORIZONTAL = Fl_Pack::HORIZONTAL;