Beispiel #1
0
        /// <summary>
        /// Constructs a new menu entry with the specified text.
        /// </summary>
        public Slider(string text, int value)
        {
            ChangesValue = true;
            this.text = text;
            this.value = value;

            mainLabel = new MenuEntry(text);
            valueLabel = new Label(value + "% ");
        }
        /// <summary>
        /// Constructs a new menu entry with the specified text.
        /// </summary>
        public OptionPicker(string text, string[] choices)
        {
            ChangesValue = true;

            this.text = text;
            this.choices = choices;

            mainLabel = new MenuEntry(text);
            choiceLabel = new Label(choices[0]);
        }
 public ContentBoxScreen(string msg, string content, string[] prompts, int def)
     : base(msg, prompts, def)
 {
     mContentLabel = new Label(content);
 }
 public ContentBoxScreen(string msg, string content)
     : base(msg)
 {
     mContentLabel = new Label(content);
 }