Authors: Lauris Kaplinski <lauris@kaplinski.com> bulia byak <buliabyak@users.sf.net>
Copyright (C) 1999-2005 authors Copyright (C) 2001-2002 Ximian, Inc.
Released under GNU GPL, read the file 'COPYING' for more information
Definition in file knot.cpp.
#include <gdk/gdkkeysyms.h>
#include <glibmm/i18n.h>
#include "helper/sp-marshal.h"
#include "display/sodipodi-ctrl.h"
#include "desktop.h"
#include "desktop-handles.h"
#include "knot.h"
#include "document.h"
#include "preferences.h"
#include "message-stack.h"
#include "message-context.h"
#include "event-context.h"
Go to the source code of this file.
Defines | |
#define | __SP_KNOT_C__ |
#define | KNOT_EVENT_MASK |
Enumerations | |
enum | { EVENT, CLICKED, DOUBLECLICKED, GRABBED, UNGRABBED, MOVED, REQUEST, DISTANCE, LAST_SIGNAL } |
Functions | |
static void | sp_knot_class_init (SPKnotClass *klass) |
static void | sp_knot_dispose (GObject *object) |
gdouble | sp_knot_distance (SPKnot *knot, Geom::Point const &p, guint state) |
GType | sp_knot_get_type () |
static int | sp_knot_handler (SPCanvasItem *item, GdkEvent *event, SPKnot *knot) |
void | sp_knot_handler_request_position (GdkEvent *event, SPKnot *knot) |
void | sp_knot_hide (SPKnot *knot) |
static void | sp_knot_init (SPKnot *knot) |
void | sp_knot_moveto (SPKnot *knot, Geom::Point const &p) |
SPKnot * | sp_knot_new (SPDesktop *desktop, const gchar *tip) |
Geom::Point | sp_knot_position (SPKnot const *knot) |
void | sp_knot_request_position (SPKnot *knot, Geom::Point const &p, guint state) |
static void | sp_knot_set_ctrl_state (SPKnot *knot) |
void | sp_knot_set_flag (SPKnot *knot, guint flag, bool set) |
void | sp_knot_set_position (SPKnot *knot, Geom::Point const &p, guint state) |
void | sp_knot_show (SPKnot *knot) |
void | sp_knot_start_dragging (SPKnot *knot, Geom::Point const &p, gint x, gint y, guint32 etime) |
void | sp_knot_update_ctrl (SPKnot *knot) |
Variables | |
static bool | grabbed = FALSE |
static guint | knot_signals [LAST_SIGNAL] = { 0 } |
static bool | moved = FALSE |
static bool | nograb = false |
static GObjectClass * | parent_class |
static gint | tolerance = 0 |
static bool | transform_escaped = false |
static bool | within_tolerance = false |
static gint | xp = 0 |
static gint | yp = 0 |