コード例 #1
0
ファイル: Button.cs プロジェクト: JGDoerrer/KreativerName
 public Button(int x, int y, int w, int h)
 {
     constraints = new UIConstraints(
         new PixelConstraint(x),
         new PixelConstraint(y),
         new PixelConstraint(w),
         new PixelConstraint(h));
 }
コード例 #2
0
 public CheckBox(int x, int y, int w, int h)
 {
     constraints = new UIConstraints(
         new PixelConstraint(x),
         new PixelConstraint(y),
         new PixelConstraint(w),
         new PixelConstraint(h));
 }
コード例 #3
0
ファイル: TextBlock.cs プロジェクト: JGDoerrer/KreativerName
 public TextBlock(string text, float size, int x, int y)
 {
     Text        = text;
     Size        = size;
     constraints = new UIConstraints(
         new PixelConstraint(x),
         new PixelConstraint(y),
         new PixelConstraint((int)TextWidth),
         new PixelConstraint((int)TextHeight));
 }
コード例 #4
0
 public CheckBox()
 {
     constraints = new UIConstraints();
 }
コード例 #5
0
ファイル: TextBox.cs プロジェクト: JGDoerrer/KreativerName
 public TextBox(int x, int y, int w, int h)
 {
     constraints = new UIConstraints(x, y, w, h);
 }
コード例 #6
0
ファイル: Button.cs プロジェクト: JGDoerrer/KreativerName
 public Button()
 {
     constraints = new UIConstraints();
 }
コード例 #7
0
ファイル: UIElement.cs プロジェクト: JGDoerrer/KreativerName
 public UIElement(Constraint x, Constraint y, Constraint width, Constraint height)
 {
     constraints = new UIConstraints(x, y, width, height);
 }
コード例 #8
0
ファイル: UIElement.cs プロジェクト: JGDoerrer/KreativerName
 public UIElement()
 {
     constraints = new UIConstraints();
 }
コード例 #9
0
 public Frame()
 {
     constraints = new UIConstraints();
 }