Exemple #1
0
 public Label(
     string text,
     fbEngine engine,
     fbInterface ui,
     int depth = -1
     ) : base(engine, ui, depth)
 {
     content = new SmartText(text, ui);
 }
Exemple #2
0
        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();
        }
Exemple #3
0
 public Widget SetTooltip(string tip)
 {
     tooltip = new SmartText(tip, ui);
     return(this);
 }