[cairo-commit] rcairo/gtk/tests pong.rb, 1.2, 1.3 simple.rb, 1.1,
1.2 test.rb, 1.1, 1.2
OEyvind Kolaas
commit at pdx.freedesktop.org
Tue Aug 3 10:57:18 PDT 2004
- Previous message: [cairo-commit]
cairo/src cairo-features.h.in, 1.7, 1.8 cairo.c, 1.40,
1.41 cairo.h, 1.57, 1.58 cairo_color.c, 1.5, 1.6 cairo_fixed.c,
1.5, 1.6 cairo_font.c, 1.23, 1.24 cairo_gstate.c, 1.57,
1.58 cairo_hull.c, 1.3, 1.4 cairo_image_surface.c, 1.13,
1.14 cairo_matrix.c, 1.9, 1.10 cairo_path.c, 1.14,
1.15 cairo_path_bounds.c, 1.11, 1.12 cairo_path_fill.c, 1.10,
1.11 cairo_path_stroke.c, 1.16, 1.17 cairo_pen.c, 1.15,
1.16 cairo_polygon.c, 1.7, 1.8 cairo_ps_surface.c, 1.11,
1.12 cairo_slope.c, 1.4, 1.5 cairo_spline.c, 1.9,
1.10 cairo_surface.c, 1.34, 1.35 cairo_xcb_surface.c, 1.8,
1.9 cairo_xlib_surface.c, 1.22, 1.23 cairoint.h, 1.67, 1.68
- Next message: [cairo-commit] cairo-demo/cairo_snippets ChangeLog, 1.17,
1.18 xxx_clip_rectangle.cairo, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: pippin
Update of /cvs/cairo/rcairo/gtk/tests
In directory pdx:/tmp/cvs-serv16363
Modified Files:
pong.rb simple.rb test.rb
Log Message:
changed name of signal
Index: pong.rb
===================================================================
RCS file: /cvs/cairo/rcairo/gtk/tests/pong.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pong.rb 28 May 2004 19:45:05 -0000 1.2
--- pong.rb 3 Aug 2004 17:57:15 -0000 1.3
***************
*** 138,142 ****
@gc.modify_bg(Gtk::STATE_NORMAL, Gdk::Color.new(0,0,0))
@gc.set_size_request(@field.width, @field.height)
! @gc.signal_connect('redraw') { redraw }
Gtk::timeout_add(Speed) { @field.update; @gc.queue_draw }
--- 138,142 ----
@gc.modify_bg(Gtk::STATE_NORMAL, Gdk::Color.new(0,0,0))
@gc.set_size_request(@field.width, @field.height)
! @gc.signal_connect('paint') { paint }
Gtk::timeout_add(Speed) { @field.update; @gc.queue_draw }
***************
*** 149,153 ****
end
! def redraw
cr = @gc.cairo
@field.draw(cr)
--- 149,153 ----
end
! def paint
cr = @gc.cairo
@field.draw(cr)
Index: simple.rb
===================================================================
RCS file: /cvs/cairo/rcairo/gtk/tests/simple.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** simple.rb 28 May 2004 19:45:05 -0000 1.1
--- simple.rb 3 Aug 2004 17:57:15 -0000 1.2
***************
*** 20,24 ****
set_default_size(200, 200)
signal_connect('destroy') { Gtk.main_quit }
! @gc.signal_connect('redraw') { redraw }
vb = Gtk::VBox.new(FALSE, 5)
--- 20,24 ----
set_default_size(200, 200)
signal_connect('destroy') { Gtk.main_quit }
! @gc.signal_connect('paint') { paint }
vb = Gtk::VBox.new(FALSE, 5)
***************
*** 28,32 ****
add(vb)
end
! def redraw
cr = @gc.cairo
cr.set_rgb_color(0, 0, 0)
--- 28,32 ----
add(vb)
end
! def paint
cr = @gc.cairo
cr.set_rgb_color(0, 0, 0)
Index: test.rb
===================================================================
RCS file: /cvs/cairo/rcairo/gtk/tests/test.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test.rb 28 May 2004 19:35:32 -0000 1.1
--- test.rb 3 Aug 2004 17:57:15 -0000 1.2
***************
*** 16,23 ****
set_default_size(200, 200)
signal_connect('destroy') { Gtk.main_quit }
! @gc.signal_connect('redraw') { redraw }
! #b = Gtk::Button.new("redraw")
! #b.signal_connect('clicked') { redraw }
vb = Gtk::VBox.new(FALSE, 5)
--- 16,23 ----
set_default_size(200, 200)
signal_connect('destroy') { Gtk.main_quit }
! @gc.signal_connect('paint') { paint }
! #b = Gtk::Button.new("paint")
! #b.signal_connect('clicked') { paint }
vb = Gtk::VBox.new(FALSE, 5)
***************
*** 28,32 ****
add(vb)
end
! def redraw
cr = @gc.cairo
cr.set_rgb_color(0, 0, 0)
--- 28,32 ----
add(vb)
end
! def paint
cr = @gc.cairo
cr.set_rgb_color(0, 0, 0)
- Previous message: [cairo-commit]
cairo/src cairo-features.h.in, 1.7, 1.8 cairo.c, 1.40,
1.41 cairo.h, 1.57, 1.58 cairo_color.c, 1.5, 1.6 cairo_fixed.c,
1.5, 1.6 cairo_font.c, 1.23, 1.24 cairo_gstate.c, 1.57,
1.58 cairo_hull.c, 1.3, 1.4 cairo_image_surface.c, 1.13,
1.14 cairo_matrix.c, 1.9, 1.10 cairo_path.c, 1.14,
1.15 cairo_path_bounds.c, 1.11, 1.12 cairo_path_fill.c, 1.10,
1.11 cairo_path_stroke.c, 1.16, 1.17 cairo_pen.c, 1.15,
1.16 cairo_polygon.c, 1.7, 1.8 cairo_ps_surface.c, 1.11,
1.12 cairo_slope.c, 1.4, 1.5 cairo_spline.c, 1.9,
1.10 cairo_surface.c, 1.34, 1.35 cairo_xcb_surface.c, 1.8,
1.9 cairo_xlib_surface.c, 1.22, 1.23 cairoint.h, 1.67, 1.68
- Next message: [cairo-commit] cairo-demo/cairo_snippets ChangeLog, 1.17,
1.18 xxx_clip_rectangle.cairo, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list