diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-12 20:24:00 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-12 20:24:00 +0100 |
commit | 681d82413191e5379bd5d0147d05a0879e005c49 (patch) | |
tree | 8c695352188dfa696ec9878816f06866f060ede2 /common/nextpnr.h | |
parent | 284b4750ee6a3a5a4e33590cbbccaaccfd2c5899 (diff) | |
parent | f9ef4cd4bdeaccef6fd1522441be8fd0f80249c1 (diff) | |
download | nextpnr-681d82413191e5379bd5d0147d05a0879e005c49.tar.gz nextpnr-681d82413191e5379bd5d0147d05a0879e005c49.tar.bz2 nextpnr-681d82413191e5379bd5d0147d05a0879e005c49.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/fix-zoom
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r-- | common/nextpnr.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index a162b85c..00a939a9 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -136,7 +136,7 @@ NEXTPNR_NAMESPACE_BEGIN struct GraphicElement { - enum + enum type_t { G_NONE, G_LINE, @@ -145,6 +145,14 @@ struct GraphicElement G_LABEL } type = G_NONE; + enum style_t + { + G_FRAME, + G_HIDDEN, + G_INACTIVE, + G_ACTIVE, + } style = G_FRAME; + float x1 = 0, y1 = 0, x2 = 0, y2 = 0, z = 0; std::string text; }; |