aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/design.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/common/design.h b/common/design.h
index e87304bf..f87a5081 100644
--- a/common/design.h
+++ b/common/design.h
@@ -36,6 +36,20 @@ using std::vector;
struct GraphicElement
{
+ // This will control colour, and there should be separate visibility controls in some cases also
+ enum {
+ G_LOCAL_WIRES, // Wires entirely inside tiles, e.g. between switchbox and bels
+ G_GENERAL_WIRES, // Standard inter-tile routing
+ G_DEDICATED_WIRES, // Special inter-tile wires, e.g. carry chains
+ G_BEL_OUTLINE,
+ G_SWITCHBOX_OUTLINE,
+ G_TILE_OUTLINE,
+ G_BEL_PINS,
+ G_SWITCHBOX_PINS,
+ G_BEL_MISC,
+ G_TILE_MISC,
+ } style;
+
enum {
G_LINE,
G_BOX,