diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-07-12 21:04:47 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-07-12 21:04:47 +0200 |
commit | 13e7cd868111300577c36a3fd45ba698ce926160 (patch) | |
tree | 8c79cbe011ae4c6006ea7d158f72fddf7cbb6779 /common/nextpnr.h | |
parent | 7b9b2bef3c622bd54225c1c44ee63a211e0e1d3e (diff) | |
download | nextpnr-13e7cd868111300577c36a3fd45ba698ce926160.tar.gz nextpnr-13e7cd868111300577c36a3fd45ba698ce926160.tar.bz2 nextpnr-13e7cd868111300577c36a3fd45ba698ce926160.zip |
Add GraphicElement style enum
Signed-off-by: Clifford Wolf <clifford@clifford.at>
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; }; |