Xonotic
|
Go to the source code of this file.
Functions | |
void | Slider_configureSliderValues (entity me, float theValueMin, float theValue, float theValueMax, float theValueStep, float theValueKeyStep, float theValuePageStep) |
void | Slider_configureSliderVisuals (entity me, float sz, float theAlign, float theTextSpace, string gfx) |
void | Slider_draw (entity me) |
float | Slider_keyDown (entity me, float key, float ascii, float shift) |
float | Slider_keyUp (entity me, float key, float ascii, float shift) |
float | Slider_mouseDrag (entity me, vector pos) |
float | Slider_mouseRelease (entity me, vector pos) |
void | Slider_resizeNotify (entity me, vector relOrigin, vector relSize, vector absOrigin, vector absSize) |
void | Slider_setSliderValue (entity me, float val) |
void | Slider_setValue (entity me, float val) |
void | Slider_setValue_allowAnim (entity me, float val, bool allowAnim) |
void | Slider_setValue_noAnim (entity me, float val) |
void | Slider_showNotify (entity me) |
string | Slider_toString (entity me) |
string | Slider_valueToText (entity me, float val) |
Variables | |
entity | applyButton |
void Slider_configureSliderValues | ( | entity | me, |
float | theValueMin, | ||
float | theValue, | ||
float | theValueMax, | ||
float | theValueStep, | ||
float | theValueKeyStep, | ||
float | theValuePageStep | ||
) |
Definition at line 55 of file slider.qc.
References fabs(), and floor().
void Slider_configureSliderVisuals | ( | entity | me, |
float | sz, | ||
float | theAlign, | ||
float | theTextSpace, | ||
string | gfx | ||
) |
Definition at line 238 of file slider.qc.
References almost_in_bounds(), anim, draw_alpha, draw_ButtonPicture(), draw_Picture(), eX, eY, NULL, strcat(), string_null, and SUPER.
Definition at line 72 of file slider.qc.
References almost_in_bounds(), K_END, K_HOME, K_KP_END, K_KP_HOME, K_KP_LEFTARROW, K_KP_PGDN, K_KP_PGUP, K_KP_RIGHTARROW, K_LEFTARROW, K_MWHEELDOWN, K_MWHEELUP, K_PGDN, K_PGUP, K_RIGHTARROW, and median().
Definition at line 121 of file slider.qc.
References K_END, K_HOME, K_KP_END, K_KP_HOME, K_KP_LEFTARROW, K_KP_PGDN, K_KP_PGUP, K_KP_RIGHTARROW, K_LEFTARROW, K_PGDN, K_PGUP, K_RIGHTARROW, m_play_click_sound(), and MENU_SOUND_SLIDE.
Definition at line 142 of file slider.qc.
References almost_in_bounds(), applyButton, bound(), ceil(), disabled, fabs(), floor(), if(), max(), median(), METHOD, min(), pressed, v, and vector().
Definition at line 227 of file slider.qc.
References m_play_click_sound(), and MENU_SOUND_SLIDE.
Definition at line 30 of file slider.qc.
Referenced by Slider_setValue_allowAnim().
Definition at line 26 of file slider.qc.
References Slider_setValue_allowAnim().
Definition at line 8 of file slider.qc.
References easingQuadOut(), makeHostedEasing(), and Slider_setSliderValue().
Referenced by Slider_setValue(), and Slider_setValue_noAnim().
Definition at line 22 of file slider.qc.
References Slider_setValue_allowAnim().
Referenced by XonoticDecibelsSlider_loadCvars().
Definition at line 43 of file slider.qc.
References almost_in_bounds(), and ftos_decimals().
entity applyButton |
Definition at line 6 of file slider.qc.
Referenced by Slider_mouseDrag().