47 if (iconTexture !=
null)
52 float height =
title2._dimensions.Height;
79 if (iconTexture !=
null)
class f__AnonymousType0<< Count > j__TPar
override void LeftMouseDown(UIMouseEvent evt)
readonly Asset< Texture2D > _hoveredTexture
void SetHoverColor(Color color)
readonly Asset< Texture2D > _iconTexture
override void MouseOver(UIMouseEvent evt)
UIIconTextButton(LocalizedText title, Color textColor, string iconTexturePath, float textSize=1f, float titleAlignmentX=0.5f, float titleWidthReduction=10f)
void SetText(LocalizedText text, float textSize, Color color)
override void MouseOut(UIMouseEvent evt)
override void DrawSelf(SpriteBatch spriteBatch)
readonly Asset< Texture2D > _BasePanelTexture
void SetColor(Color color, float opacity)
CalculatedStyle _dimensions
static int Height(this Asset< Texture2D > asset)
static int Width(this Asset< Texture2D > asset)
static StyleDimension FromPixels(float pixels)