Example #1
0
 public override void Render(GraphicsDevice device, Renderer Renderer, int X, int Y)
 {
     Renderer.RenderFrame(device, this.X, this.Y, this.Width, this.Height);
     Renderer.RenderSmallText(device, this.X + 5, this.Y, this.Title, Color.White);
     Renderer.RenderCloseButton(device, this.X + this.Width - 16, this.Y, this.CloseHot);
     base.Render(device, Renderer, Margin.X + X, Margin.Y + Y);
 }
Example #2
0
 public virtual void Render(int X, int Y, GraphicsDevice device, GUI.Renderer Renderer, bool RenderCooldown = false, bool RenderEXP = false)
 {
     if (this.StackSize > 1)
     {
         Renderer.RenderSmallText(device, X, Y + 20, this.StackSize.ToString(), Color.White, true, false);
     }
 }