Added bring to front and send to back
This commit is contained in:
parent
c3cc09e6b4
commit
0821f0840e
5 changed files with 143 additions and 0 deletions
|
|
@ -369,6 +369,18 @@ void DrawingProgramSelection::deselect_all() {
|
|||
}
|
||||
}
|
||||
|
||||
void DrawingProgramSelection::push_selection_to_front() {
|
||||
auto selectedVec = selectedSet;
|
||||
deselect_all();
|
||||
drawP.layerMan.push_components_to(selectedVec, false);
|
||||
}
|
||||
|
||||
void DrawingProgramSelection::push_selection_to_back() {
|
||||
auto selectedVec = selectedSet;
|
||||
deselect_all();
|
||||
drawP.layerMan.push_components_to(selectedVec, true);
|
||||
}
|
||||
|
||||
void DrawingProgramSelection::delete_all() {
|
||||
if(is_something_selected()) {
|
||||
auto selectedSetTemp = selectedSet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue