From 849ecabf538ff53965ef652bf4f2d0581cd5f8b4 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 2 Oct 2006 14:29:43 +0000 Subject: Fix light button drawing so that the glowing LED mode is only used when Fl::scheme() is "plastic". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Light_Button.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Fl_Light_Button.cxx b/src/Fl_Light_Button.cxx index 531064913..14943419f 100644 --- a/src/Fl_Light_Button.cxx +++ b/src/Fl_Light_Button.cxx @@ -35,6 +35,7 @@ #include #include #include +#include "flstring.h" void Fl_Light_Button::draw() { if (box()) draw_box(this==Fl::pushed() ? fl_down(box()) : box(), color()); @@ -118,7 +119,7 @@ void Fl_Light_Button::draw() { int ww = W/2+1; int xx = dx; if (w()