コード例 #1
0
ファイル: AUI_Window.cs プロジェクト: wisniewski94/AUI
 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;
 }
コード例 #2
0
ファイル: AUI_LineWithRecs.cs プロジェクト: wisniewski94/AUI
 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;
 }