diff options
Diffstat (limited to 'common/design.h')
-rw-r--r-- | common/design.h | 13 |
1 files changed, 13 insertions, 0 deletions
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<typename T> using pool = std::unordered_set<T>; template<typename T, typename U> using dict = std::unordered_map<T, U>; 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; |