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:
parent
8577dbd56d
commit
8ba9495c02
21 changed files with 133 additions and 133 deletions
|
@ -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 + ")";
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -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 + ")";
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -154,9 +154,9 @@ namespace SFML
|
|||
public override string ToString()
|
||||
{
|
||||
return "[SoundBuffer]" +
|
||||
" SampleRate = " + SampleRate +
|
||||
" ChannelsCount = " + ChannelsCount +
|
||||
" Duration = " + Duration;
|
||||
" SampleRate(" + SampleRate + ")" +
|
||||
" ChannelsCount(" + ChannelsCount + ")" +
|
||||
" Duration(" + Duration + ")";
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -37,8 +37,8 @@ namespace SFML
|
|||
public override string ToString()
|
||||
{
|
||||
return "[SoundBufferRecorder]" +
|
||||
" SampleRate = " + SampleRate +
|
||||
" SoundBuffer = " + SoundBuffer;
|
||||
" SampleRate(" + SampleRate + ")" +
|
||||
" SoundBuffer(" + SoundBuffer + ")";
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -92,7 +92,7 @@ namespace SFML
|
|||
public override string ToString()
|
||||
{
|
||||
return "[SoundRecorder]" +
|
||||
" SampleRate = " + SampleRate;
|
||||
" SampleRate(" + SampleRate + ")";
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -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 + ")";
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue