Added ContextSettings to the window library.

Also changed an exception type in Context.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1602 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-11-03 20:01:20 +00:00
parent 01edb04ad5
commit 8c3ec2b353
4 changed files with 260 additions and 1 deletions

View file

@ -22,6 +22,7 @@
#include "main.hpp"
#include "Context.hpp"
#include "ContextSettings.hpp"
VALUE globalSFMLNamespace;
@ -35,4 +36,5 @@ void Init_window( void )
globalSFMLNamespace = rb_define_module( "SFML" );
rb_define_const(globalSFMLNamespace, "WindowLoaded", Qtrue);
Init_Context();
Init_ContextSettings();
}