Inkscape
Vector Graphics Editor
|
Go to the source code of this file.
Functions | |
Glib::ustring | get_active_tool (InkscapeWindow *win) |
int | get_active_tool_enum (InkscapeWindow *win) |
void | set_active_tool (InkscapeWindow *win, Glib::ustring const &tool) |
void | set_active_tool (InkscapeWindow *win, SPItem *item, Geom::Point const p) |
Set tool to appropriate one to edit 'item'. | |
void | open_tool_preferences (InkscapeWindow *win, Glib::ustring const &tool) |
Glib::ustring | get_active_tool (SPDesktop *desktop) |
int | get_active_tool_enum (SPDesktop *desktop) |
void | set_active_tool (SPDesktop *desktop, Glib::ustring const &tool) |
void | set_active_tool (SPDesktop *desktop, SPItem *item, Geom::Point const p) |
void | tool_preferences (Glib::ustring const &tool, InkscapeWindow *win) |
Open preferences page for tool. | |
void | add_actions_tools (InkscapeWindow *win) |
void add_actions_tools | ( | InkscapeWindow * | win | ) |
Definition at line 320 of file actions-tools.cpp.
References InkscapeApplication::instance(), raw_data_tools, show_output(), tool_switch(), and tool_toggle().
Referenced by InkscapeWindow::InkscapeWindow().
Glib::ustring get_active_tool | ( | InkscapeWindow * | win | ) |
Definition at line 40 of file actions-tools.cpp.
References show_output().
Referenced by get_active_tool(), get_active_tool_enum(), Inkscape::ObjectSet::removeFilter(), snoop_extended(), Inkscape::UI::Tools::sp_toggle_dropper(), Inkscape::UI::Tools::sp_toggle_selector(), and Inkscape::UI::Dialog::AlignAndDistribute::tool_changed().
Glib::ustring get_active_tool | ( | SPDesktop * | desktop | ) |
Definition at line 253 of file actions-tools.cpp.
References desktop, get_active_tool(), and SPDesktop::getInkscapeWindow().
int get_active_tool_enum | ( | InkscapeWindow * | win | ) |
Definition at line 62 of file actions-tools.cpp.
References get_active_tool(), and get_tool_data().
Referenced by get_active_tool_enum().
int get_active_tool_enum | ( | SPDesktop * | desktop | ) |
Definition at line 259 of file actions-tools.cpp.
References desktop, get_active_tool_enum(), and SPDesktop::getInkscapeWindow().
void open_tool_preferences | ( | InkscapeWindow * | win, |
Glib::ustring const & | tool | ||
) |
Definition at line 78 of file actions-tools.cpp.
References tool_preferences().
void set_active_tool | ( | InkscapeWindow * | win, |
Glib::ustring const & | tool | ||
) |
Definition at line 70 of file actions-tools.cpp.
References tool_switch().
Referenced by Inkscape::UI::Dialog::ColorItem::action_edit(), Inkscape::UI::Widget::GradientSelector::edit_vector_clicked(), Inkscape::UI::Widget::StrokeStyle::enterEditMarkerMode(), Inkscape::UI::Widget::FillNStroke::FillNStroke(), Inkscape::LivePathEffect::PathParam::param_editOncanvas(), Inkscape::ObjectSet::removeFilter(), Inkscape::UI::Tools::ObjectPickerTool::root_handler(), select_path_offset_dynamic(), select_path_offset_linked(), Inkscape::SelectionHelper::selectNone(), set_active_tool(), set_active_tool(), SPDesktop::setTool(), Inkscape::UI::Tools::InteractiveBooleansTool::shape_cancel(), Inkscape::UI::Tools::InteractiveBooleansTool::shape_commit(), snoop_extended(), Inkscape::UI::Tools::sp_toggle_dropper(), Inkscape::UI::Tools::sp_toggle_selector(), and Inkscape::LivePathEffect::LPECloneOriginal::syncOriginal().
void set_active_tool | ( | InkscapeWindow * | win, |
SPItem * | item, | ||
Geom::Point const | p | ||
) |
Set tool to appropriate one to edit 'item'.
Definition at line 87 of file actions-tools.cpp.
References Inkscape::UI::Tools::cc_item_is_connector(), InkscapeWindow::get_desktop(), SPDesktop::getTool(), item, show_output(), SP_TEXT_CONTEXT(), and tool_switch().
void set_active_tool | ( | SPDesktop * | desktop, |
Glib::ustring const & | tool | ||
) |
Definition at line 265 of file actions-tools.cpp.
References desktop, SPDesktop::getInkscapeWindow(), and set_active_tool().
void set_active_tool | ( | SPDesktop * | desktop, |
SPItem * | item, | ||
Geom::Point const | p | ||
) |
Definition at line 271 of file actions-tools.cpp.
References desktop, SPDesktop::getInkscapeWindow(), item, and set_active_tool().
void tool_preferences | ( | Glib::ustring const & | tool, |
InkscapeWindow * | win | ||
) |
Open preferences page for tool.
Could be turned into actions if need be.
Definition at line 181 of file actions-tools.cpp.
References Inkscape::UI::Dialog::DialogManager::find_floating_dialog(), Inkscape::Preferences::get(), InkscapeWindow::get_desktop(), get_tool_data(), SPDesktop::getContainer(), Inkscape::UI::Dialog::DialogContainer::new_floating_dialog(), show_output(), Inkscape::UI::Dialog::InkscapePreferences::showPage(), and Inkscape::UI::Dialog::DialogManager::singleton().
Referenced by Inkscape::UI::Toolbar::ToolToolbar::attachHandlers(), Inkscape::UI::Toolbar::ToolToolbar::makeContextMenu(), and open_tool_preferences().