Exemple #1
0
        public MenuItem(Menu parent)
        {
            this.parent = parent;

            Text = "";          // no text
            Color = Color.LightGreen;
            ActiveColor = Color.Green;
            Position = Vector2.Zero;
        }
 public NumericButton(Menu parent, string text)
     : base(parent)
 {
     this.Text = text;
 }
Exemple #3
0
 public Button(Menu parent, Action action, string text)
     : base(parent)
 {
     call = action;
     this.Text = text;
 }