Corrected documentation

This commit is contained in:
Fytch 2017-02-23 18:37:06 +01:00 committed by Lukas Dürrenberger
parent 5fe5e5d6d7
commit 4cde8bb69c
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ public:
/// ///
/// The supported font formats are: TrueType, Type 1, CFF, /// The supported font formats are: TrueType, Type 1, CFF,
/// OpenType, SFNT, X11 PCF, Windows FNT, BDF, PFR and Type 42. /// OpenType, SFNT, X11 PCF, Windows FNT, BDF, PFR and Type 42.
/// Note that this function know nothing about the standard /// Note that this function knows nothing about the standard
/// fonts installed on the user's system, thus you can't /// fonts installed on the user's system, thus you can't
/// load them directly. /// load them directly.
/// ///

View File

@ -445,7 +445,7 @@ private:
/// sf::Text text("hello", font); /// sf::Text text("hello", font);
/// text.setCharacterSize(30); /// text.setCharacterSize(30);
/// text.setStyle(sf::Text::Bold); /// text.setStyle(sf::Text::Bold);
/// text.setColor(sf::Color::Red); /// text.setFillColor(sf::Color::Red);
/// ///
/// // Draw it /// // Draw it
/// window.draw(text); /// window.draw(text);