Added phone tool settings
This commit is contained in:
parent
f1d7cbf896
commit
c90c09b169
42 changed files with 479 additions and 57 deletions
|
|
@ -39,6 +39,17 @@ void EditTool::gui_toolbox(Toolbar& t) {
|
|||
}
|
||||
}
|
||||
|
||||
void EditTool::gui_phone_toolbox(PhoneDrawingProgramScreen& t) {
|
||||
using namespace GUIStuff;
|
||||
using namespace ElementHelpers;
|
||||
|
||||
auto& gui = drawP.world.main.g.gui;
|
||||
|
||||
gui.new_id("edit tool", [&] {
|
||||
text_label_centered(gui, "Edit");
|
||||
});
|
||||
}
|
||||
|
||||
void EditTool::erase_component(CanvasComponentContainer::ObjInfo* erasedComp) {
|
||||
if(erasedComp == objInfoBeingEdited)
|
||||
switch_tool(get_type());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue