sp-switch.h revision 51dc158adbe2c9d1df3c941cbf78b90944d1afc2
#ifndef __SP_SWITCH_H__
#define __SP_SWITCH_H__
/*
* SVG <switch> implementation
*
* Authors:
* Andrius R. <knutux@gmail.com>
*
* Copyright (C) 2006 authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "sp-item-group.h"
#include <stddef.h>
#include <sigc++/connection.h>
#define SP_TYPE_SWITCH (sp_switch_get_type())
void resetChildEvaluated() { _reevaluate(); }
void _showChildren (Inkscape::Drawing &drawing, Inkscape::DrawingItem *ai, unsigned int key, unsigned int flags);
void _reevaluate(bool add_to_arena = false);
};
};
/*
* Virtual methods of SPSwitch
*/
virtual void order_changed(Inkscape::XML::Node *child, Inkscape::XML::Node *old_ref, Inkscape::XML::Node *new_ref);
};
#endif