diff --git a/SDL2pp/Font.hh b/SDL2pp/Font.hh index bda5456..6ba25ed 100644 --- a/SDL2pp/Font.hh +++ b/SDL2pp/Font.hh @@ -137,6 +137,9 @@ public: //////////////////////////////////////////////////////////// TTF_Font* Get() const; + ///@{ + /// \name Attributes + //////////////////////////////////////////////////////////// /// \brief Get the rendering style of the loaded font /// @@ -536,6 +539,11 @@ public: //////////////////////////////////////////////////////////// Point GetSizeUNICODE(const std::u16string& text) const; + ///@} + + ///@{ + /// \name Rendering + //////////////////////////////////////////////////////////// /// \brief Render LATIN1 text using solid mode /// @@ -765,6 +773,8 @@ public: /// //////////////////////////////////////////////////////////// Surface RenderGlyph_Blended(Uint16 ch, SDL_Color fg); + + ///@} }; } diff --git a/SDL2pp/Mixer.hh b/SDL2pp/Mixer.hh index 2c3f64e..d37d691 100644 --- a/SDL2pp/Mixer.hh +++ b/SDL2pp/Mixer.hh @@ -120,6 +120,9 @@ public: //////////////////////////////////////////////////////////// Mixer& operator=(const Mixer& other) = delete; + ///@{ + /// \name Channels + //////////////////////////////////////////////////////////// /// \brief Set the number of channels to mix /// @@ -372,6 +375,11 @@ public: //////////////////////////////////////////////////////////// Mix_Fading GetChannelFading(int which) const; + ///@} + + ///@{ + /// \name Groups + //////////////////////////////////////////////////////////// /// \brief Prevent channels from being used in default group /// @@ -494,6 +502,11 @@ public: //////////////////////////////////////////////////////////// void HaltGroup(int tag); + ///@} + + ///@{ + /// \name Music + //////////////////////////////////////////////////////////// /// \brief Play music /// @@ -652,6 +665,11 @@ public: //////////////////////////////////////////////////////////// void SetMusicHook(MusicHook&& hook); + ///@} + + ///@{ + /// \name Effects + // TODO: custom effects //////////////////////////////////////////////////////////// @@ -769,6 +787,8 @@ public: /// //////////////////////////////////////////////////////////// void UnsetReverseStereo(int channel); + + ///@} }; }