connector-context.h revision 6d8430ca47c35cff45dee59e1f9c025567d0af49
#ifndef SEEN_CONNECTOR_CONTEXT_H
#define SEEN_CONNECTOR_CONTEXT_H
/*
* Connector creation tool
*
* Authors:
* Michael Wybrow <mjwybrow@users.sourceforge.net>
*
* Copyright (C) 2005 Michael Wybrow
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <stddef.h>
#include <sigc++/connection.h>
#include "event-context.h"
#include "libavoid/connector.h"
#define SP_CONNECTOR_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST((o), SP_TYPE_CONNECTOR_CONTEXT, SPConnectorContext))
#define SP_CONNECTOR_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), SP_TYPE_CONNECTOR_CONTEXT, SPConnectorContextClass))
struct SPKnot;
struct SPCurve;
{
}
enum {
};
/** \invar npoints in {0, 2}. */
unsigned int state : 4;
// Red curve
// Green curve
// The new connector
bool isOrthogonal;
// The active shape
// Same as above, but for the active connector
// The activehandle
// The selected handle, used in editing mode
};
void cc_selection_set_avoid(bool const set_ignore);
#endif /* !SEEN_CONNECTOR_CONTEXT_H */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :