-#else
- // up - scrollbar button
- fl_set_border_width(-1);
-
- if (lyxerr.debugging())
- lyxerr << "\tup button: +"
- << xpos + width - 15 << '+' << ypos << ' '
- << 15 << 'x' << 15 << endl;
- button_up = obj = fl_add_pixmapbutton(FL_TOUCH_BUTTON,
- xpos + width - 15,
- ypos,
- 15, 15, "");
- fl_set_object_boxtype(obj,FL_UP_BOX);
- fl_set_object_color(obj,FL_MCOL,FL_BLUE);
- fl_set_object_resize(obj, FL_RESIZE_ALL);
- fl_set_object_gravity(obj,NorthEastGravity, NorthEastGravity);
- obj->u_vdata = this;
- fl_set_object_callback(obj,C_WorkArea_up_cb, 0);
- fl_set_pixmapbutton_data(obj, const_cast<char**>(up_xpm));
-
- // Remove the blue feedback rectangle
- fl_set_pixmapbutton_focus_outline(obj,0);
-
- // the scrollbar slider
- fl_set_border_width(-bw);
-
- if (lyxerr.debugging())
- lyxerr << "\tscrollbar slider: +"
- << xpos + width - 15 << '+' << ypos + 15 << ' '
- << 15 << 'x' << height - 30 << endl;
- scrollbar = obj = fl_add_slider(FL_VERT_SLIDER,
- xpos + width - 15,
- ypos + 15,
- 15, height - 30, "");
- fl_set_object_color(obj,FL_COL1,FL_MCOL);
- fl_set_object_boxtype(obj, FL_UP_BOX);
- fl_set_object_resize(obj, FL_RESIZE_ALL);
- fl_set_object_gravity(obj, NorthEastGravity, SouthEastGravity);
- obj->u_vdata = this;
- fl_set_object_callback(obj, C_WorkArea_scroll_cb, 0);
- fl_set_slider_precision(obj, 0);
-
- // down - scrollbar button
- fl_set_border_width(-1);
-
- if (lyxerr.debugging())
- lyxerr << "\tdown button: +"
- << xpos + width - 15 << '+'
- << ypos + height - 15 << ' '
- << 15 << 'x' << 15 << endl;
- button_down = obj = fl_add_pixmapbutton(FL_TOUCH_BUTTON,
- xpos + width - 15,
- ypos + height - 15,
- 15, 15, "");
- fl_set_object_boxtype(obj,FL_UP_BOX);
- fl_set_object_color(obj,FL_MCOL,FL_BLUE);
- fl_set_object_resize(obj, FL_RESIZE_ALL);
- fl_set_object_gravity(obj, SouthEastGravity, SouthEastGravity);
- obj->u_vdata = this;
- fl_set_object_callback(obj, C_WorkArea_down_cb, 0);
- fl_set_pixmapbutton_data(obj, const_cast<char**>(down_xpm));
-
- fl_set_border_width(-bw);
- // Remove the blue feedback rectangle
- fl_set_pixmapbutton_focus_outline(obj,0);
-#endif