Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Using Event without using a Window?
Print
Pages: [
1
]
Author
Topic: Using Event without using a Window? (Read 1342 times)
0 Members and 1 Guest are viewing this topic.
ggggggggggggggg
Newbie
Posts: 36
Using Event without using a Window?
«
on:
July 19, 2014, 04:04:58 pm »
Basically I want to use an event whiile without a window (using it with the console).
Logged
Strelok
Full Member
Posts: 139
Re: Using Event without using a Window?
«
Reply #1 on:
July 19, 2014, 04:16:47 pm »
I'm quite sure you need a window and poll/wait events from the window to even use sf::event.
Maybe there's a way to get a handle to the command line window but that is far beyond my knowledge
«
Last Edit: July 19, 2014, 04:19:17 pm by Strelok
»
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: Using Event without using a Window?
«
Reply #2 on:
July 19, 2014, 04:17:42 pm »
Events are produced by windows, without a window there's no event. Except mouse / keyboard / joystick / sensors, but there are dedicated classes to access them without a window.
What do you want to do?
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Using Event without using a Window?