Browse Source

Minor documentation fixes

tags/2021-05-28
ed 6 years ago
parent
commit
af1cc0c70f
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      modules/juce_audio_basics/utilities/juce_SmoothedValue.h
  2. +1
    -1
      modules/juce_audio_processors/processors/juce_AudioProcessorParameterGroup.h
  3. +1
    -1
      modules/juce_gui_basics/windows/juce_TooltipWindow.h

+ 1
- 1
modules/juce_audio_basics/utilities/juce_SmoothedValue.h View File

@@ -193,7 +193,7 @@ namespace ValueSmoothingTypes
To smooth values spread across an exponential range, where the increments To smooth values spread across an exponential range, where the increments
between the current and target value are multiplicative (like frequencies), between the current and target value are multiplicative (like frequencies),
you should pass the multiplicative smoothing type as a template paramater:
you should pass the multiplicative smoothing type as a template parameter:
@code @code
SmoothedValue<float, ValueSmoothingTypes::Multiplicative> yourSmoothedValue; SmoothedValue<float, ValueSmoothingTypes::Multiplicative> yourSmoothedValue;


+ 1
- 1
modules/juce_audio_processors/processors/juce_AudioProcessorParameterGroup.h View File

@@ -64,7 +64,7 @@ public:
/** Returns the parent group or nullptr if this is a top-level group. */ /** Returns the parent group or nullptr if this is a top-level group. */
AudioProcessorParameterGroup* getParent() const { return parent; } AudioProcessorParameterGroup* getParent() const { return parent; }
/** Returns a pointer to a parameter if this node contains a paramater, nullptr otherwise. */
/** Returns a pointer to a parameter if this node contains a parameter, nullptr otherwise. */
AudioProcessorParameter* getParameter() const { return parameter.get(); } AudioProcessorParameter* getParameter() const { return parameter.get(); }
/** Returns a pointer to a group if this node contains a group, nullptr otherwise. */ /** Returns a pointer to a group if this node contains a group, nullptr otherwise. */


+ 1
- 1
modules/juce_gui_basics/windows/juce_TooltipWindow.h View File

@@ -65,7 +65,7 @@ public:
To change the style of tooltips, see the LookAndFeel class for its tooltip To change the style of tooltips, see the LookAndFeel class for its tooltip
methods. methods.
@param parentComponent if set to 0, the TooltipWindow will appear on the desktop,
@param parentComponent if set to nullptr, the TooltipWindow will appear on the desktop,
otherwise the tooltip will be added to the given parent otherwise the tooltip will be added to the given parent
component. component.
@param millisecondsBeforeTipAppears the time for which the mouse has to stay still @param millisecondsBeforeTipAppears the time for which the mouse has to stay still


Loading…
Cancel
Save