SFML community forums

Help => Window => Topic started by: anza on January 12, 2009, 06:45:55 am

Title: Derived Input class
Post by: anza 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?
Title: Derived Input class
Post by: Laurent 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?
Title: Derived Input class
Post by: anza 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.