diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2003-03-01 18:02:05 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2003-03-01 18:02:05 +0000 |
commit | 4c2fa9034c35fed6504f94ef2ceb86ed99483436 (patch) | |
tree | 5b6ec3e2829919478f84b8484b3e3bfb895b70bd /audio/spiralloops/files/patch-Fl_LED_Button.cxx | |
parent | * Update to 4.2.43 (diff) |
patches to enable compilation with fltk 1.1.2 (tested by their
author, not by me)
Submitted by: Stephen Paskaluk
Notes
Notes:
svn path=/head/; revision=76705
Diffstat (limited to 'audio/spiralloops/files/patch-Fl_LED_Button.cxx')
-rw-r--r-- | audio/spiralloops/files/patch-Fl_LED_Button.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/spiralloops/files/patch-Fl_LED_Button.cxx b/audio/spiralloops/files/patch-Fl_LED_Button.cxx new file mode 100644 index 000000000000..c240d99767c1 --- /dev/null +++ b/audio/spiralloops/files/patch-Fl_LED_Button.cxx @@ -0,0 +1,13 @@ +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; |