diff --git a/modules/juce_audio_utils/gui/juce_AudioAppComponent.h b/modules/juce_audio_utils/gui/juce_AudioAppComponent.h index 94d800c6c9..b77103da52 100644 --- a/modules/juce_audio_utils/gui/juce_AudioAppComponent.h +++ b/modules/juce_audio_utils/gui/juce_AudioAppComponent.h @@ -31,8 +31,8 @@ A base class for writing audio apps that stream from the audio i/o devices. A subclass can inherit from this and implement just a few methods such as - renderAudio(). The base class provides a basic AudioDeviceManager object - and runs audio through the + getNextAudioBlock(). The base class provides a basic AudioDeviceManager object + and runs audio through the default output device. */ class AudioAppComponent : public Component, public AudioSource diff --git a/modules/juce_graphics/geometry/juce_Path.h b/modules/juce_graphics/geometry/juce_Path.h index 3dad5da1fa..8068cc6f10 100644 --- a/modules/juce_graphics/geometry/juce_Path.h +++ b/modules/juce_graphics/geometry/juce_Path.h @@ -499,21 +499,20 @@ public: /** Adds a "pie-chart" shape to the path. - The shape is added as a new sub-path. (Any currently open paths will be - left open). + The shape is added as a new sub-path. (Any currently open paths will be left open). Note that when specifying the start and end angles, the curve will be drawn either clockwise or anti-clockwise according to whether the end angle is greater than the start. This means that sometimes you may need to use values greater than 2*Pi for the end angle. - @param area the outer rectangle in which the elliptical outline fits - @param fromRadians the angle (clockwise) in radians at which to start the arc segment (where 0 is the - top-centre of the ellipse) - @param toRadians the angle (clockwise) in radians at which to end the arc segment (where 0 is the - top-centre of the ellipse) + @param segmentBounds the outer rectangle in which the elliptical outline fits + @param fromRadians the angle (clockwise) in radians at which to start the arc segment (where 0 is the + top-centre of the ellipse) + @param toRadians the angle (clockwise) in radians at which to end the arc segment (where 0 is the + top-centre of the ellipse) @param innerCircleProportionalSize if this is > 0, then the pie will be drawn as a curved band around a hollow - ellipse at its centre, where this value indicates the inner ellipse's size with - respect to the outer one. + ellipse at its centre, where this value indicates the inner ellipse's size with + respect to the outer one. @see addArc */ void addPieSegment (Rectangle segmentBounds, diff --git a/modules/juce_gui_basics/components/juce_ModalComponentManager.h b/modules/juce_gui_basics/components/juce_ModalComponentManager.h index 1b927e121d..1eac49938d 100644 --- a/modules/juce_gui_basics/components/juce_ModalComponentManager.h +++ b/modules/juce_gui_basics/components/juce_ModalComponentManager.h @@ -72,6 +72,9 @@ public: virtual void modalStateFinished (int returnValue) = 0; }; + //============================================================================== + juce_DeclareSingleton_SingleThreaded_Minimal (ModalComponentManager) + //============================================================================== /** Returns the number of components currently being shown modally. @see getModalComponent @@ -119,9 +122,6 @@ public: int runEventLoopForCurrentComponent(); #endif - //============================================================================== - juce_DeclareSingleton_SingleThreaded_Minimal (ModalComponentManager) - protected: /** Creates a ModalComponentManager. You shouldn't ever call the constructor - it's a singleton, so use ModalComponentManager::getInstance()