[CM] ANNOUNCE: Grace 1.0.2
Russell Johnston
russell at sharpfour.net
Tue Aug 26 22:13:25 PDT 2008
> Next, I got an error with Console.cpp. I couldn't _solve_ the problem,
> but I was able to get around it by commenting the SliderMenuComponent
> out of the menu as follows. I'm sure you can fix it properly!
This patch will fix the problem in Console.cpp (it just creates a scope
for the variable sliderComp which does not overlap case labels).
@@ -580,11 +580,13 @@
true,
console->isCurrentTheme(i));
menu.addSubMenu(T("Themes"), sub1, true);
- SliderMenuComponent *sliderComp = new SliderMenuComponent(this);
- sliderComp->slider->setValue(getOpacity(), false);
- sliderComp->slider->addListener(this);
- menu.addCustomItem(CommandIDs::ViewOpacity,
- sliderComp);
+ {
+ SliderMenuComponent *sliderComp = new SliderMenuComponent(this);
+ sliderComp->slider->setValue(getOpacity(), false);
+ sliderComp->slider->addListener(this);
+ menu.addCustomItem(CommandIDs::ViewOpacity,
+ sliderComp);
+ }
menu.addSeparator();
break;
I also modified Csound.h as follows, to resolve ambiguity between
typedefs in juce and csound.
@@ -14,6 +14,9 @@
#include "Console.h"
#ifdef PORTCSOUND
+using ::int32;
+using ::uint32;
+
#ifdef MACOSX
#include <CsoundLib/csound.h>
#endif
More information about the Cmdist
mailing list