Ejemplo n.º 1
0
 // Token: 0x06003224 RID: 12836 RVA: 0x001455F0 File Offset: 0x001439F0
 public override void draw(bool ignoreCulling)
 {
     if (!this.isHidden)
     {
         if (this.isClickable)
         {
             if (SleekRender.drawButton(base.frame, base.backgroundColor) && this.onClickedButton != null)
             {
                 this.onClickedButton(this);
             }
         }
         else
         {
             SleekRender.drawBox(base.frame, base.backgroundColor);
         }
         SleekRender.drawLabel(base.frame, this.fontStyle, this.fontAlignment, this.fontSize, this.content2, base.foregroundColor, this.content);
     }
     base.drawChildren(ignoreCulling);
 }