diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-11-03 00:55:01 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-05-09 19:42:10 +0000 |
| commit | 61cbbcbe02f11d67e4fe9f3c4f452442d2e9f778 (patch) | |
| tree | 3ed5e5b78b00cf25892a3a18e118eee41cbc15ec /src/selection.h | |
| parent | Fix typo (diff) | |
| download | inkscape-61cbbcbe02f11d67e4fe9f3c4f452442d2e9f778.tar.gz inkscape-61cbbcbe02f11d67e4fe9f3c4f452442d2e9f778.zip | |
Start migrating 0.92 patch to master
Diffstat (limited to 'src/selection.h')
| -rw-r--r-- | src/selection.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/selection.h b/src/selection.h index 2b454e947..989adf6b0 100644 --- a/src/selection.h +++ b/src/selection.h @@ -183,6 +183,23 @@ public: return _modified_signal.slots().insert(_modified_signal.slots().begin(), slot); } + /** + * Set a backup of current selection and store it also to be command line readable by extension system + */ + void setBackup(); + /** + * Clear backup of current selection + */ + void emptyBackup(); + /** + * Restore a selection from a existing backup + */ + void restoreBackup(); + /** + * Here store a paramlist when set backup + */ + std::list<std::string> params; + protected: void _emitSignals(); void _connectSignals(SPObject* object); @@ -212,7 +229,8 @@ private: SPObject* _selection_context; unsigned int _flags; unsigned int _idle; - + std::vector<std::pair<std::string, std::pair<int, int> > > _seldata; + std::vector<std::string> _selected_ids; std::map<SPObject *, sigc::connection> _modified_connections; sigc::connection _context_release_connection; |
