mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
Revert the red color of the frame widget.
Instead, set it to LColor::background. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8736 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a81c35023a
commit
9c628d363a
@ -1,3 +1,8 @@
|
||||
2004-05-04 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* XWorkArea.C (XWorkArea): revert the red color of the frame widget.
|
||||
Instead, set it to LColor::background.
|
||||
|
||||
2004-05-04 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* XFormsToolbar.C (show, hide): do nothing if the toolbar is
|
||||
|
@ -12,11 +12,14 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "XWorkArea.h"
|
||||
|
||||
#include "Color.h"
|
||||
#include "XFormsView.h"
|
||||
#include "XLyXKeySym.h"
|
||||
|
||||
#include "debug.h"
|
||||
#include "XLyXKeySym.h"
|
||||
#include "funcrequest.h"
|
||||
#include "LColor.h"
|
||||
#include "Timeout.h"
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
@ -116,11 +119,11 @@ 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);
|
||||
unsigned int r, g, b;
|
||||
if (getRGBColor(LColor::background, r, g, b)) {
|
||||
fl_mapcolor(FL_FREE_COL12, r, g, b);
|
||||
fl_set_object_color(obj, FL_FREE_COL12, FL_MCOL);
|
||||
}
|
||||
|
||||
// The scrollbar.
|
||||
scrollbar = obj = fl_add_scrollbar(FL_VERT_SCROLLBAR, 0, 0, w, h, "");
|
||||
|
Loading…
Reference in New Issue
Block a user