mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-17 20:24:46 +00:00
191 lines
8 KiB
Text
191 lines
8 KiB
Text
qbs *_FUNC_IDEINPUTBOX_STRING_IDEINPUTBOX=NULL;
|
|
if (!_FUNC_IDEINPUTBOX_STRING_IDEINPUTBOX)_FUNC_IDEINPUTBOX_STRING_IDEINPUTBOX=qbs_new(0,0);
|
|
qbs*oldstr4638=NULL;
|
|
if(_FUNC_IDEINPUTBOX_STRING_TITLE->tmp||_FUNC_IDEINPUTBOX_STRING_TITLE->fixed||_FUNC_IDEINPUTBOX_STRING_TITLE->readonly){
|
|
oldstr4638=_FUNC_IDEINPUTBOX_STRING_TITLE;
|
|
if (oldstr4638->cmem_descriptor){
|
|
_FUNC_IDEINPUTBOX_STRING_TITLE=qbs_new_cmem(oldstr4638->len,0);
|
|
}else{
|
|
_FUNC_IDEINPUTBOX_STRING_TITLE=qbs_new(oldstr4638->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEINPUTBOX_STRING_TITLE->chr,oldstr4638->chr,oldstr4638->len);
|
|
}
|
|
qbs*oldstr4639=NULL;
|
|
if(_FUNC_IDEINPUTBOX_STRING_CAPTION->tmp||_FUNC_IDEINPUTBOX_STRING_CAPTION->fixed||_FUNC_IDEINPUTBOX_STRING_CAPTION->readonly){
|
|
oldstr4639=_FUNC_IDEINPUTBOX_STRING_CAPTION;
|
|
if (oldstr4639->cmem_descriptor){
|
|
_FUNC_IDEINPUTBOX_STRING_CAPTION=qbs_new_cmem(oldstr4639->len,0);
|
|
}else{
|
|
_FUNC_IDEINPUTBOX_STRING_CAPTION=qbs_new(oldstr4639->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEINPUTBOX_STRING_CAPTION->chr,oldstr4639->chr,oldstr4639->len);
|
|
}
|
|
qbs*oldstr4640=NULL;
|
|
if(_FUNC_IDEINPUTBOX_STRING_INITIALVALUE->tmp||_FUNC_IDEINPUTBOX_STRING_INITIALVALUE->fixed||_FUNC_IDEINPUTBOX_STRING_INITIALVALUE->readonly){
|
|
oldstr4640=_FUNC_IDEINPUTBOX_STRING_INITIALVALUE;
|
|
if (oldstr4640->cmem_descriptor){
|
|
_FUNC_IDEINPUTBOX_STRING_INITIALVALUE=qbs_new_cmem(oldstr4640->len,0);
|
|
}else{
|
|
_FUNC_IDEINPUTBOX_STRING_INITIALVALUE=qbs_new(oldstr4640->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEINPUTBOX_STRING_INITIALVALUE->chr,oldstr4640->chr,oldstr4640->len);
|
|
}
|
|
qbs*oldstr4641=NULL;
|
|
if(_FUNC_IDEINPUTBOX_STRING_VALIDINPUT->tmp||_FUNC_IDEINPUTBOX_STRING_VALIDINPUT->fixed||_FUNC_IDEINPUTBOX_STRING_VALIDINPUT->readonly){
|
|
oldstr4641=_FUNC_IDEINPUTBOX_STRING_VALIDINPUT;
|
|
if (oldstr4641->cmem_descriptor){
|
|
_FUNC_IDEINPUTBOX_STRING_VALIDINPUT=qbs_new_cmem(oldstr4641->len,0);
|
|
}else{
|
|
_FUNC_IDEINPUTBOX_STRING_VALIDINPUT=qbs_new(oldstr4641->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEINPUTBOX_STRING_VALIDINPUT->chr,oldstr4641->chr,oldstr4641->len);
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_FOCUS=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_FOCUS==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_FOCUS=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_FOCUS=0;
|
|
}
|
|
void *_FUNC_IDEINPUTBOX_UDT_P=NULL;
|
|
if(_FUNC_IDEINPUTBOX_UDT_P==NULL){
|
|
_FUNC_IDEINPUTBOX_UDT_P=(void*)mem_static_malloc(20);
|
|
memset(_FUNC_IDEINPUTBOX_UDT_P,0,20);
|
|
}
|
|
ptrszint *_FUNC_IDEINPUTBOX_ARRAY_UDT_O=NULL;
|
|
if (!_FUNC_IDEINPUTBOX_ARRAY_UDT_O){
|
|
_FUNC_IDEINPUTBOX_ARRAY_UDT_O=(ptrszint*)mem_static_malloc(9*ptrsz);
|
|
new_mem_lock();
|
|
mem_lock_tmp->type=4;
|
|
((ptrszint*)_FUNC_IDEINPUTBOX_ARRAY_UDT_O)[8]=(ptrszint)mem_lock_tmp;
|
|
_FUNC_IDEINPUTBOX_ARRAY_UDT_O[2]=0;
|
|
_FUNC_IDEINPUTBOX_ARRAY_UDT_O[4]=2147483647;
|
|
_FUNC_IDEINPUTBOX_ARRAY_UDT_O[5]=0;
|
|
_FUNC_IDEINPUTBOX_ARRAY_UDT_O[6]=0;
|
|
_FUNC_IDEINPUTBOX_ARRAY_UDT_O[0]=(ptrszint)nothingvalue;
|
|
}
|
|
qbs *_FUNC_IDEINPUTBOX_STRING1_SEP=NULL;
|
|
if(_FUNC_IDEINPUTBOX_STRING1_SEP==NULL){
|
|
_FUNC_IDEINPUTBOX_STRING1_SEP=qbs_new_fixed((uint8*)mem_static_malloc(1),1,0);
|
|
memset(_FUNC_IDEINPUTBOX_STRING1_SEP->chr,0,1);
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_I=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_I==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_I=0;
|
|
}
|
|
int32 pass4642;
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_PREVFOCUS=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_PREVFOCUS==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_PREVFOCUS=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_PREVFOCUS=0;
|
|
}
|
|
byte_element_struct *byte_element_4643=NULL;
|
|
if (!byte_element_4643){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4643=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4643=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_4644=NULL;
|
|
if (!byte_element_4644){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4644=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4644=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int64 fornext_value4646;
|
|
int64 fornext_finalvalue4646;
|
|
int64 fornext_step4646;
|
|
uint8 fornext_step_negative4646;
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_F=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_F==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_F=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_F=0;
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_CX=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_CX==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_CX=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_CX=0;
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_CY=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_CY==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_CY=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_CY=0;
|
|
}
|
|
int64 fornext_value4649;
|
|
int64 fornext_finalvalue4649;
|
|
int64 fornext_step4649;
|
|
uint8 fornext_step_negative4649;
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_LASTFOCUS=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_LASTFOCUS==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_LASTFOCUS=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_LASTFOCUS=0;
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_CHANGE=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_CHANGE==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_CHANGE=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_CHANGE=0;
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_MOUSEDOWN=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_MOUSEDOWN==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_MOUSEDOWN=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_MOUSEDOWN=0;
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_MOUSEUP=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_MOUSEUP==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_MOUSEUP=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_MOUSEUP=0;
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_ALT=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_ALT==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_ALT=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_ALT=0;
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_OLDALT=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_OLDALT==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_OLDALT=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_OLDALT=0;
|
|
}
|
|
qbs *_FUNC_IDEINPUTBOX_STRING_ALTLETTER=NULL;
|
|
if (!_FUNC_IDEINPUTBOX_STRING_ALTLETTER)_FUNC_IDEINPUTBOX_STRING_ALTLETTER=qbs_new(0,0);
|
|
byte_element_struct *byte_element_4651=NULL;
|
|
if (!byte_element_4651){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4651=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4651=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_K=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_K==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_K=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_K=0;
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_INFO=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_INFO==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_INFO=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_INFO=0;
|
|
}
|
|
int64 fornext_value4653;
|
|
int64 fornext_finalvalue4653;
|
|
int64 fornext_step4653;
|
|
uint8 fornext_step_negative4653;
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_T=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_T==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_T=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_T=0;
|
|
}
|
|
int32 *_FUNC_IDEINPUTBOX_LONG_FOCUSOFFSET=NULL;
|
|
if(_FUNC_IDEINPUTBOX_LONG_FOCUSOFFSET==NULL){
|
|
_FUNC_IDEINPUTBOX_LONG_FOCUSOFFSET=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEINPUTBOX_LONG_FOCUSOFFSET=0;
|
|
}
|
|
byte_element_struct *byte_element_4654=NULL;
|
|
if (!byte_element_4654){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4654=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4654=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_4655=NULL;
|
|
if (!byte_element_4655){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4655=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4655=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
qbs *_FUNC_IDEINPUTBOX_STRING_A=NULL;
|
|
if (!_FUNC_IDEINPUTBOX_STRING_A)_FUNC_IDEINPUTBOX_STRING_A=qbs_new(0,0);
|
|
qbs *_FUNC_IDEINPUTBOX_STRING_TEMPA=NULL;
|
|
if (!_FUNC_IDEINPUTBOX_STRING_TEMPA)_FUNC_IDEINPUTBOX_STRING_TEMPA=qbs_new(0,0);
|
|
int64 fornext_value4657;
|
|
int64 fornext_finalvalue4657;
|
|
int64 fornext_step4657;
|
|
uint8 fornext_step_negative4657;
|
|
byte_element_struct *byte_element_4658=NULL;
|
|
if (!byte_element_4658){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4658=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4658=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|