patches to enable compilation with fltk 1.1.2 (tested by their
author, not by me) Submitted by: Stephen Paskaluk
This commit is contained in:
parent
f5ad1f05df
commit
4c2fa9034c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76705
3 changed files with 37 additions and 0 deletions
12
audio/spiralloops/files/patch-Fl_Knob.H
Normal file
12
audio/spiralloops/files/patch-Fl_Knob.H
Normal file
|
@ -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:
|
12
audio/spiralloops/files/patch-Fl_LED_Button.H
Normal file
12
audio/spiralloops/files/patch-Fl_LED_Button.H
Normal file
|
@ -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:
|
13
audio/spiralloops/files/patch-Fl_LED_Button.cxx
Normal file
13
audio/spiralloops/files/patch-Fl_LED_Button.cxx
Normal file
|
@ -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;
|
Loading…
Reference in a new issue