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

@ -134,10 +134,10 @@ namespace SFML
public override string ToString()
{
return "[IntRect]" +
" Left = " + Left +
" Top = " + Top +
" Right = " + Right +
" Bottom = " + Bottom;
" Left(" + Left + ")" +
" Top(" + Top + ")" +
" Right(" + Right + ")" +
" Bottom(" + Bottom + ")";
}
/// <summary>Left coordinate of the rectangle</summary>
@ -282,10 +282,10 @@ namespace SFML
public override string ToString()
{
return "[FloatRect]" +
" Left = " + Left +
" Top = " + Top +
" Right = " + Right +
" Bottom = " + Bottom;
" Left(" + Left + ")" +
" Top(" + Top + ")" +
" Right(" + Right + ")" +
" Bottom(" + Bottom + ")";
}
/// <summary>Left coordinate of the rectangle</summary>