29 #ifndef __SLIDERWINDOW_H__
30 #define __SLIDERWINDOW_H__
42 void SetRange(
float _low,
float _high,
float _step);
53 virtual void Draw(
int time,
float x,
float y);
68 void UpdateCvar(
bool read,
bool force =
false );
const idMaterial * thumbMat
void InitWithDefaults(const char *_name, const idRectangle &rect, const idVec4 &foreColor, const idVec4 &matColor, const char *_background, const char *thumbShader, bool _vertical, bool _scrollbar)
void UpdateCvar(bool read, bool force=false)
void RunNamedEvent(const char *eventName)
virtual ~idSliderWindow()
void SetValue(float _value)
virtual void Activate(bool activate, idStr &act)
virtual const char * HandleEvent(const sysEvent_t *event, bool *updateVisuals)
virtual const char * RouteMouseCoords(float xd, float yd)
virtual size_t Allocated()
virtual void SetBuddy(idWindow *buddy)
virtual void Draw(int time, float x, float y)
virtual size_t Allocated()
idSliderWindow(idUserInterfaceLocal *gui)
virtual idWinVar * GetWinVarByName(const char *_name, bool winLookup=false, drawWin_t **owner=NULL)
virtual void DrawBackground(const idRectangle &drawRect)
idUserInterfaceLocal * gui
virtual bool ParseInternalVar(const char *name, idParser *src)
void SetRange(float _low, float _high, float _step)