node-context.h revision 2f8a505c173a704ab6fb25538bb3c1afe5ce9e4e
#ifndef __SP_NODE_CONTEXT_H__
#define __SP_NODE_CONTEXT_H__
/*
* Node editing context
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* bulia byak <buliabyak@users.sf.net>
*
* This code is in public domain
*/
#include "event-context.h"
#include "forward.h"
#include "nodepath.h"
struct SPKnotHolder;
#define SP_TYPE_NODE_CONTEXT (sp_node_context_get_type ())
#define SP_NODE_CONTEXT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), SP_TYPE_NODE_CONTEXT, SPNodeContextClass))
enum { SP_NODE_CONTEXT_INACTIVE,
struct SPNodeContext {
/// If true, rubberband was cancelled by esc, so the next button release should not deselect.
bool rb_escaped;
bool cursor_drag;
bool added_node;
unsigned int current_state;
};
struct SPNodeContextClass {
};
/* Standard Gtk function */
GtkType sp_node_context_get_type (void);
#endif