From 9f5d6a0ecbf4c8beaed7028c13f52aad443cf394 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 27 Apr 2002 19:35:18 +0000 Subject: Fix rendering of Fl_Light_Button with the plastic scheme. The "none" and "base" schemes map to no scheme (standard FLTK look-n-feel) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2119 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 2 ++ src/Fl_Light_Button.cxx | 12 +++++++++--- src/Fl_get_system_colors.cxx | 6 +++--- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/CHANGES b/CHANGES index a0ae2f0e7..516868495 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,7 @@ CHANGES IN FLTK 1.1.0rc1 + - Fixed rendering of Fl_Light_Button with the plastic + scheme. - Fixed a bug in the MacOS font enumeration code. - Now show a "locked" icon next to static/private elements in FLUID, and "unlocked" icon next to diff --git a/src/Fl_Light_Button.cxx b/src/Fl_Light_Button.cxx index 8a9ad003f..f23f7614e 100644 --- a/src/Fl_Light_Button.cxx +++ b/src/Fl_Light_Button.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.13 2002/04/11 10:46:19 easysw Exp $" +// "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.14 2002/04/27 19:35:18 easysw Exp $" // // Lighted button widget for the Fast Light Tool Kit (FLTK). // @@ -92,7 +92,13 @@ void Fl_Light_Button::draw() { int ww = W/2+1; int xx = dx; if (w()