Beispiel #1
0
 public WidgetTooltip(WidgetStyleSheet style)
     : base(style)
 {
 }
Beispiel #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;
 }
 public WidgetImage(WidgetStyleSheet style, string image)
     : base(style)
 {
     BackgroundTexture = image;
 }
Beispiel #4
0
 public WidgetWindow(WidgetStyleSheet style = default(WidgetStyleSheet))
     : base(style.IsEmpty ? DefaultStyle : style)
 {
 }