Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
hiding text
Print
Pages: [
1
]
Author
Topic: hiding text (Read 2046 times)
0 Members and 1 Guest are viewing this topic.
nelsoncookie
Newbie
Posts: 3
hiding text
«
on:
February 13, 2017, 08:09:52 pm »
Hello there, i was recently wonderingif you could hide text.
But I couldn't find anything on the documentation of it.
Is it not yet implemented or what?
Just wanted to know that.
Logged
G.
Hero Member
Posts: 1593
Re: hiding text
«
Reply #1 on:
February 13, 2017, 08:18:10 pm »
If you want to
hide
a text (or anything), don't draw it.
Logged
Hapax
Hero Member
Posts: 3379
My number of posts is shown in hexadecimal.
Re: hiding text
«
Reply #2 on:
February 13, 2017, 09:35:17 pm »
Although not drawing it is definitely the
best
option, it is by no means the
only
option.
You can also hide it by setting its colour to transparent, setting its scale to zero or even just setting the text's string to an empty string.
Logged
Selba Ward
-SFML drawables
Cheese Map
-Drawable Layered Tile Map
Kairos
-Timing Library
Grambol
*
Hapaxia Links
*
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
hiding text