private void DefaultEntityAppearance() { _viasShape = ViasShape.Round; _viasBaseSize = 4; _wireBaseSize = 5; _cellTextAlignment = TextAlignment.TopLeft; _viasTextAlignment = TextAlignment.Top; _wireTextAlignment = TextAlignment.TopLeft; _ViasInputColor = Color.Green; _ViasOutputColor = Color.Red; _ViasInoutColor = Color.Yellow; _ViasConnectColor = Color.Black; _ViasFloatingColor = Color.Gray; _ViasPowerColor = Color.Black; _ViasGroundColor = Color.Black; _WireInterconnectColor = Color.Blue; _WirePowerColor = Color.Red; _WireGroundColor = Color.Green; _CellNotColor = Color.Navy; _CellBufferColor = Color.Navy; _CellMuxColor = Color.DarkOrange; _CellLogicColor = Color.Yellow; _CellAdderColor = Color.Red; _CellBusSuppColor = Color.DarkViolet; _CellFlipFlopColor = Color.Lime; _CellLatchColor = Color.Cyan; _CellOtherColor = Color.Snow; _UnitRegfileColor = Color.Snow; _UnitMemoryColor = Color.Snow; _UnitCustomColor = Color.Snow; _SelectionColor = Color.LimeGreen; _ViasOverrideColor = Color.Black; _WireOverrideColor = Color.Black; _CellOverrideColor = Color.Black; _RegionOverrideColor = Color.Black; _ViasOpacity = 255; _WireOpacity = 128; _CellOpacity = 128; _RegionOpacity = 128; _BeaconPriority = 4; _ViasPriority = 3; _WirePriority = 2; _CellPriority = 1; _RegionPriority = 0; _AutoPriority = true; }
public ShapeSettings(EntityBox entityBox) { savedEntityBox = entityBox; ViasShape = entityBox.ViasShape; }