pkgsrc/audio/spiralsynth/patches/patch-af
ben 60531e216e Update SpiralSynth to version 2.0.0. Notable changes include:
* Totally replaced audio core code with SSM plugin code,
	modified for static linking.
* Uses 32bit floating point format internally.
* New midi device handling.
* New OSS output code.
* New funky sliders.
* Updated for fltk 1.1.0
2004-11-25 17:24:27 +00:00

22 lines
660 B
Text

$NetBSD: patch-af,v 1.2 2004/11/25 17:24:27 ben Exp $
--- GUI/ScopeGUI.C.orig Tue Jun 4 06:27:30 2002
+++ GUI/ScopeGUI.C
@@ -22,7 +22,7 @@
#include <FL/fl_draw.H>
-ScopeWidget::ScopeWidget(int x,int y,int w,int h,const char *l=0) :
+ScopeWidget::ScopeWidget(int x,int y,int w,int h,const char *l) :
Fl_Widget(x,y,w,h,l),
m_Data(NULL)
{
@@ -54,7 +54,7 @@ void ScopeGUI::Display(short *data)
if (!m_Bypass) m_Scope->redraw();
}
-void ScopeGUI::CreateGUI(int xoff=0, int yoff=0, char *name)
+void ScopeGUI::CreateGUI(int xoff, int yoff, char *name)
{
Fl_Group* o = GUIScopeGroup = new Fl_Group(xoff, yoff, 220, 110, name);
o->type(1);