15 const char*
editbox(
const char* window,
const char* value = 0,
const char* parent_guid = 0 );
16 bool setfont(
const char* guid,
const char* fontlayer,
const char* fontname_ttf = 0);
18 void setreadonly(
const char* guid,
bool value =
true);
19 void setpassword(
const char* guid,
bool value =
true);
20 const char*
getvalue(
const char* guid);
21 void setvalue(
const char* guid,
const char* value);
22 void setvisible(
const char* guid,
bool value =
true);
24 void setenable(
const char* guid,
bool value =
true);
33 void inserttext(
const char* guid,
const char* value);
46 void setfocus(
const char* guid,
bool focus =
true );
54 bool isfocus(
const char* guid,
bool includechild =
false );
61 void setmaxchar(
const char* guid,
int maxchar = 1);
72 void remove(
const char* guid);
73 bool isidok(
const char* guid);
74 int setbuffer(
const char* guid,
const char* buffername,
const char* data);
75 const char*
getbuffer(
const char* guid,
const char* buffername);
91 void settextalign(
const char* guid,
const char* ax =
"upperleft",
const char* ay =
"upperleft");
bool isenable(const char *guid)
void deinit()
deinitialze arsagui, call when user not use arsagui any more.
int popevent(const char *guid)
pop gui event.
bool isidok(const char *guid)
void setreadonly(const char *guid, bool value=true)
const char * getvalue(const char *guid)
void settextalign(const char *guid, const char *ax="upperleft", const char *ay="upperleft")
set text alignment in horizontal and vertical
void setselecttext(const char *guid)
set select text with hightlight, lost focus gui for disable.
int getmaxchar(const char *guid)
get maximum text.
void setvisible(const char *guid, bool value=true)
void setmaxchar(const char *guid, int maxchar=1)
set maximum text.
void setenable(const char *guid, bool value=true)
void setfocus(const char *guid, bool focus=true)
set focus gui.
void remove(const char *guid)
const char * getselecttext(const char *guid)
bool setfont(const char *guid, const char *fontlayer, const char *fontname_ttf=0)
void inserttext(const char *guid, const char *value)
insert text at current cursor.
const char * getbuffer(const char *guid, const char *buffername)
const char * editbox(const char *window, const char *value=0, const char *parent_guid=0)
void init()
initialze arsagui, call !!!ONLY one time!!! when user want to do with arsagui.
void setpassword(const char *guid, bool value=true)
void setvalue(const char *guid, const char *value)
bool isfocus(const char *guid, bool includechild=false)
is focus on gui.
int setbuffer(const char *guid, const char *buffername, const char *data)
bool isvisible(const char *guid)
void setmultiline(const char *guid, bool value=true)