Add GraphicElement style enum

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-07-12 21:04:47 +02:00
parent 7b9b2bef3c
commit 13e7cd8681

View File

@ -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;
};