Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
Derived Input class
Print
Pages: [
1
]
Author
Topic: Derived Input class (Read 2745 times)
0 Members and 1 Guest are viewing this topic.
anza
Newbie
Posts: 2
Derived Input class
«
on:
January 12, 2009, 06:45:55 am »
I can't seem to find a way to attach a class derived from sf::Input to an sf::RenderWindow object. Is this possible without having to create an sf::Window derived class?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Derived Input class
«
Reply #1 on:
January 12, 2009, 07:49:57 am »
It's not possible, even with a class derived from sf::Window. Why do you want to do this?
Logged
Laurent Gomila - SFML developer
anza
Newbie
Posts: 2
Derived Input class
«
Reply #2 on:
January 12, 2009, 08:53:52 am »
Well, it isn't necessary. I just wanted to rewrite the virtual OnEvent of sf::Input. I just decided to process the results afterward.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Window
»
Derived Input class