From 7a1f6d8f0dabf07ab95990b81300d408c6f87444 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sat, 10 Jan 2015 22:11:50 +0300 Subject: [PATCH] Fix typos --- SDL2pp/Exception.hh | 4 ++-- SDL2pp/Font.hh | 4 ++-- SDL2pp/Point.hh | 4 ++-- SDL2pp/Renderer.hh | 12 ++++++------ SDL2pp/SDL2pp.hh | 4 ++-- SDL2pp/Window.hh | 10 +++++----- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/SDL2pp/Exception.hh b/SDL2pp/Exception.hh index 5151f1a..f7836b3 100644 --- a/SDL2pp/Exception.hh +++ b/SDL2pp/Exception.hh @@ -1,6 +1,6 @@ /* libSDL2pp - C++11 bindings/wrapper for SDL2 - Copyright (C) 2013-2014 Dmitry Marakasov + Copyright (C) 2013-2015 Dmitry Marakasov This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -36,7 +36,7 @@ namespace SDL2pp { /// /// Internally, libSDL2pp checks return value of each SDL2 /// function it calls which may fail. If the function fails, -/// SDL2pp::Exception is thrown, and SDL2 error which expains +/// SDL2pp::Exception is thrown, and SDL2 error which explains /// cause of function failure is stored in the exception and /// may be extracted later. /// diff --git a/SDL2pp/Font.hh b/SDL2pp/Font.hh index 931c692..8a15e70 100644 --- a/SDL2pp/Font.hh +++ b/SDL2pp/Font.hh @@ -232,9 +232,9 @@ public: bool GetKerning() const; //////////////////////////////////////////////////////////// - /// \brief Set whther to use kerning when rendering the loaded font + /// \brief Set whether to use kerning when rendering the loaded font /// - /// \param allowed False to diable kerning, true to enable kerning. + /// \param allowed False to disable kerning, true to enable kerning. /// The default is true, enabled /// /// Set whether to use kerning when rendering the loaded font. diff --git a/SDL2pp/Point.hh b/SDL2pp/Point.hh index 4fe66cb..27c455d 100644 --- a/SDL2pp/Point.hh +++ b/SDL2pp/Point.hh @@ -1,6 +1,6 @@ /* libSDL2pp - C++11 bindings/wrapper for SDL2 - Copyright (C) 2013-2014 Dmitry Marakasov + Copyright (C) 2013-2015 Dmitry Marakasov This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -219,7 +219,7 @@ public: Point& operator-=(const Point& other); //////////////////////////////////////////////////////////// - /// \brief Memberwise divide by an inteher + /// \brief Memberwise divide by an integer /// /// \param value Divisor /// diff --git a/SDL2pp/Renderer.hh b/SDL2pp/Renderer.hh index 1d0b9bc..174b4ee 100644 --- a/SDL2pp/Renderer.hh +++ b/SDL2pp/Renderer.hh @@ -1,6 +1,6 @@ /* libSDL2pp - C++11 bindings/wrapper for SDL2 - Copyright (C) 2013-2014 Dmitry Marakasov + Copyright (C) 2013-2015 Dmitry Marakasov This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -357,7 +357,7 @@ public: //////////////////////////////////////////////////////////// /// \brief Draw a rectangle on the current rendering target /// - /// \param r Rectange to draw + /// \param r Rectangle to draw /// /// \throws SDL2pp::Exceptions /// @@ -410,7 +410,7 @@ public: //////////////////////////////////////////////////////////// /// \brief Fill a rectangle on the current rendering target /// - /// \param r Rectange to draw + /// \param r Rectangle to draw /// /// \throws SDL2pp::Exceptions /// @@ -452,9 +452,9 @@ public: void ReadPixels(const Optional& rect, Uint32 format, void* pixels, int pitch); //////////////////////////////////////////////////////////// - /// \brief Set the clipping rectange for rendering + /// \brief Set the clipping rectangle for rendering /// - /// \param rect New clipping rectangle or NullOpt to dusable + /// \param rect New clipping rectangle or NullOpt to disable /// clipping /// /// \throws SDL2pp::Exceptions @@ -468,7 +468,7 @@ public: /// \brief Set a device independent resolution for rendering /// /// \param w Width of the logical resolution - /// \param h Heigth of the logical resolution + /// \param h Height of the logical resolution /// /// \throws SDL2pp::Exceptions /// diff --git a/SDL2pp/SDL2pp.hh b/SDL2pp/SDL2pp.hh index c383cb2..833477a 100644 --- a/SDL2pp/SDL2pp.hh +++ b/SDL2pp/SDL2pp.hh @@ -1,6 +1,6 @@ /* libSDL2pp - C++11 bindings/wrapper for SDL2 - Copyright (C) 2013-2014 Dmitry Marakasov + Copyright (C) 2013-2015 Dmitry Marakasov This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -98,7 +98,7 @@ //////////////////////////////////////////////////////////// /// \defgroup ttf SDL_ttf /// -/// \brief Text rendering throught SDL_ttf library +/// \brief Text rendering through SDL_ttf library /// //////////////////////////////////////////////////////////// #ifdef SDL2PP_WITH_TTF diff --git a/SDL2pp/Window.hh b/SDL2pp/Window.hh index d1a9a79..8b5546a 100644 --- a/SDL2pp/Window.hh +++ b/SDL2pp/Window.hh @@ -1,6 +1,6 @@ /* libSDL2pp - C++11 bindings/wrapper for SDL2 - Copyright (C) 2013-2014 Dmitry Marakasov + Copyright (C) 2013-2015 Dmitry Marakasov This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -73,7 +73,7 @@ public: Window(SDL_Window* window); //////////////////////////////////////////////////////////// - /// \brief Create window with specified title and fimensions + /// \brief Create window with specified title and dimensions /// /// \param title Title of the windows, in UTF-8 encoding /// \param x X position of the window, SDL_WINDOWPOS_CENTERED, or SDL_WINDOWPOS_UNDEFINED @@ -231,8 +231,8 @@ public: //////////////////////////////////////////////////////////// /// \brief Set the size of a window's client area /// - /// \param w Width of the window in pixles - /// \param h Height of the window in pixles + /// \param w Width of the window in pixels + /// \param h Height of the window in pixels /// /// \see http://wiki.libsdl.org/SDL_SetWindowSize /// @@ -242,7 +242,7 @@ public: //////////////////////////////////////////////////////////// /// \brief Set the size of a window's client area /// - /// \param size Point representin window dimensions + /// \param size Point representing window dimensions /// /// \see http://wiki.libsdl.org/SDL_SetWindowSize ///