Exemplo n.º 1
0
        public TextCtrl(Window parent, Rect rect, string title, StyleFactory factory, string style) :
            base(rect, title, factory, style)
        {
            parent.RegisterChild(((Window)this));

            if (null == font)
            {
                font      = parent.WindowFont;
                fontColor = parent.FontColor;
            }

            rect.X1 += parent.Size.X1;
            rect.Y1 += parent.Size.Y1;
            rect.X2 += parent.Size.X1;
            rect.Y2 += parent.Size.Y1;

            content = "";
        }
Exemplo n.º 2
0
 public Button(Window parent, Rect rect, string title, StyleFactory factory) : this(parent, rect, title, factory, "button")
 {
 }
Exemplo n.º 3
0
 public Window(Rect rect, string title, StyleFactory factory) : this(rect, title, factory, "window")
 {
 }
Exemplo n.º 4
0
 public ProgressBar(Window parent, Rect rect, string title, StyleFactory factory) : this(parent, rect, title, factory, "progressBar")
 {
 }
Exemplo n.º 5
0
 public TextCtrl(Window parent, Rect rect, string title, StyleFactory factory) :
     this(parent, rect, title, factory, "textctrl")
 {
 }