+2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * WorkArea.[Ch]: remove figinset_canvas cruft.
+
2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxtextclass.C (operator): add one item cache optimization.
using std::abs;
using std::hex;
-FL_OBJECT * figinset_canvas;
-
namespace {
inline
{
fl_freeze_all_forms();
- figinset_canvas = 0;
-
if (lyxerr.debugging(Debug::WORKAREA))
lyxerr << "Creating work area: +"
<< xpos << '+' << ypos << ' '
FL_OBJECT * obj;
int const bw = int(abs(fl_get_border_width()));
- // We really want to get rid of figinset_canvas.
- ::figinset_canvas = figinset_canvas = obj =
- fl_add_canvas(FL_NORMAL_CANVAS,
- xpos + 1, ypos + 1, 1, 1, "");
- fl_set_object_boxtype(obj, FL_NO_BOX);
- fl_set_object_resize(obj, FL_RESIZE_ALL);
- fl_set_object_gravity(obj, NorthWestGravity, NorthWestGravity);
-
// a box
if (lyxerr.debugging(Debug::WORKAREA))
lyxerr << "\tbackground box: +"