Skip to content

Commit

Permalink
Fix some Doxygen docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoole committed Jun 12, 2024
1 parent 4808fdc commit 05b0362
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/juce_animation/animation/juce_Easings.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ namespace juce
{

//==============================================================================
/** A selection of options available for customising a spring style easing function. */
/** A selection of options available for customising a spring style easing function.
@tags{Animations}
*/
class SpringEasingOptions
{
public:
Expand Down
4 changes: 4 additions & 0 deletions modules/juce_core/misc/juce_OptionsHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
==============================================================================
*/

/** A base class for building Options.
@tags{Core}
*/
template <typename OptionsType>
class OptionsBuilder
{
Expand Down
4 changes: 4 additions & 0 deletions modules/juce_graphics/fonts/juce_FunctionPointerDestructor.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
==============================================================================
*/

#ifndef DOXYGEN

namespace juce
{

Expand All @@ -47,3 +49,5 @@ struct FunctionPointerDestructor
};

} // namespace juce

#endif
4 changes: 4 additions & 0 deletions modules/juce_graphics/fonts/juce_LruCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
==============================================================================
*/

#ifndef DOXYGEN

namespace juce
{

Expand Down Expand Up @@ -82,3 +84,5 @@ class LruCache
};

} // namespace juce

#endif
9 changes: 9 additions & 0 deletions modules/juce_graphics/fonts/juce_Typeface.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ namespace juce

/** A single path-based layer of a colour glyph. Contains the glyph shape and the colour in which
the shape should be painted.
@tags{Graphics}
*/
struct ColourLayer
{
Expand All @@ -45,6 +47,8 @@ struct ColourLayer
};

/** A bitmap representing (part of) a glyph, most commonly used to represent colour emoji glyphs.
@tags{Graphics}
*/
struct ImageLayer
{
Expand All @@ -53,6 +57,8 @@ struct ImageLayer
};

/** A single layer that makes up part of a glyph image.
@tags{Graphics}
*/
struct GlyphLayer
{
Expand Down Expand Up @@ -85,6 +91,8 @@ enum class TypefaceMetricsKind
};

/** Font metrics using JUCE conventions.
@tags{Graphics}
*/
struct TypefaceMetrics
{
Expand Down Expand Up @@ -280,6 +288,7 @@ class JUCE_API Typeface : public ReferenceCountedObject
const auto isMonochrome = typeface->getColourGlyphFormats() == 0;
const auto isSvg = (typeface->getColourGlyphFormats() & Typeface::colourGlyphFormatSvg) != 0;
const auto isSimpleColour = (typeface->getColourGlyphFormats() & (Typeface::colourGlyphFormatBitmap | Typeface::colourGlyphFormatCOLRv0)) != 0;
@endcode
*/
int getColourGlyphFormats() const;

Expand Down
4 changes: 4 additions & 0 deletions modules/juce_graphics/fonts/juce_TypefaceFileCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
==============================================================================
*/

#ifndef DOXYGEN

namespace juce
{

Expand Down Expand Up @@ -68,3 +70,5 @@ class TypefaceFileCache : public DeletedAtShutdown
JUCE_IMPLEMENT_SINGLETON (TypefaceFileCache)

} // namespace juce

#endif
2 changes: 2 additions & 0 deletions modules/juce_gui_basics/widgets/juce_Slider.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ namespace juce
@see Slider::addListener, Slider::removeListener, WebSliderRelay::addListener,
WebSliderRelay::removeListener
@tags{GUI}
*/
template <typename Emitter>
class JUCE_API SliderListener
Expand Down
2 changes: 2 additions & 0 deletions modules/juce_gui_extra/misc/juce_WebBrowserComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,10 @@ class JUCE_API WebBrowserComponent : public Component
class EvaluationResult
{
public:
/** A simple error type class. */
struct Error
{
/** Error type. */
enum class Type
{
/** Error occurring for a reason unknown to us. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ namespace juce
In your frontend code you can use the ControlParameterIndexUpdater class, that emits
controlParameterIndexChanged events based on the mouse movement, and control parameter index
annotations attached to DOM elements.
@tags{GUI}
*/
class JUCE_API WebControlParameterIndexReceiver : public OptionsBuilder<WebBrowserComponent::Options>
{
Expand Down
6 changes: 6 additions & 0 deletions modules/juce_gui_extra/misc/juce_WebControlRelays.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ namespace juce
@endcode
@see WebSliderParameterAttachment
@tags{GUI}
*/
class JUCE_API WebSliderRelay : public OptionsBuilder<WebBrowserComponent::Options>
{
Expand Down Expand Up @@ -129,6 +131,8 @@ class JUCE_API WebSliderRelay : public OptionsBuilder<WebBrowserComponent::Opti
@endcode
@see WebToggleButtonParameterAttachment
@tags{GUI}
*/
class JUCE_API WebToggleButtonRelay : public OptionsBuilder<WebBrowserComponent::Options>
{
Expand Down Expand Up @@ -197,6 +201,8 @@ class JUCE_API WebToggleButtonRelay : public OptionsBuilder<WebBrowserComponen
@endcode
@see WebComboBoxParameterAttachment
@tags{GUI}
*/
class JUCE_API WebComboBoxRelay : public OptionsBuilder<WebBrowserComponent::Options>
{
Expand Down

0 comments on commit 05b0362

Please sign in to comment.