152 int width = texture.
Width;
188 if (!isHoveringOverHandle)
204 float x =
evt.MousePosition.X;
205 float y =
evt.MousePosition.Y;
207 float y2 =
evt.MousePosition.Y;
class f__AnonymousType0<< Count > j__TPar
static float Clamp(float value, float min, float max)
bool _isHoveringOverHandle
override void DrawSelf(SpriteBatch spriteBatch)
Rectangle GetHandleRectangle()
override void LeftMouseDown(UIMouseEvent evt)
void DrawBar(SpriteBatch spriteBatch, Texture2D texture, Rectangle dimensions, Color color)
override void LeftMouseUp(UIMouseEvent evt)
Asset< Texture2D > _texture
void SetView(float viewSize, float maxViewSize)
Asset< Texture2D > _innerTexture
CalculatedStyle _innerDimensions
CalculatedStyle _dimensions