2using System.Collections.Generic;
4using System.Reflection;
7using Microsoft.Xna.Framework;
8using Microsoft.Xna.Framework.Input;
9using Microsoft.Xna.Framework.Graphics;
11using Barotrauma.Extensions;
17 public class CUICloseButton : CUIButton
19 public CUICloseButton() : base()
24 Absolute =
new CUINullRect(0, 0, 15, 15);
string Command
This command will be dispatched up when some component specific event happens.
CUINullRect Absolute
Absolute size and position in pixels.
CUISprite BackgroundSprite
Will be drawn in background with BackgroundColor Default is solid white 1x1 texture.