Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
tool-base.h File Reference

Go to the source code of this file.

Classes

class  Inkscape::UI::Tools::DelayedSnapEvent
 
class  Inkscape::UI::Tools::ToolBase
 Base class for Event processors. More...
 

Namespaces

namespace  Gtk
 
namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 
namespace  Inkscape::UI
 User interface code.
 
namespace  Inkscape::UI::Tools
 

Functions

void Inkscape::UI::Tools::sp_event_context_read (ToolBase *tool, char const *key)
 Calls virtual set() function of ToolBase.
 
int Inkscape::UI::Tools::gobble_key_events (unsigned keyval, unsigned mask)
 
void Inkscape::UI::Tools::gobble_motion_events (unsigned mask)
 
void Inkscape::UI::Tools::sp_event_show_modifier_tip (MessageContext *message_context, KeyEvent const &event, char const *ctrl_tip, char const *shift_tip, char const *alt_tip)
 Show tool context specific modifier tip.
 
void Inkscape::UI::Tools::init_latin_keys_group ()
 Initialize Latin keys group handling.
 
unsigned Inkscape::UI::Tools::get_latin_keyval_impl (unsigned const event_keyval, unsigned const event_keycode, GdkModifierType const event_state, unsigned const event_group, unsigned *consumed_modifiers)
 
unsigned Inkscape::UI::Tools::get_latin_keyval (GtkEventControllerKey const *const controller, unsigned const keyval, unsigned const keycode, GdkModifierType const state, unsigned *consumed_modifiers)
 Return the keyval corresponding to the event controller key in Latin group.
 
unsigned Inkscape::UI::Tools::get_latin_keyval (Gtk::EventControllerKey const &controller, unsigned keyval, unsigned keycode, Gdk::ModifierType state, unsigned *consumed_modifiers)
 
unsigned Inkscape::UI::Tools::get_latin_keyval (KeyEvent const &event, unsigned *consumed_modifiers)
 
SPItemInkscape::UI::Tools::sp_event_context_find_item (SPDesktop *desktop, Geom::Point const &p, bool select_under, bool into_groups)
 Returns item at point p in desktop.
 
SPItemInkscape::UI::Tools::sp_event_context_over_item (SPDesktop *desktop, SPItem *item, Geom::Point const &p)
 Returns item if it is under point p in desktop, at any depth; otherwise returns NULL.
 
void Inkscape::UI::Tools::sp_toggle_dropper (SPDesktop *dt)
 Toggles current tool between active tool and dropper tool.