void Draw(Texture2D texture, Vector2 position, Color color)
static float Clamp(float value, float min, float max)
static void PlaySound(int type, Vector2 position, int style=1)
UIImageButton(Asset< Texture2D > texture)
void SetVisibility(float whenActive, float whenInactive)
void SetHoverImage(Asset< Texture2D > texture)
Asset< Texture2D > _texture
override void MouseOut(UIMouseEvent evt)
Asset< Texture2D > _borderTexture
override void MouseOver(UIMouseEvent evt)
override void DrawSelf(SpriteBatch spriteBatch)
float _visibilityInactive
void SetImage(Asset< Texture2D > texture)
CalculatedStyle GetDimensions()
void Set(float pixels, float precent)