conn-avoid-ref.h revision c0537dcfe264414d52ad86579d57cb0cb2183dcb
#ifndef SEEN_CONN_AVOID_REF
#define SEEN_CONN_AVOID_REF
/** \file
* A class for handling shape interaction with libavoid.
*/
/*
* Authors:
* Michael Wybrow <mjwybrow@users.sourceforge.net>
*
* Copyright (C) 2005 Michael Wybrow
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <glib.h>
#include <stddef.h>
#include <sigc++/connection.h>
struct SPDesktop;
struct SPItem;
struct ConnectionPoint;
virtual ~SPAvoidRef();
// libavoid's internal representation of the item.
// Used for holding connection points for item
void handleSettingChange(void);
// Returns a list of SPItems of all connectors/shapes attached to
// this object. Pass one of the following for 'type':
// Avoid::runningTo
// Avoid::runningFrom
// Avoid::runningToAndFrom
// true if avoiding, false if not.
bool setting;
bool new_setting;
// A sigc connection for transformed signal.
};
static const double defaultConnSpacing = 3.0;
static const double defaultConnCurvature = 3.0;
#endif /* !SEEN_CONN_AVOID_REF */
/*
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 :