diff options
author | trevor <trevor@FreeBSD.org> | 2003-03-02 02:02:05 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2003-03-02 02:02:05 +0800 |
commit | 0945437cd2cc4b87dd7958371ff00d530c0d0e2a (patch) | |
tree | 44bc145158662d79f3d7d456dee89932a179162d | |
parent | 9f8196e809d9684c378421da6eb7ff05150e3696 (diff) | |
download | freebsd-ports-gnome-0945437cd2cc4b87dd7958371ff00d530c0d0e2a.tar.gz freebsd-ports-gnome-0945437cd2cc4b87dd7958371ff00d530c0d0e2a.tar.zst freebsd-ports-gnome-0945437cd2cc4b87dd7958371ff00d530c0d0e2a.zip |
patches to enable compilation with fltk 1.1.2 (tested by their
author, not by me)
Submitted by: Stephen Paskaluk
-rw-r--r-- | audio/spiralloops/files/patch-Fl_Knob.H | 12 | ||||
-rw-r--r-- | audio/spiralloops/files/patch-Fl_LED_Button.H | 12 | ||||
-rw-r--r-- | audio/spiralloops/files/patch-Fl_LED_Button.cxx | 13 |
3 files changed, 37 insertions, 0 deletions
diff --git a/audio/spiralloops/files/patch-Fl_Knob.H b/audio/spiralloops/files/patch-Fl_Knob.H new file mode 100644 index 000000000000..d422fd28f4f7 --- /dev/null +++ b/audio/spiralloops/files/patch-Fl_Knob.H @@ -0,0 +1,12 @@ +patch by Stephen Paskaluk to enable compilation with fltk 1.1.2 + +--- GUI/Widgets/Fl_Knob.H.orig Thu Apr 19 16:48:10 2001 ++++ GUI/Widgets/Fl_Knob.H Sat Mar 1 12:36:19 2003 +@@ -4,6 +4,7 @@ + #define Fl_Knob_H + #include <FL/Fl.H> + #include <FL/Fl_Valuator.H> ++#include <FL/Fl_Group.H> + + class Fl_Knob : public Fl_Valuator { + public: diff --git a/audio/spiralloops/files/patch-Fl_LED_Button.H b/audio/spiralloops/files/patch-Fl_LED_Button.H new file mode 100644 index 000000000000..45884959a35b --- /dev/null +++ b/audio/spiralloops/files/patch-Fl_LED_Button.H @@ -0,0 +1,12 @@ +patch by Stephen Paskaluk to enable compilation with fltk 1.1.2 + +--- GUI/Widgets/Fl_LED_Button.H.orig Thu Apr 19 16:48:11 2001 ++++ GUI/Widgets/Fl_LED_Button.H Sat Mar 1 12:39:19 2003 +@@ -4,6 +4,7 @@ + #define Fl_LED_Button_H + #include <FL/Fl.H> + #include <FL/Fl_Light_Button.H> ++#include <FL/Fl_Group.H> + + class Fl_LED_Button : public Fl_Light_Button { + public: 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; |