public TextBoxPromptType() { this.Scope = ScopeType.Local; this.SaveLastInputAsDefault = SaveLastInputAsDefaultType.None; this.Width = double.NaN; this.Height = double.NaN; this.LabelPosition = LabelPositionType.Auto; this.AcceptEnter = false; this.AcceptTab = false; }
public TablePromptType() { this.Scope = ScopeType.Local; this.Width = double.NaN; this.Height = double.NaN; this.LabelPosition = LabelPositionType.Auto; this.Source = SourceType.ItemsList; this.AllowAdd = true; this.AllowRemove = true; this.AllowModify = true; }
public ListBoxPromptType() { this.Scope = ScopeType.Local; this.SaveLastInputAsDefault = SaveLastInputAsDefaultType.None; this.Width = double.NaN; this.Height = double.NaN; this.LabelPosition = LabelPositionType.Auto; this.ItemValueMember = "Value"; this.ItemDisplayMember = "Value"; this.Source = SourceType.ItemsList; this.MultiValue = false; }
public virtual void AddLabel(double atValue, string text, Colorf color, LabelPositionType position, Vector2f offset) { PositionLabel label = new PositionLabel(); label.text = text; label.color = color; label.position = position; label.offset = offset; if (Labels.ContainsKey(atValue)) { RemoveGO((fGameObject)Labels[atValue].go); Labels[atValue].go.Destroy(); } Labels[atValue] = label; }
public LineLabelStyle Position(LabelPositionType position) { this.position = position; return(this); }