Improved the string format used in ToString() functions

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1361 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-01-17 10:03:46 +00:00
parent 8577dbd56d
commit 8ba9495c02
21 changed files with 133 additions and 133 deletions

View file

@ -277,17 +277,17 @@ namespace SFML
public override string ToString()
{
return "[Text]" +
" Position = " + Position +
" Rotation = " + Rotation +
" Scale = " + Scale +
" Origin = " + Origin +
" Color = " + Color +
" BlendMode = " + BlendMode +
" String = " + DisplayedString +
" Font = " + Font +
" Size = " + Size +
" Style = " + Style +
" Rectangle = " + GetRect();
" Position(" + Position + ")" +
" Rotation(" + Rotation + ")" +
" Scale(" + Scale + ")" +
" Origin(" + Origin + ")" +
" Color(" + Color + ")" +
" BlendMode(" + BlendMode + ")" +
" String(" + DisplayedString + ")" +
" Font(" + Font + ")" +
" Size(" + Size + ")" +
" Style(" + Style + ")" +
" Rectangle(" + GetRect() + ")";
}
////////////////////////////////////////////////////////////