Closed kayshinonome closed 3 years ago
Did you build the included fltk-1.3.5-mod.zip
using --with-abiversion=10305
, or are you using a different version or ABI version of FLTK?
Im using the version provided by my distro
Follow INSTALL.md.
Since the required private access is only needed for esthetic purpose, why not add a simple check to keep your project compatible with Debian & Ubuntu out of the box ?
OS_Spinner::OS_Spinner(int x, int y, int w, int h, const char *l) : Fl_Spinner(x, y, w, h, l) {
labelfont(OS_FONT);
labelsize(OS_FONT_SIZE);
textfont(OS_FONT);
textsize(OS_FONT_SIZE);
align(FL_ALIGN_LEFT | FL_ALIGN_CLIP);
#if FL_ABI_VERSION > 10307
input_.box(OS_INPUT_THIN_DOWN_BOX);
up_button_.labelfont(OS_FONT);
up_button_.labelsize(OS_FONT_SIZE);
up_button_.box(OS_MINI_BUTTON_UP_BOX);
up_button_.down_box(OS_MINI_DEPRESSED_DOWN_BOX);
down_button_.labelfont(OS_FONT);
down_button_.labelsize(OS_FONT_SIZE);
down_button_.box(OS_MINI_BUTTON_UP_BOX);
down_button_.down_box(OS_MINI_DEPRESSED_DOWN_BOX);
#endif
}
It will be a moot point once FLTK 1.4.0 is released, which should be "soon" (probably this year).
Sure but FLTK 1.4.0 wont be available in Debian (and derived distributions) soon :-(