Skip to content

Commit

Permalink
Use FL_BACKGROUND2_COLOR for the standard Fl_Choice background instea…
Browse files Browse the repository at this point in the history
…d 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
  • Loading branch information
michaelrsweet committed Sep 23, 2006
1 parent b04788a commit 9663eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fl_Choice.cxx
Expand Up @@ -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()));
Expand Down

0 comments on commit 9663eaa

Please sign in to comment.