int32 FUNC_IDEVBAR(int32*_FUNC_IDEVBAR_LONG_X,int32*_FUNC_IDEVBAR_LONG_Y,int32*_FUNC_IDEVBAR_LONG_H,int32*_FUNC_IDEVBAR_LONG_I2,int32*_FUNC_IDEVBAR_LONG_N2){
qbs *tqbs;
ptrszint tmp_long;
int32 tmp_fileno;
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
uint8 *tmp_mem_static_pointer=mem_static_pointer;
uint32 tmp_cmem_sp=cmem_sp;
#include "data385.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
libqb_check_stack();
if (is_error_pending()) goto exit_subfunc;
do{
*_FUNC_IDEVBAR_LONG_I=*_FUNC_IDEVBAR_LONG_I2;
if(!qbevent)break;evnt(28182,15445,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEVBAR_LONG_N=*_FUNC_IDEVBAR_LONG_N2;
if(!qbevent)break;evnt(28182,15445,"ide_methods.bas");}while(r);
do{
qbg_sub_color( 0 , 7 ,NULL,NULL,3);
if(!qbevent)break;evnt(28182,15450,"ide_methods.bas");}while(r);
do{
sub__printstring(*_FUNC_IDEVBAR_LONG_X,*_FUNC_IDEVBAR_LONG_Y,func_chr( 24 ),NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,15451,"ide_methods.bas");}while(r);
do{
sub__printstring(*_FUNC_IDEVBAR_LONG_X,*_FUNC_IDEVBAR_LONG_Y+*_FUNC_IDEVBAR_LONG_H- 1 ,func_chr( 25 ),NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,15452,"ide_methods.bas");}while(r);
S_60806:;
fornext_value7145=*_FUNC_IDEVBAR_LONG_Y+ 1 ;
fornext_finalvalue7145=*_FUNC_IDEVBAR_LONG_Y+*_FUNC_IDEVBAR_LONG_H- 2 ;
fornext_step7145= 1 ;
if (fornext_step7145<0) fornext_step_negative7145=1; else fornext_step_negative7145=0;
if (is_error_pending()) goto fornext_error7145;
goto fornext_entrylabel7145;
while(1){
fornext_value7145=fornext_step7145+(*_FUNC_IDEVBAR_LONG_Y2);
fornext_entrylabel7145:
*_FUNC_IDEVBAR_LONG_Y2=fornext_value7145;
if (fornext_step_negative7145){
if (fornext_value7145<fornext_finalvalue7145) break;
}else{
if (fornext_value7145>fornext_finalvalue7145) break;
}
fornext_error7145:;
if(qbevent){evnt(28182,15453,"ide_methods.bas");if(r)goto S_60806;}
do{
sub__printstring(*_FUNC_IDEVBAR_LONG_X,*_FUNC_IDEVBAR_LONG_Y2,func_chr( 176 ),NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,15454,"ide_methods.bas");}while(r);
fornext_continue_7144:;
}
fornext_exit_7144:;
S_60809:;
if ((-(*_FUNC_IDEVBAR_LONG_N< 1 ))||is_error_pending()){
if(qbevent){evnt(28182,15459,"ide_methods.bas");if(r)goto S_60809;}
do{
*_FUNC_IDEVBAR_LONG_N= 1 ;
if(!qbevent)break;evnt(28182,15459,"ide_methods.bas");}while(r);
}
S_60812:;
if ((-(*_FUNC_IDEVBAR_LONG_I< 1 ))||is_error_pending()){
if(qbevent){evnt(28182,15460,"ide_methods.bas");if(r)goto S_60812;}
do{
*_FUNC_IDEVBAR_LONG_I= 1 ;
if(!qbevent)break;evnt(28182,15460,"ide_methods.bas");}while(r);
}
S_60815:;
if ((-(*_FUNC_IDEVBAR_LONG_I>*_FUNC_IDEVBAR_LONG_N))||is_error_pending()){
if(qbevent){evnt(28182,15461,"ide_methods.bas");if(r)goto S_60815;}
do{
*_FUNC_IDEVBAR_LONG_I=*_FUNC_IDEVBAR_LONG_N;
if(!qbevent)break;evnt(28182,15461,"ide_methods.bas");}while(r);
}
S_60818:;
if ((-(*_FUNC_IDEVBAR_LONG_H== 2 ))||is_error_pending()){
if(qbevent){evnt(28182,15463,"ide_methods.bas");if(r)goto S_60818;}
do{
*_FUNC_IDEVBAR_LONG_IDEVBAR=*_FUNC_IDEVBAR_LONG_Y;
if(!qbevent)break;evnt(28182,15464,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,15465,"ide_methods.bas");}while(r);
}
S_60822:;
if ((-(*_FUNC_IDEVBAR_LONG_H== 3 ))||is_error_pending()){
if(qbevent){evnt(28182,15468,"ide_methods.bas");if(r)goto S_60822;}
do{
*_FUNC_IDEVBAR_LONG_IDEVBAR=*_FUNC_IDEVBAR_LONG_Y+ 1 ;
if(!qbevent)break;evnt(28182,15469,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,15471,"ide_methods.bas");}while(r);
}
S_60826:;
if ((-(*_FUNC_IDEVBAR_LONG_H== 4 ))||is_error_pending()){
if(qbevent){evnt(28182,15474,"ide_methods.bas");if(r)goto S_60826;}
S_60827:;
if ((-(*_FUNC_IDEVBAR_LONG_N== 1 ))||is_error_pending()){
if(qbevent){evnt(28182,15475,"ide_methods.bas");if(r)goto S_60827;}
do{
*_FUNC_IDEVBAR_LONG_IDEVBAR=*_FUNC_IDEVBAR_LONG_Y+ 1 ;
if(!qbevent)break;evnt(28182,15476,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,15478,"ide_methods.bas");}while(r);
}else{
do{
*_FUNC_IDEVBAR_SINGLE_P=(*_FUNC_IDEVBAR_LONG_I- 1 )/ ((long double)((*_FUNC_IDEVBAR_LONG_N- 1 )));
if(!qbevent)break;evnt(28182,15481,"ide_methods.bas");}while(r);
S_60832:;
if ((-(((float)(*_FUNC_IDEVBAR_SINGLE_P))<((float)( 0.5E+0 ))))||is_error_pending()){
if(qbevent){evnt(28182,15482,"ide_methods.bas");if(r)goto S_60832;}
do{
*_FUNC_IDEVBAR_LONG_Y2=*_FUNC_IDEVBAR_LONG_Y+ 1 ;
if(!qbevent)break;evnt(28182,15482,"ide_methods.bas");}while(r);
}else{
do{
*_FUNC_IDEVBAR_LONG_Y2=*_FUNC_IDEVBAR_LONG_Y+ 2 ;
if(!qbevent)break;evnt(28182,15482,"ide_methods.bas");}while(r);
}
do{
sub__printstring(*_FUNC_IDEVBAR_LONG_X,*_FUNC_IDEVBAR_LONG_Y2,func_chr( 219 ),NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,15483,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEVBAR_LONG_IDEVBAR=*_FUNC_IDEVBAR_LONG_Y2;
if(!qbevent)break;evnt(28182,15484,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,15485,"ide_methods.bas");}while(r);
}
}
S_60842:;
if ((-(*_FUNC_IDEVBAR_LONG_H> 4 ))||is_error_pending()){
if(qbevent){evnt(28182,15489,"ide_methods.bas");if(r)goto S_60842;}
S_60843:;
if ((-(*_FUNC_IDEVBAR_LONG_N== 1 ))||is_error_pending()){
if(qbevent){evnt(28182,15490,"ide_methods.bas");if(r)goto S_60843;}
do{
*_FUNC_IDEVBAR_LONG_IDEVBAR=*_FUNC_IDEVBAR_LONG_Y+(qb_safe_idiv(*_FUNC_IDEVBAR_LONG_H, 4 ));
if(!qbevent)break;evnt(28182,15491,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,15493,"ide_methods.bas");}while(r);
}
S_60847:;
if ((-(*_FUNC_IDEVBAR_LONG_I== 1 ))||is_error_pending()){
if(qbevent){evnt(28182,15495,"ide_methods.bas");if(r)goto S_60847;}
do{
*_FUNC_IDEVBAR_LONG_Y2=*_FUNC_IDEVBAR_LONG_Y+ 1 ;
if(!qbevent)break;evnt(28182,15496,"ide_methods.bas");}while(r);
do{
sub__printstring(*_FUNC_IDEVBAR_LONG_X,*_FUNC_IDEVBAR_LONG_Y2,func_chr( 219 ),NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,15497,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEVBAR_LONG_IDEVBAR=*_FUNC_IDEVBAR_LONG_Y2;
if(!qbevent)break;evnt(28182,15498,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,15499,"ide_methods.bas");}while(r);
}
S_60853:;
if ((-(*_FUNC_IDEVBAR_LONG_I==*_FUNC_IDEVBAR_LONG_N))||is_error_pending()){
if(qbevent){evnt(28182,15501,"ide_methods.bas");if(r)goto S_60853;}
do{
*_FUNC_IDEVBAR_LONG_Y2=*_FUNC_IDEVBAR_LONG_Y+*_FUNC_IDEVBAR_LONG_H- 2 ;
if(!qbevent)break;evnt(28182,15502,"ide_methods.bas");}while(r);
do{
sub__printstring(*_FUNC_IDEVBAR_LONG_X,*_FUNC_IDEVBAR_LONG_Y2,func_chr( 219 ),NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,15503,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEVBAR_LONG_IDEVBAR=*_FUNC_IDEVBAR_LONG_Y2;
if(!qbevent)break;evnt(28182,15504,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,15505,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEVBAR_SINGLE_P=(*_FUNC_IDEVBAR_LONG_I- 1 )/ ((long double)((*_FUNC_IDEVBAR_LONG_N- 1 )));
if(!qbevent)break;evnt(28182,15508,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEVBAR_SINGLE_P=*_FUNC_IDEVBAR_SINGLE_P*(*_FUNC_IDEVBAR_LONG_H- 4 );
if(!qbevent)break;evnt(28182,15509,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEVBAR_LONG_Y2=qbr(*_FUNC_IDEVBAR_LONG_Y+ 2 +std::floor(*_FUNC_IDEVBAR_SINGLE_P));
if(!qbevent)break;evnt(28182,15510,"ide_methods.bas");}while(r);
do{
sub__printstring(*_FUNC_IDEVBAR_LONG_X,*_FUNC_IDEVBAR_LONG_Y2,func_chr( 219 ),NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,15511,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEVBAR_LONG_IDEVBAR=*_FUNC_IDEVBAR_LONG_Y2;
if(!qbevent)break;evnt(28182,15512,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,15513,"ide_methods.bas");}while(r);
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free385.txt"
if ((tmp_mem_static_pointer>=mem_static)&&(tmp_mem_static_pointer<=mem_static_limit)) mem_static_pointer=tmp_mem_static_pointer; else mem_static_pointer=mem_static;
cmem_sp=tmp_cmem_sp;
return *_FUNC_IDEVBAR_LONG_IDEVBAR;
}
