Ejemplo n.º 1
0
        internal override void Draw(Canvas canvas, GuiTheme theme)
        {
            var x = this.GlobalX;
            var y = this.GlobalY;
            var w = this.W;
            var h = this.H;

            canvas.BeginClip(x, y, w, h);

            canvas.DrawRect(x, y, w, h, Color.Fuchsia);

            foreach (var widget in children)
            {
                widget.Draw(canvas, theme);
            }

            canvas.EndClip();
        }
Ejemplo n.º 2
0
 internal override void Draw(Canvas canvas, GuiTheme theme)
 {
     theme.DrawButton(canvas, this);
 }
Ejemplo n.º 3
0
        internal override void Draw(Canvas canvas, GuiTheme theme)
        {
            theme.DrawPanel(canvas, this);

            base.Draw(canvas, theme);
        }