Exemple #1
0
 public TipSignal(TipSignal cloneSource)
 {
     this.text       = cloneSource.text;
     this.textGetter = null;
     this.priority   = cloneSource.priority;
     this.uniqueId   = cloneSource.uniqueId;
 }
Exemple #2
0
 public TipSignal(string text, int uniqueId, TooltipPriority priority)
 {
     this.text       = text;
     this.textGetter = null;
     this.uniqueId   = uniqueId;
     this.priority   = priority;
 }
Exemple #3
0
 public TipSignal(Func <string> textGetter, int uniqueId)
 {
     this.text       = string.Empty;
     this.textGetter = textGetter;
     this.uniqueId   = uniqueId;
     this.priority   = TooltipPriority.Default;
 }
Exemple #4
0
 public TipSignal(string text, int uniqueId)
 {
     this.text       = text;
     this.textGetter = null;
     this.uniqueId   = uniqueId;
     this.priority   = TooltipPriority.Default;
 }
Exemple #5
0
 public TipSignal(TipSignal cloneSource)
 {
     text       = cloneSource.text;
     textGetter = null;
     priority   = cloneSource.priority;
     uniqueId   = cloneSource.uniqueId;
     delay      = 0.45f;
 }
Exemple #6
0
 public TipSignal(Func <string> textGetter, int uniqueId, TooltipPriority priority)
 {
     text            = "";
     this.textGetter = textGetter;
     this.uniqueId   = uniqueId;
     this.priority   = priority;
     delay           = 0.45f;
 }
Exemple #7
0
 public TipSignal(Func <string> textGetter, int uniqueId)
 {
     text            = "";
     this.textGetter = textGetter;
     this.uniqueId   = uniqueId;
     priority        = TooltipPriority.Default;
     delay           = 0.45f;
 }
Exemple #8
0
 public TipSignal(string text)
 {
     if (text == null)
     {
         text = string.Empty;
     }
     this.text       = text;
     this.textGetter = null;
     this.uniqueId   = text.GetHashCode();
     this.priority   = TooltipPriority.Default;
 }
Exemple #9
0
 public TipSignal(TaggedString text)
 {
     if ((string)text == null)
     {
         text = "";
     }
     this.text  = text.Resolve();
     textGetter = null;
     uniqueId   = text.GetHashCode();
     priority   = TooltipPriority.Default;
     delay      = 0.45f;
 }
Exemple #10
0
 public TipSignal(string text, float delay)
 {
     if (text == null)
     {
         text = "";
     }
     this.text  = text;
     textGetter = null;
     uniqueId   = text.GetHashCode();
     priority   = TooltipPriority.Default;
     this.delay = delay;
 }