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