knotholder.h revision 4358ff6156766a315e38e72a5c3c83d6d5f7486b
#ifndef __SP_KNOTHOLDER_H__
#define __SP_KNOTHOLDER_H__
/*
* SPKnotHolder - Hold SPKnot list and manage signals
*
* Author:
* Mitsuru Oka <oka326@parkcity.ne.jp>
*
* Copyright (C) 1999-2001 Lauris Kaplinski
* Copyright (C) 2000-2001 Ximian, Inc.
* Copyright (C) 2001 Mitsuru Oka
*
* Released under GNU GPL
*
*/
#include "knot-enums.h"
#include "forward.h"
#include "libnr/nr-forward.h"
}
}
typedef void (* SPKnotHolderSetFunc) (SPItem *item, NR::Point const &p, NR::Point const &origin, guint state);
/* fixme: Think how to make callbacks most sensitive (Lauris) */
struct SPKnotHolder : GObject {
};
struct SPKnotHolderClass : GObjectClass {
};
/* fixme: As a temporary solution, if released is NULL knotholder flushes undo itself (Lauris) */
SPKnotHolder *sp_knot_holder_new(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFunc relhandler);
// FIXME: This is an ugly hack! What is the right way to update the knots from VPDrag::updateBoxHandles() ?
#define SP_TYPE_KNOT_HOLDER (sp_knot_holder_get_type())
#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:encoding=utf-8:textwidth=99 :