Esempio 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();
        }
Esempio n. 2
0
 internal override void Draw(Canvas canvas, GuiTheme theme)
 {
     theme.DrawButton(canvas, this);
 }
Esempio n. 3
0
        internal override void Draw(Canvas canvas, GuiTheme theme)
        {
            theme.DrawPanel(canvas, this);

            base.Draw(canvas, theme);
        }