public UIMenuItemSlider( string text, UIMenuAction action = null, FieldBinding field = null, float step = 0.1f, Color c = default(Color)) : base(action) { if (c == new Color()) { c = Colors.MenuOption; } UIDivider uiDivider = new UIDivider(true, 0.0f); UIText uiText = new UIText(text, c); uiText.align = UIAlign.Left; uiDivider.leftSection.Add((UIComponent)uiText, true); UIProgressBar uiProgressBar = new UIProgressBar(30f, 7f, field, step); uiProgressBar.align = UIAlign.Right; uiDivider.rightSection.Add((UIComponent)uiProgressBar, true); this.rightSection.Add((UIComponent)uiDivider, true); this._arrow = new UIImage("contextArrowRight"); this._arrow.align = UIAlign.Right; this._arrow.visible = false; this.leftSection.Add((UIComponent)this._arrow, true); this._field = field; this._step = step; }
public UIModifierMenuItem(UIMenuAction action = null, UIAlign al = UIAlign.Center, Color c = default(Color), bool backButton = false) : base("AAAAAAAAAAAAAAAAAA", action, al, c, backButton) { }
public UICustomLevelMenu(UIMenuAction action = null, UIAlign al = UIAlign.Center, Color c = default(Color), bool backButton = false) : base("AAAAAAAAAAAAAAAAAA", action, al, c, backButton) { }