1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

fixed Window to handle MouseEvent with propriety

This commit is contained in:
ser1zw 2011-05-05 04:24:21 +09:00
parent 6be99de63c
commit 81714f0768
8 changed files with 182 additions and 59 deletions

View file

@ -40,9 +40,9 @@ VALUE rb_destroy(VALUE self);
VALUE rb_destroy_all(VALUE klass);
VALUE rb_resize(int argc, VALUE *argv, VALUE self);
VALUE rb_move(int argc, VALUE *argv, VALUE self);
VALUE rb_show_image(VALUE self, VALUE image);
VALUE rb_show_image(int argc, VALUE *argv, VALUE self);
VALUE rb_set_trackbar(int argc, VALUE *argv, VALUE self);
VALUE rb_set_mouse_callback(VALUE self);
VALUE rb_set_mouse_callback(int argc, VALUE* argv, VALUE self);
void trackbar_callback(VALUE block, va_alist ap);
void mouse_callback(VALUE block, va_alist ap);