SFML/ruby/sfml-window/window
groogy dec0928c4e This message will be more like a note to self.
I've added so that a ruby instance of each event type is created when an event is allocated and initialized. Left to do is to keep reference to these objects inside the event instance and to force the event type instances to keep a reference back to their original event. This is to make sure that the garbage collector keep them together in memory at all times. Also something I must do is to check the event's type in the initialize method so that we will always only create ONE of these "child" instances.

This way we won't need to allocate any unnecessary memory except if the developer specifically request a new event type instance. For example: SFML::Event::Key.new

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1606 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-04 14:41:47 +00:00
..
Context.cpp Added ContextSettings to the window library. 2010-11-03 20:01:20 +00:00
Context.hpp Added SFML::Context to the sfml-window library. 2010-11-03 16:53:48 +00:00
ContextSettings.cpp Added ContextSettings to the window library. 2010-11-03 20:01:20 +00:00
ContextSettings.hpp Added ContextSettings to the window library. 2010-11-03 20:01:20 +00:00
Event.cpp This message will be more like a note to self. 2010-11-04 14:41:47 +00:00
Event.hpp git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1604 4e206d99-4929-0410-ac5d-dfc041789085 2010-11-03 22:33:57 +00:00
main.cpp Added ContextSettings to the window library. 2010-11-03 20:01:20 +00:00
main.hpp Added the main file for the sfml-window library and also so that you can check if it has been loaded by checking SFML::WindowLoaded 2010-11-03 10:24:14 +00:00