aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/nextpnr.h10
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;
};