Inkscape
Vector Graphics Editor
|
Actions related to hide and lock. More...
Go to the source code of this file.
Functions | |
static bool | hide_lock_recurse (bool(*f)(SPItem *, bool), SPItem *item, bool hide_or_lock) |
bool | hide_lock_hide (SPItem *item, bool hide) |
bool | hide_lock_lock (SPItem *item, bool lock) |
void | hide_lock_unhide_all (InkscapeApplication *app) |
void | hide_lock_unlock_all (InkscapeApplication *app) |
void | hide_lock_unhide_below (InkscapeApplication *app) |
void | hide_lock_unlock_below (InkscapeApplication *app) |
void | hide_lock_hide_selected (InkscapeApplication *app, bool hide) |
void | hide_lock_lock_selected (InkscapeApplication *app, bool lock) |
void | add_actions_hide_lock (InkscapeApplication *app) |
Variables | |
const Glib::ustring | SECTION = NC_("Action Section", "Hide and Lock") |
std::vector< std::vector< Glib::ustring > > | raw_data_hide_lock |
Actions related to hide and lock.
Authors: Sushant A A susha.nosp@m.nt.c.nosp@m.o19@g.nosp@m.mail.nosp@m..com Tavmjong Bah
Copyright (C) 2021-2022 Authors
Released under GNU GPL v2+, read the file 'COPYING' for more information.
Definition in file actions-hide-lock.cpp.
void add_actions_hide_lock | ( | InkscapeApplication * | app | ) |
Definition at line 213 of file actions-hide-lock.cpp.
References InkActionExtraData::add_data(), InkscapeApplication::get_action_extra_data(), InkscapeApplication::gio_app(), hide_lock_hide_selected(), hide_lock_lock_selected(), hide_lock_unhide_all(), hide_lock_unhide_below(), hide_lock_unlock_all(), hide_lock_unlock_below(), and raw_data_hide_lock.
Referenced by InkscapeApplication::InkscapeApplication().
bool hide_lock_hide | ( | SPItem * | item, |
bool | hide | ||
) |
Definition at line 50 of file actions-hide-lock.cpp.
References SPItem::isHidden(), item, and SPItem::setHidden().
Referenced by hide_lock_hide_selected(), hide_lock_unhide_all(), and hide_lock_unhide_below().
void hide_lock_hide_selected | ( | InkscapeApplication * | app, |
bool | hide | ||
) |
Definition at line 148 of file actions-hide-lock.cpp.
References Inkscape::DocumentUndo::done(), InkscapeApplication::get_active_document(), InkscapeApplication::get_active_selection(), hide_lock_hide(), item, and show_output().
Referenced by add_actions_hide_lock().
bool hide_lock_lock | ( | SPItem * | item, |
bool | lock | ||
) |
Definition at line 62 of file actions-hide-lock.cpp.
References SPItem::isLocked(), item, and SPItem::setLocked().
Referenced by hide_lock_lock_selected(), hide_lock_unlock_all(), and hide_lock_unlock_below().
void hide_lock_lock_selected | ( | InkscapeApplication * | app, |
bool | lock | ||
) |
Definition at line 172 of file actions-hide-lock.cpp.
References Inkscape::DocumentUndo::done(), InkscapeApplication::get_active_document(), InkscapeApplication::get_active_selection(), hide_lock_lock(), item, and show_output().
Referenced by add_actions_hide_lock().
|
static |
Definition at line 30 of file actions-hide-lock.cpp.
References child, SPObject::children, hide_lock_recurse(), and item.
Referenced by hide_lock_recurse(), hide_lock_unhide_all(), hide_lock_unhide_below(), hide_lock_unlock_all(), and hide_lock_unlock_below().
void hide_lock_unhide_all | ( | InkscapeApplication * | app | ) |
Definition at line 74 of file actions-hide-lock.cpp.
References Inkscape::DocumentUndo::done(), InkscapeApplication::get_active_document(), SPDocument::getRoot(), hide_lock_hide(), hide_lock_recurse(), and root.
Referenced by add_actions_hide_lock().
void hide_lock_unhide_below | ( | InkscapeApplication * | app | ) |
Definition at line 102 of file actions-hide-lock.cpp.
References Inkscape::DocumentUndo::done(), InkscapeApplication::get_active_document(), InkscapeApplication::get_active_selection(), hide_lock_hide(), hide_lock_recurse(), item, and show_output().
Referenced by add_actions_hide_lock().
void hide_lock_unlock_all | ( | InkscapeApplication * | app | ) |
Definition at line 88 of file actions-hide-lock.cpp.
References Inkscape::DocumentUndo::done(), InkscapeApplication::get_active_document(), SPDocument::getRoot(), hide_lock_lock(), hide_lock_recurse(), and root.
Referenced by add_actions_hide_lock().
void hide_lock_unlock_below | ( | InkscapeApplication * | app | ) |
Definition at line 125 of file actions-hide-lock.cpp.
References Inkscape::DocumentUndo::done(), InkscapeApplication::get_active_document(), InkscapeApplication::get_active_selection(), hide_lock_lock(), hide_lock_recurse(), item, and show_output().
Referenced by add_actions_hide_lock().
std::vector<std::vector<Glib::ustring> > raw_data_hide_lock |
Definition at line 196 of file actions-hide-lock.cpp.
Referenced by add_actions_hide_lock().
const Glib::ustring SECTION = NC_("Action Section", "Hide and Lock") |
Definition at line 194 of file actions-hide-lock.cpp.