Use FL_BACKGROUND2_COLOR for the standard Fl_Choice background instead of
fl_lighter(color()), so that the previous look-n-feel is preserved. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
b04788a189
commit
9663eaa1c4
@ -51,7 +51,7 @@ void Fl_Choice::draw() {
|
||||
fl_polygon(x1, y1 + 3, x1 + w1, y1 + w1 + 3, x1 + 2 * w1, y1 + 3);
|
||||
fl_polygon(x1, y1 + 1, x1 + w1, y1 - w1 + 1, x1 + 2 * w1, y1 + 1);
|
||||
} else {
|
||||
draw_box(FL_DOWN_BOX, fl_lighter(color()));
|
||||
draw_box(FL_DOWN_BOX, FL_BACKGROUND2_COLOR);
|
||||
draw_box(FL_UP_BOX,X,Y,W,H,color());
|
||||
|
||||
fl_color(active_r() ? labelcolor() : fl_inactive(labelcolor()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user