knotholder.h revision 3209574a767ef0f739ac390e354392bb578a5ce0
#ifndef __SP_KNOTHOLDER_H__
#define __SP_KNOTHOLDER_H__
/*
* KnotHolder - Hold SPKnot list and manage signals
*
* Author:
* Mitsuru Oka <oka326@parkcity.ne.jp>
* Maximilian Albert <maximilian.albert@gmail.com>
*
* Copyright (C) 1999-2001 Lauris Kaplinski
* Copyright (C) 2000-2001 Ximian, Inc.
* Copyright (C) 2001 Mitsuru Oka
* Copyright (C) 2008 Maximilian Albert
*
* Released under GNU GPL
*
*/
#include "knot-enums.h"
#include "forward.h"
#include "knot-holder-entity.h"
#include <list>
}
}
KnotHolder() {} // do nothing in the default constructor
virtual ~KnotHolder();
void update_knots();
void add(KnotHolderEntity *e);
void add_pattern_knotholder();
bool knot_mouseover();
SPItem *item; // TODO: Remove this and keep the actual item (e.g., SPRect etc.) in the item-specific knotholders
bool dragging;
};
/**
void knot_clicked_handler(SPKnot *knot, guint state, gpointer data);
void knot_moved_handler(SPKnot *knot, Geom::Point const *p, guint state, gpointer data);
void knot_ungrabbed_handler(SPKnot *knot, unsigned int state, KnotHolder *kh);
**/
#endif /* !__SP_KNOTHOLDER_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 :