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

@ -224,18 +224,18 @@ namespace SFML
public override string ToString()
{
return "[Music]" +
" SampleRate = " + SampleRate +
" ChannelsCount = " + ChannelsCount +
" Status = " + Status +
" Duration = " + Duration +
" Loop = " + Loop +
" Pitch = " + Pitch +
" Volume = " + Volume +
" Position = " + Position +
" RelativeToListener = " + RelativeToListener +
" MinDistance = " + MinDistance +
" Attenuation = " + Attenuation +
" PlayingOffset = " + PlayingOffset;
" SampleRate(" + SampleRate + ")" +
" ChannelsCount(" + ChannelsCount + ")" +
" Status(" + Status + ")" +
" Duration(" + Duration + ")" +
" Loop(" + Loop + ")" +
" Pitch(" + Pitch + ")" +
" Volume(" + Volume + ")" +
" Position(" + Position + ")" +
" RelativeToListener(" + RelativeToListener + ")" +
" MinDistance(" + MinDistance + ")" +
" Attenuation(" + Attenuation + ")" +
" PlayingOffset(" + PlayingOffset + ")";
}
////////////////////////////////////////////////////////////

View file

@ -219,16 +219,16 @@ namespace SFML
public override string ToString()
{
return "[Sound]" +
" Status = " + Status +
" Loop = " + Loop +
" Pitch = " + Pitch +
" Volume = " + Volume +
" Position = " + Position +
" RelativeToListener = " + RelativeToListener +
" MinDistance = " + MinDistance +
" Attenuation = " + Attenuation +
" PlayingOffset = " + PlayingOffset +
" SoundBuffer = " + SoundBuffer;
" Status(" + Status + ")" +
" Loop(" + Loop + ")" +
" Pitch(" + Pitch + ")" +
" Volume(" + Volume + ")" +
" Position(" + Position + ")" +
" RelativeToListener(" + RelativeToListener + ")" +
" MinDistance(" + MinDistance + ")" +
" Attenuation(" + Attenuation + ")" +
" PlayingOffset(" + PlayingOffset + ")" +
" SoundBuffer(" + SoundBuffer + ")";
}
////////////////////////////////////////////////////////////

View file

@ -154,9 +154,9 @@ namespace SFML
public override string ToString()
{
return "[SoundBuffer]" +
" SampleRate = " + SampleRate +
" ChannelsCount = " + ChannelsCount +
" Duration = " + Duration;
" SampleRate(" + SampleRate + ")" +
" ChannelsCount(" + ChannelsCount + ")" +
" Duration(" + Duration + ")";
}
////////////////////////////////////////////////////////////

View file

@ -37,8 +37,8 @@ namespace SFML
public override string ToString()
{
return "[SoundBufferRecorder]" +
" SampleRate = " + SampleRate +
" SoundBuffer = " + SoundBuffer;
" SampleRate(" + SampleRate + ")" +
" SoundBuffer(" + SoundBuffer + ")";
}
////////////////////////////////////////////////////////////

View file

@ -92,7 +92,7 @@ namespace SFML
public override string ToString()
{
return "[SoundRecorder]" +
" SampleRate = " + SampleRate;
" SampleRate(" + SampleRate + ")";
}
////////////////////////////////////////////////////////////

View file

@ -189,17 +189,17 @@ namespace SFML
public override string ToString()
{
return "[SoundStream]" +
" SampleRate = " + SampleRate +
" ChannelsCount = " + ChannelsCount +
" Status = " + Status +
" Loop = " + Loop +
" Pitch = " + Pitch +
" Volume = " + Volume +
" Position = " + Position +
" RelativeToListener = " + RelativeToListener +
" MinDistance = " + MinDistance +
" Attenuation = " + Attenuation +
" PlayingOffset = " + PlayingOffset;
" SampleRate(" + SampleRate + ")" +
" ChannelsCount(" + ChannelsCount + ")" +
" Status(" + Status + ")" +
" Loop(" + Loop + ")" +
" Pitch(" + Pitch + ")" +
" Volume(" + Volume + ")" +
" Position(" + Position + ")" +
" RelativeToListener(" + RelativeToListener + ")" +
" MinDistance(" + MinDistance + ")" +
" Attenuation(" + Attenuation + ")" +
" PlayingOffset(" + PlayingOffset + ")";
}
////////////////////////////////////////////////////////////

View file

@ -115,9 +115,9 @@ namespace SFML
public override string ToString()
{
return "[Vector3]" +
" X = " + X +
" Y = " + Y +
" Z = " + Z;
" X(" + X + ")" +
" Y(" + Y + ")" +
" Z(" + Z + ")";
}
/// <summary>X (horizontal) component of the vector</summary>