29 #include "../idlib/precompiled.h"
46 for( i = 0; i <
Num(); i++ ) {
75 if ( sel == -1 || sel >=
m_ids.
Num() ) {
static int snPrintf(char *dest, int size, const char *fmt,...) id_attribute((format(printf
int GetInt(const char *key, const char *defaultString="0") const
virtual void StateChanged(int time, bool redraw=false)=0
virtual void SetStateString(const char *varName, const char *value)=0
void Push(const idStr &s)
bool IsConfigured(void) const
virtual void SetStateInt(const char *varName, const int value)=0
const char * GetString(const char *key, const char *defaultString="") const
void SetSelection(int sel)
void Add(int id, const idStr &s)
virtual const idDict & State() const =0
int Append(const idStr &obj)
int GetSelection(char *s, int size, int sel=0) const
bool RemoveIndex(int index)
void SetStateChanges(bool enable)
const char * c_str(void) const
int FindIndex(const type &obj) const
char * va(const char *fmt,...)