From 07cc9f67534474b167ca1ea727bda643fdd8d197 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Tue, 4 May 2004 09:05:21 +0000 Subject: [PATCH] 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 --- src/frontends/xforms/ChangeLog | 6 ++++++ src/frontends/xforms/XWorkArea.C | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index ed62e17c6f..49a715b7dd 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,9 @@ +2004-05-04 Angus Leeming + + * 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 * XFormsToolbar.[Ch] (generateInactivePixmaps): simpler mechanics. diff --git a/src/frontends/xforms/XWorkArea.C b/src/frontends/xforms/XWorkArea.C index 4d9893b49c..aeb945bab8 100644 --- a/src/frontends/xforms/XWorkArea.C +++ b/src/frontends/xforms/XWorkArea.C @@ -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); -- 2.39.2