Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Public Member Functions | Public Attributes

SPEventContext Class Reference

#include <event-context.h>

Inheritance diagram for SPEventContext:
Inheritance graph
[legend]
Collaboration diagram for SPEventContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Inkscape::MessageContextdefaultMessageContext ()
void enableGrDrag (bool enable=true)
void enableSelectionCue (bool enable=true)
GrDragget_drag ()

Public Attributes

DelayedSnapEvent_delayed_snap_event
bool _dse_callback_in_process
GrDrag_grdrag
Inkscape::MessageContext_message_context
Inkscape::SelCue_selcue
GdkCursor * cursor
gchar const *const cursor_shape
SPDesktopdesktop
gint hot_x
gint hot_y
 indicates the cursor's hot spot
SPItemitem_to_select
unsigned key
SPEventContextnext
 Desktop eventcontext stack.
Inkscape::Preferences::Observerpref_observer
ShapeEditorshape_editor
bool space_panning
gint tolerance
bool within_tolerance
 are we still within tolerance of origin
gint xp
gint yp
 where drag started

Detailed Description

Base class for Event processors.

SPEventContext is an abstract base class of all tools. As the name indicates, event context implementations process UI events (mouse movements and keypresses) and take actions (like creating or modifying objects). There is one event context implementation for each tool, plus few abstract base classes. Writing a new tool involves subclassing SPEventContext.

Definition at line 94 of file event-context.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index