mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1607 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
dec0928c4e
commit
a751ef306b
@ -107,6 +107,15 @@ static VALUE Event_Initialize( VALUE self )
|
|||||||
rb_obj_call_init( mouseWheel, 0, 0 );
|
rb_obj_call_init( mouseWheel, 0, 0 );
|
||||||
rb_obj_call_init( size, 0, 0 );
|
rb_obj_call_init( size, 0, 0 );
|
||||||
rb_obj_call_init( text, 0, 0 );
|
rb_obj_call_init( text, 0, 0 );
|
||||||
|
|
||||||
|
rb_iv_set( joyButton, "@internal__parent_ref", self );
|
||||||
|
rb_iv_set( joyMove, "@internal__parent_ref", self );
|
||||||
|
rb_iv_set( key, "@internal__parent_ref", self );
|
||||||
|
rb_iv_set( mouseButton, "@internal__parent_ref", self );
|
||||||
|
rb_iv_set( mouseMove, "@internal__parent_ref", self );
|
||||||
|
rb_iv_set( mouseWheel, "@internal__parent_ref", self );
|
||||||
|
rb_iv_set( size, "@internal__parent_ref", self );
|
||||||
|
rb_iv_set( text, "@internal__parent_ref", self );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* call-seq:
|
/* call-seq:
|
||||||
|
Loading…
Reference in New Issue
Block a user