Change the color of the background widget to red.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8731 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2004-05-04 09:05:21 +00:00
parent 86e0dfa3e1
commit 07cc9f6753
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2004-05-04 Angus Leeming <leeming@lyx.org>
* XWorkArea.C (XWorkArea): set the color of the background, hidden
frame object to red as an incentive to address the drawing issues
of the XForms frontend.
2004-05-03 Angus Leeming <leeming@lyx.org>
* XFormsToolbar.[Ch] (generateInactivePixmaps): simpler mechanics.

View File

@ -116,6 +116,12 @@ XWorkArea::XWorkArea(LyXView & owner, int w, int h)
fl_set_object_resize(obj, FL_RESIZE_ALL);
fl_set_object_gravity(obj, NorthWestGravity, SouthEastGravity);
#ifdef WITH_WARNINGS
#warning "I've set this to red as an incentive to address the drawing issues \
of the XForms frontend. Angus 4 May, 2004"
#endif
fl_set_object_color(obj, FL_RED, FL_MCOL);
// The scrollbar.
scrollbar = obj = fl_add_scrollbar(FL_VERT_SCROLLBAR, 0, 0, w, h, "");
fl_set_object_boxtype(obj, FL_UP_BOX);