diff --git a/diylc/diylc-library/lib/diylc-core.jar b/diylc/diylc-library/lib/diylc-core.jar index 8e1a4bd9..de1686d2 100644 Binary files a/diylc/diylc-library/lib/diylc-core.jar and b/diylc/diylc-library/lib/diylc-core.jar differ diff --git a/diylc/diylc-library/src/org/diylc/components/guitar/HumbuckerPickup.java b/diylc/diylc-library/src/org/diylc/components/guitar/HumbuckerPickup.java index acdc8dc1..fe564905 100644 --- a/diylc/diylc-library/src/org/diylc/components/guitar/HumbuckerPickup.java +++ b/diylc/diylc-library/src/org/diylc/components/guitar/HumbuckerPickup.java @@ -225,7 +225,7 @@ public class HumbuckerPickup extends AbstractTransparentComponent { poleArea.add(new Area( new RoundRectangle2D.Double(x + pointMargin - length + poleMargin - poleSize / 2, y - pointMargin + coilMargin - poleSize / 2, poleSpacing * 5 + poleSize, poleSize, poleSize / 2, poleSize / 2))); - } else { + } else if (getCoilType1() == PolePieceType.Rods) { for (int i = 0; i < 6; i++) { if (getType() == HumbuckerType.PAF || !getCover()) { Ellipse2D pole = @@ -240,7 +240,7 @@ public class HumbuckerPickup extends AbstractTransparentComponent { poleArea.add(new Area(new RoundRectangle2D.Double(x + pointMargin - length + poleMargin - poleSize / 2, y - pointMargin + width - coilMargin - poleSize / 2, poleSpacing * 5 + poleSize, poleSize, poleSize / 2, poleSize / 2))); - } else { + } else if (getCoilType1() == PolePieceType.Rods) { for (int i = 0; i < 6; i++) { Ellipse2D pole = new Ellipse2D.Double(x + pointMargin - length + poleMargin + i * poleSpacing - poleSize / 2, y @@ -482,6 +482,6 @@ public class HumbuckerPickup extends AbstractTransparentComponent { } public enum PolePieceType { - Rods, Rail; + Rods, Rail, None; } } diff --git a/diylc/diylc-swing/lib/diylc-core.jar b/diylc/diylc-swing/lib/diylc-core.jar index 8e1a4bd9..de1686d2 100644 Binary files a/diylc/diylc-swing/lib/diylc-core.jar and b/diylc/diylc-swing/lib/diylc-core.jar differ diff --git a/diylc/diylc-swing/library/main.jar b/diylc/diylc-swing/library/main.jar index 557ad214..933eb0b5 100644 Binary files a/diylc/diylc-swing/library/main.jar and b/diylc/diylc-swing/library/main.jar differ diff --git a/diylc/diylc-swing/update.xml b/diylc/diylc-swing/update.xml index b00aa5b6..78d85c44 100644 --- a/diylc/diylc-swing/update.xml +++ b/diylc/diylc-swing/update.xml @@ -2148,7 +2148,7 @@ NEW_FEATURE - Ability to have "Single-coil Pickup" with no poles, similar to Lace Sensors + Ability to have "Single-coil Pickup" and "Humbucker Pickup" with no poles, similar to EMG, Lace Sensor... IMPROVEMENT diff --git a/diylc/diylc-swing/variants.xml b/diylc/diylc-swing/variants.xml index 74f494e2..94497fd9 100644 --- a/diylc/diylc-swing/variants.xml +++ b/diylc/diylc-swing/variants.xml @@ -18,14 +18,6 @@ Alpha 127 - - Model - - - - Orientation - DEFAULT - Pole Color @@ -35,6 +27,14 @@ 255 + + Orientation + DEFAULT + + + Model + + Type Stratocaster @@ -73,16 +73,16 @@ 127 - Model - + Pole Color + Orientation DEFAULT - Pole Color - + Model + Type @@ -117,16 +117,16 @@ 127 - Model - + Pole Color + Orientation DEFAULT - Pole Color - + Model + Type @@ -161,16 +161,16 @@ 127 - Model - + Pole Color + Orientation DEFAULT - Pole Color - + Model + Type @@ -205,16 +205,16 @@ 127 - Model - + Pole Color + Orientation DEFAULT - Pole Color - + Model + Type @@ -249,16 +249,16 @@ 127 - Model - + Pole Color + Orientation DEFAULT - Pole Color - + Model + Type @@ -289,6 +289,10 @@ DPDT + + Alpha + 127 + Body @@ -298,18 +302,10 @@ 255 - - Alpha - 127 - Orientation VERTICAL - - Type - DPDT - Border @@ -319,6 +315,10 @@ 255 + + Type + DPDT + Spacing @@ -358,25 +358,25 @@ SPDT - - Body - - Alpha 127 + + Body + + Orientation VERTICAL - Type - SPDT + Border + - Border - + Type + SPDT Spacing @@ -781,8 +781,10 @@ - Alpha - 127 + Value + + + Body @@ -794,10 +796,8 @@ - Value - - - + Alpha + 127 Orientation @@ -812,14 +812,14 @@ 255 - - Display - BOTH - Voltage + + Display + BOTH + Label @@ -871,12 +871,8 @@ - Value - - - - - + Alpha + 127 Body @@ -888,8 +884,12 @@ - Alpha - 127 + Value + + + + + Orientation @@ -904,14 +904,14 @@ 255 - - Voltage - - Display BOTH + + Voltage + + Label @@ -971,8 +971,13 @@ - Alpha - 127 + Value + + + + + + Body @@ -984,13 +989,8 @@ - Value - - - - - - + Alpha + 127 Orientation @@ -1005,14 +1005,14 @@ 255 - - Display - BOTH - Voltage + + Display + BOTH + Label @@ -1068,19 +1068,19 @@ - Alpha - 127 + Value + + + + Body - Value - - - - + Alpha + 127 Orientation @@ -1090,14 +1090,14 @@ Border - - Display - BOTH - Voltage + + Display + BOTH + Label @@ -1125,6 +1125,241 @@ + + Semiconductors.DIP IC + + + DIP8 + + + Row Spacing + + 0.3 + in + + + + Pins + _8 + + + Alpha + 127 + + + Body + + + + Value + + + + Orientation + DEFAULT + + + Border + + 89 + 89 + 89 + 255 + + + + Display + BOTH + + + Label + + + + Display Pin #s + NO + + + Indent + + 89 + 89 + 89 + 255 + + + + Pin Spacing + + 0.1 + in + + + + + + 0 + 0 + + + 0 + 20 + + + 0 + 40 + + + 0 + 60 + + + 60 + 0 + + + 60 + 20 + + + 60 + 40 + + + 60 + 60 + + + false + + + DIP16 + + + Row Spacing + + 0.3 + in + + + + Pins + _16 + + + Alpha + 127 + + + Body + + + + Value + + + + Orientation + DEFAULT + + + Border + + + + Display + BOTH + + + Label + + + + Display Pin #s + NO + + + Indent + + + + Pin Spacing + + 0.1 + in + + + + + + 0 + 0 + + + 0 + 20 + + + 0 + 40 + + + 0 + 60 + + + 0 + 80 + + + 0 + 100 + + + 0 + 120 + + + 0 + 140 + + + 60 + 0 + + + 60 + 20 + + + 60 + 40 + + + 60 + 60 + + + 60 + 80 + + + 60 + 100 + + + 60 + 120 + + + 60 + 140 + + + false + + + Passive.Resistor @@ -2021,255 +2256,20 @@ - - Semiconductors.DIP IC - - - DIP8 - - - Pins - _8 - - - Row Spacing - - 0.3 - in - - - - Value - - - - Body - - - - Alpha - 127 - - - Orientation - DEFAULT - - - Border - - 89 - 89 - 89 - 255 - - - - Display - BOTH - - - Label - - - - Display Pin #s - NO - - - Indent - - 89 - 89 - 89 - 255 - - - - Pin Spacing - - 0.1 - in - - - - - - 0 - 0 - - - 0 - 20 - - - 0 - 40 - - - 0 - 60 - - - 60 - 0 - - - 60 - 20 - - - 60 - 40 - - - 60 - 60 - - - false - - - DIP16 - - - Pins - _16 - - - Row Spacing - - 0.3 - in - - - - Value - - - - Body - - - - Alpha - 127 - - - Orientation - DEFAULT - - - Border - - - - Display - BOTH - - - Label - - - - Display Pin #s - NO - - - Indent - - - - Pin Spacing - - 0.1 - in - - - - - - 0 - 0 - - - 0 - 20 - - - 0 - 40 - - - 0 - 60 - - - 0 - 80 - - - 0 - 100 - - - 0 - 120 - - - 0 - 140 - - - 60 - 0 - - - 60 - 20 - - - 60 - 40 - - - 60 - 60 - - - 60 - 80 - - - 60 - 100 - - - 60 - 120 - - - 60 - 140 - - - false - - - Tubes.Tube Socket Noval - - Angle - 0 - Base B9A + + Angle + 0 + Alpha 127 @@ -2335,14 +2335,14 @@ Octal - - Angle - 0 - Base OCTAL + + Angle + 0 + Alpha 127 @@ -2404,10 +2404,6 @@ Covered PAF-Style - - Alpha - 127 - Bobin 1 @@ -2417,6 +2413,18 @@ 255 + + Alpha + 127 + + + Model + + + + Orientation + DEFAULT + Pole Color @@ -2426,14 +2434,6 @@ 255 - - Orientation - DEFAULT - - - Model - - Bobin 2 @@ -2480,6 +2480,10 @@ Uncovered PAF-Style + + Alpha + 127 + Bobin 1 @@ -2489,18 +2493,6 @@ 255 - - Alpha - 127 - - - Model - - - - Orientation - DEFAULT - Pole Color @@ -2510,6 +2502,14 @@ 255 + + Orientation + DEFAULT + + + Model + + Bobin 2 @@ -2553,6 +2553,82 @@ false + + EMG-style + + + Alpha + 127 + + + Bobin 1 + + 234 + 227 + 198 + 255 + + + + Pole Color + + 117 + 157 + 175 + 255 + + + + Orientation + DEFAULT + + + Model + + + + Bobin 2 + + 0 + 0 + 0 + 255 + + + + Type + PAF + + + Cover + true + + + Pole Pieces 1 + None + + + Pole Pieces 2 + None + + + Color + + 51 + 51 + 51 + 255 + + + + + + 0 + 0 + + + false + \ No newline at end of file