octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphics code small questions?


From: Michael Goffioul
Subject: Re: Graphics code small questions?
Date: Tue, 15 Jan 2008 22:16:32 +0100

On 1/14/08, Michael Goffioul <address@hidden> wrote:
> On 1/14/08, John W. Eaton <address@hidden> wrote:
> > | virtual void remove_child (const graphics_handle& h)
> > | {
> > |   if (valid_object ())
> > |     get_properties ().remove_child (h);
> > |   else
> > |     error ("base_graphics_object::remove_child: invalid graphics object");
> > | }

The attached patch implements this.

Michael.

src/ChangeLog

2008-01-15  Michael Goffioul <address@hidden>

    * graphics.h.in (base_properties::remove_child, base_properties::adopt,
    base_properties::update_axis_limits): Make virtual.
    (base_graphics_object::mark_modified,
base_graphics_object::override-defaults,
    base_graphics_object::set_from_list, base_graphics_object::set,
    base_graphics_object::get, base_graphics_object::get_parent,
    base_graphics_object::remove_child, base_graphics_object::adopt,
    base_graphics_object::reparent, base_graphics_object::defaults,
    base_graphics_object::type): Add default implementation.
    (class root_figure, class figure, class axes, class line, class text,
    class image, class patch, class surface): Remove overloaded virtual
    methods whose implementation is identical to the default one.

Attachment: graphics.h.in.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]