1 using Microsoft.Xna.Framework;
2 using Microsoft.Xna.Framework.Graphics;
20 protected override void Draw(SpriteBatch spriteBatch)
26 if (
sprites ==
null || !
sprites.Any(s => s.Value.Any())) GUI.DrawRectangle(spriteBatch,
Rect, currColor * (currColor.A/255.0f),
true);
27 base.Draw(spriteBatch);
virtual ComponentState State
virtual Color GetColor(ComponentState state)
Dictionary< ComponentState, List< UISprite > > sprites
virtual Color OutlineColor
GUIFrame(RectTransform rectT, string style="", Color? color=null)
override void Draw(SpriteBatch spriteBatch)