13#ifndef INKSCAPE_UI_TOOLS_TOOL_BASE_H
14#define INKSCAPE_UI_TOOLS_TOOL_BASE_H
20#include <boost/noncopyable.hpp>
24#include <sigc++/trackable.h>
27#include <gdkmm/cursor.h>
29#include <sigc++/scoped_connection.h>
35class EventControllerKey;
52struct ButtonPressEvent;
105 :
public sigc::trackable
206 void use_cursor(Glib::RefPtr<Gdk::Cursor> cursor);
207 Glib::RefPtr<Gdk::Cursor>
get_cursor(Gtk::Widget &widget,
208 std::string
const &filename)
const;
232 std::optional<DelayedSnapEvent>
_dse;
247 char const *ctrl_tip,
char const *shift_tip,
char const *alt_tip);
252 GdkModifierType event_state,
unsigned event_group,
253 unsigned *consumed_modifiers);
255 unsigned keyval,
unsigned keycode, GdkModifierType state,
256 unsigned *consumed_modifiers =
nullptr);
258 unsigned keyval,
unsigned keycode, Gdk::ModifierType state,
259 unsigned *consumed_modifiers =
nullptr);
Cartesian point / 2D vector and related operations.
Action Accel A simple tracker for accelerator keys associated to an action.
void redo(SPDocument *document)
Two-dimensional point with integer coordinates.
Two-dimensional point that doubles as a vector.
This is the root class of the gradient dragging machinery.
A mask representing a subset of EventTypes.
A convenience class for working with MessageStacks.
Data type representing a typeless value of a preference.
The ActionAccel class stores the keyboard shortcuts for a given action and automatically keeps track ...
To do: update description of desktop.
Base class for visual SVG elements.
SPObject is an abstract base class of all of the document nodes at the SVG document level.
static Glib::ustring const prefs_path
Helper class to stream background task notifications as a series of messages.
static cairo_user_data_key_t key
Singleton class to access the preferences file in a convenient way.
Abstract base class for events.
Movement of the mouse pointer.