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 = ""; }
public Button(Window parent, Rect rect, string title, StyleFactory factory) : this(parent, rect, title, factory, "button") { }
public Window(Rect rect, string title, StyleFactory factory) : this(rect, title, factory, "window") { }
public ProgressBar(Window parent, Rect rect, string title, StyleFactory factory) : this(parent, rect, title, factory, "progressBar") { }
public TextCtrl(Window parent, Rect rect, string title, StyleFactory factory) : this(parent, rect, title, factory, "textctrl") { }