~ricotz/plank/startup-notify

« back to all changes in this revision

Viewing changes to lib/Drawing/Renderer.vala

  • Committer: Rico Tzschichholz
  • Date: 2015-11-03 11:53:52 UTC
  • Revision ID: ricotz@ubuntu.com-20151103115352-t8nxmq4nzfllwrqw
Rename AnimatedRenderer to Renderer

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
         * Handles animated rendering.  Uses a timer and continues requesting
24
24
         * redraws for a widget until no more animation is needed.
25
25
         */
26
 
        public abstract class AnimatedRenderer : GLib.Object
 
26
        public abstract class Renderer : GLib.Object
27
27
        {
28
28
                public Gtk.Widget widget { get; construct; }
29
29
                
40
40
                /**
41
41
                 * Creates a new animation renderer.
42
42
                 */
43
 
                public AnimatedRenderer (Gtk.Widget widget)
 
43
                public Renderer (Gtk.Widget widget)
44
44
                {
45
45
                        Object (widget : widget);
46
46
                }
54
54
                        widget_draw_handler_id = widget.draw.connect (on_widget_draw);
55
55
                }
56
56
                
57
 
                ~AnimatedRenderer ()
 
57
                ~Renderer ()
58
58
                {
59
59
                        if (timer_id > 0U) {
60
60
#if HAVE_GTK_3_8