コード例 #1
0
ファイル: UITooltip.cs プロジェクト: VilRan/Legatus
 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);
 }
コード例 #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;
 }