freebsd-ports/audio/spiralloops/files/patch-Fl_LED_Button.cxx
Trevor Johnson 4c2fa9034c patches to enable compilation with fltk 1.1.2 (tested by their
author, not by me)

Submitted by:	Stephen Paskaluk
2003-03-01 18:02:05 +00:00

13 lines
560 B
C++

patch by Stephen Paskaluk to enable compilation with fltk 1.1.2
--- GUI/Widgets/Fl_LED_Button.cxx.orig Thu Apr 19 16:48:11 2001
+++ GUI/Widgets/Fl_LED_Button.cxx Sat Mar 1 12:38:27 2003
@@ -15,7 +15,7 @@ Fl_LED_Button::~Fl_LED_Button() {
void Fl_LED_Button::draw() {
uchar r,g,b;
- if (box()) draw_box(this==Fl::pushed() ? down(box()) : box(), color());
+ if (box()) draw_box(this==Fl::pushed() ? down_box() : box(), color());
Fl_Color col = value() ? selection_color() : color();
Fl::get_color((Fl_Color)selection_color(),r,g,b);
int d = h()/6;