From eb3c89bee97f76d12d68aaf3f150259277b615b8 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 4 Jun 2018 12:02:58 +0200 Subject: Replace GuiLine with GraphicElement Signed-off-by: Clifford Wolf --- common/design.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'common') diff --git a/common/design.h b/common/design.h index edf7dba1..e87304bf 100644 --- a/common/design.h +++ b/common/design.h @@ -34,6 +34,19 @@ template using pool = std::unordered_set; template using dict = std::unordered_map; using std::vector; +struct GraphicElement +{ + enum { + G_LINE, + G_BOX, + G_CIRCLE, + G_LABEL + } type; + + float x1, y1, x2, y2, z; + std::string text; +}; + #include "chip.h" struct CellInfo; -- cgit v1.2.3