Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
textslider.qh
Go to the documentation of this file.
1#pragma once
2
3// Note:
4// to use this, you FIRST call configureSliderVisuals, then multiple times addValue, then configureTextSlider
5// don't use if all identifiers are numbers, instead use a MixedSlider
6#include "slider.qh"
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
ATTRIB(Slider, src, string)
virtual void clearValues()
virtual void addValue()
virtual void configureTextSliderValues()
string valueIdentifiers[256]
Definition textslider.qh:17
virtual void getIdentifier()
virtual void setValueFromIdentifier()
virtual void insertValue()
virtual void valueToIdentifier()
virtual void valueToText()
string valueStrings[256]
Definition textslider.qh:16
#define ATTRIBARRAY(cname, name, type, cnt)
Definition oo.qh:266
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define METHOD(cname, name, prototype)
Definition oo.qh:269