Example #1
0
 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));
 }
Example #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));
 }
Example #3
0
 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));
 }
Example #4
0
 public CheckBox()
 {
     constraints = new UIConstraints();
 }
Example #5
0
 public TextBox(int x, int y, int w, int h)
 {
     constraints = new UIConstraints(x, y, w, h);
 }
Example #6
0
 public Button()
 {
     constraints = new UIConstraints();
 }
Example #7
0
 public UIElement(Constraint x, Constraint y, Constraint width, Constraint height)
 {
     constraints = new UIConstraints(x, y, width, height);
 }
Example #8
0
 public UIElement()
 {
     constraints = new UIConstraints();
 }
Example #9
0
 public Frame()
 {
     constraints = new UIConstraints();
 }