MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / gui_toolbox

Method gui_toolbox

src/DrawingProgram/Tools/EditTool.cpp:46–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void EditTool::gui_toolbox(Toolbar& t) {
47 using namespace GUIStuff;
48 using namespace ElementHelpers;
49
50 auto& gui = drawP.world.main.g.gui;
51
52 if(objInfoBeingEdited)
53 compEditTool->edit_gui(t);
54 else {
55 gui.new_id("edit tool", [&] {
56 text_label_centered(gui, "Edit");
57 });
58 }
59}
60
61void EditTool::gui_phone_toolbox(PhoneDrawingProgramScreen& t) {
62 using namespace GUIStuff;

Callers 1

tool_options_guiMethod · 0.45

Calls 3

text_label_centeredFunction · 0.85
new_idMethod · 0.80
edit_guiMethod · 0.45

Tested by

no test coverage detected