Beispiel #1
0
 public UITooltip(int x, int y, int width, int height, UIWindowDynamicSprite sprite, SpriteFont font)
     : base(x, y, width, height, sprite)
 {
     Color = new Color(Color.Black, 0.5f);
     Text  = new UIText(x, y, width, height, font, Color.White);
     Children.Add(Text);
 }
Beispiel #2
0
 public UIWindowDynamic(int x, int y, int width, int height, UIWindowDynamicSprite sprite)
     : base(x, y, width, height)
 {
     Sprite           = sprite;
     EdgeColor        = Color;
     ResizeableByUser = true;
 }