Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Question
Print
Pages: [
1
]
Author
Topic: Question (Read 924 times)
0 Members and 1 Guest are viewing this topic.
osmkzy
Newbie
Posts: 1
Question
«
on:
August 10, 2023, 09:24:08 am »
Hello i'm an absulute beginner at sfml how can i make a text input box like in a login screen?
Logged
G.
Hero Member
Posts: 1593
Re: Question
«
Reply #1 on:
August 10, 2023, 09:46:48 am »
Bare minimum for an input text box would be
sf::RectangleShape or sf::Sprite
to display the box
sf::Text & sf::Font
to display the the text
The TextEntered event
to catch the text inputted by the user
and of course the mandatory basics of how to create a windows, a correct event and main loop
Could also use a GUI library like TGUI or SFGUI, but I don't know anything about them
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Question
anything