public Textbox(string pName) : base(pName) { Font = Font.Create(UIManager.DefaultFontFamily, UIManager.DefaultFontSize, UIManager.DefaultFontColor, Game.Graphics); Font.Alignment = Alignments.Leading; Background = SolidColorBrush.Create(Color.Gray); Cursor = Pen.Create(UIManager.DefaultFontColor, 1); }
public ToggleButton(string pName, UIElement pContent) : base(pName) { AddChild(pContent); NonToggledColor = Color.Gray; ToggledColor = Color.DarkGray; _background = SolidColorBrush.Create(NonToggledColor); Border = Pen.Create(Color.Yellow, 2); _padding = new Thickness(3); }
public Checkbox(string pName) : base(pName) { Background = SolidColorBrush.Create(Color.Gray); Foreground = Pen.Create(Color.Black, 2); }
public DebugRenderSystem(IGraphicsAdapter pAdapter) : base(typeof(ColliderComponent)) { _adapter = pAdapter; DebugBoxes = Pen.Create(Color.Aqua, 1); }