public AUI_Window(int X, int Y, int W, int H) { rec_bkg = new AUI_Rectangle( X, Y, W, H, RecAnimType.WipeRight); rec_bkg.color = Assets.BackgroundColor; rec_fore = new AUI_Rectangle( X + 1, Y + 1, W - 2, H - 2, RecAnimType.WipeRight); rec_fore.color = Assets.ForegroundColor; }
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; }