Example #1
0
 public WidgetTooltip(WidgetStyleSheet style)
     : base(style)
 {
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:NewWidgets.Widgets.WidgetLabel"/> class.
 /// </summary>
 /// <param name="style">Style.</param>
 /// <param name="text">Text.</param>
 public WidgetLabel(WidgetStyleSheet style = default(WidgetStyleSheet), string text = "")
     : base(style.IsEmpty ? DefaultStyle : style)
 {
     Text = text;
 }
Example #3
0
 public WidgetImage(WidgetStyleSheet style, string image)
     : base(style)
 {
     BackgroundTexture = image;
 }
Example #4
0
 public WidgetWindow(WidgetStyleSheet style = default(WidgetStyleSheet))
     : base(style.IsEmpty ? DefaultStyle : style)
 {
 }