public Label( string text, fbEngine engine, fbInterface ui, int depth = -1 ) : base(engine, ui, depth) { content = new SmartText(text, ui); }
public Button( string label, Action reaction, fbEngine engine, fbInterface ui ) : base(engine, ui) { this.label = new SmartText(label, ui); this.reaction = reaction; subscriber = new InputSubscriber(this); subscriber.Register(); }
public Widget SetTooltip(string tip) { tooltip = new SmartText(tip, ui); return(this); }