public AUI_LineWithRecs() { line = new AUI_Line(); recA = new AUI_Rectangle(-16, -16, 16, 16, RecAnimType.WipeRight); recB = new AUI_Rectangle(-16, -16, 16, 16, RecAnimType.WipeRight); recA.openingRec.W = recA.openingRec.H = 3; recA.openedRec.W = recA.openedRec.H = 3; recA.closedRec.W = recA.closedRec.H = 3; recB.openingRec.W = recB.openingRec.H = 3; recB.openedRec.W = recB.openedRec.H = 3; recB.closedRec.W = recB.closedRec.H = 3; }
public AUI_SpiderQueenButton(int X, int Y, String Text, List <AUI_Base> LR) { button = new AUI_Button(X, Y, 16 * 4, Text); button.CenterText(); lines = new List <AUI_Line>(); //create 8 legs, update will match their positions for (i = 0; i < 8; i++) { AUI_Line line = new AUI_Line(); line.displayState = DisplayState.Closed; lines.Add(line); } displayState = DisplayState.Closed; ListRef = LR; }