Improved custom event code and fixed some warnings
This commit is contained in:
parent
da1a1c26cb
commit
b2fe1ab7ba
52 changed files with 193 additions and 240 deletions
|
|
@ -6,7 +6,6 @@
|
|||
#include "../../CanvasComponents/BrushStrokeCanvasComponent.hpp"
|
||||
#include "../../CanvasComponents/CanvasComponentContainer.hpp"
|
||||
#include "Helpers/MathExtras.hpp"
|
||||
#include <limits>
|
||||
|
||||
#include "../../GUIStuff/ElementHelpers/TextLabelHelpers.hpp"
|
||||
#include "../../GUIStuff/ElementHelpers/CheckBoxHelpers.hpp"
|
||||
|
|
@ -22,7 +21,6 @@ DrawingProgramToolType LineDrawTool::get_type() {
|
|||
void LineDrawTool::gui_toolbox() {
|
||||
using namespace GUIStuff;
|
||||
using namespace ElementHelpers;
|
||||
Toolbar& t = drawP.world.main.toolbar;
|
||||
auto& gui = drawP.world.main.g.gui;
|
||||
auto& toolConfig = drawP.world.main.toolConfig;
|
||||
gui.new_id("rect draw tool", [&] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue