mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fixed default color of sf::Text (was black instead of white)
This commit is contained in:
parent
8630c88e70
commit
6c3fb426b2
@ -39,6 +39,7 @@ myString (),
|
|||||||
myFont (&Font::GetDefaultFont()),
|
myFont (&Font::GetDefaultFont()),
|
||||||
myCharacterSize(30),
|
myCharacterSize(30),
|
||||||
myStyle (Regular),
|
myStyle (Regular),
|
||||||
|
myColor (255, 255, 255),
|
||||||
myVertices (Quads),
|
myVertices (Quads),
|
||||||
myBounds ()
|
myBounds ()
|
||||||
{
|
{
|
||||||
@ -52,6 +53,7 @@ myString (string),
|
|||||||
myFont (&font),
|
myFont (&font),
|
||||||
myCharacterSize(characterSize),
|
myCharacterSize(characterSize),
|
||||||
myStyle (Regular),
|
myStyle (Regular),
|
||||||
|
myColor (255, 255, 255),
|
||||||
myVertices (Quads),
|
myVertices (Quads),
|
||||||
myBounds ()
|
myBounds ()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user