From a04b514985c8202e92f31f9cfbe6f0e23baec37f Mon Sep 17 00:00:00 2001 From: ooxi Date: Tue, 29 Dec 2015 11:58:00 +0100 Subject: [PATCH 1/5] Fix wrong method name in example The SDL2 method [SDL_SetRenderDrawColor](https://wiki.libsdl.org/SDL_SetRenderDrawColor) is exposed as [SetDrawColor](https://github.com/libSDL2pp/libSDL2pp/blob/master/SDL2pp/Renderer.hh#L316) not `SetRenderColor` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 34d521b..83cb29a 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ try { sprite1.Update(Rect(0, 0, 16, 16), pixels, 16 * 4); // Most setter methods are chainable - renderer.SetLogicalSize(640, 480).SetRenderColor(0, 16, 32).Clear(); + renderer.SetLogicalSize(640, 480).SetDrawColor(0, 16, 32).Clear(); // Also note a safe way to specify null rects and points renderer.Copy(sprite1, NullOpt, NullOpt); From 61d2ed7e38d79c867ee1ced7490cbd9e558aaf4c Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 29 Dec 2015 15:07:45 +0300 Subject: [PATCH 2/5] Add new contributor --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 83cb29a..6cf1ff1 100644 --- a/README.md +++ b/README.md @@ -268,6 +268,7 @@ Projects using libSDL2pp: * [Carl Schwope](https://github.com/Lowest0ne) * [Carsten Elton Sorensen](https://github.com/csoren) * [kumar8600](https://github.com/kumar8600) +* [ooxi](https://github.com/ooxi) * [Vladimir Gamalian](https://github.com/vladimirgamalian) ## License ## From b9e087701a9e4e80ac949d2bb26cd431f959c515 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 29 Dec 2015 15:08:44 +0300 Subject: [PATCH 3/5] Add new user --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6cf1ff1..0306a42 100644 --- a/README.md +++ b/README.md @@ -251,6 +251,7 @@ Projects using libSDL2pp: * [neopedersia](https://github.com/vladimirgamalian/neopedersia) - Nexus Wars style game * [OpenDaed](https://github.com/AMDmi3/opendaed) - Libre reimplementation of The Daedalus Encounter game * [OpenStrike](https://github.com/AMDmi3/openstrike) - Libre reimplementation of Jungle and Desert Strike games +* [osmview](https://bitbucket.org/ipopov/osmview) - Desktop OpenStreetMap viewer * [planetonomy](https://github.com/AMDmi3/planetonomy) - Old-school platformer/exploration game with CGA graphics ## WWW ## From dfa6832a9a93533676c255059d1f724b7000ddcd Mon Sep 17 00:00:00 2001 From: Ilya Popov Date: Wed, 30 Dec 2015 12:11:41 +0100 Subject: [PATCH 4/5] Fix typo in doc comment See #60 --- SDL2pp/Font.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDL2pp/Font.hh b/SDL2pp/Font.hh index a273de2..ef0aa99 100644 --- a/SDL2pp/Font.hh +++ b/SDL2pp/Font.hh @@ -456,7 +456,7 @@ public: //////////////////////////////////////////////////////////// /// \brief Get glyph metrics of the UNICODE char /// - /// \param[out] ch UNICODE char to get the glyph metrics for + /// \param[in] ch UNICODE char to get the glyph metrics for /// \param[out] minx Variable to store the returned minimum X offset into /// \param[out] maxx Variable to store the returned maximum X offset into /// \param[out] miny Variable to store the returned minimum Y offset into From 05325e13c80fd84567d7595741c57161938a483b Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 30 Dec 2015 16:43:51 +0300 Subject: [PATCH 5/5] Add new contributor --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0306a42..40b51f1 100644 --- a/README.md +++ b/README.md @@ -268,6 +268,7 @@ Projects using libSDL2pp: * [Aargonian](https://github.com/Aargonian) * [Carl Schwope](https://github.com/Lowest0ne) * [Carsten Elton Sorensen](https://github.com/csoren) +* [Ilya Popov](https://github.com/ilyapopov) * [kumar8600](https://github.com/kumar8600) * [ooxi](https://github.com/ooxi) * [Vladimir Gamalian](https://github.com/vladimirgamalian)