on init
declare $z0a2v := 0
declare $u5sn4 := 0
declare $4bfht := 0
declare $r3xdc := 0
declare $2h3fc := 0
declare $slhsl := 0
declare const $1pjcx := 1
declare %kytfe[$1pjcx]
declare %31b0z[$1pjcx]
declare %t4oou[$1pjcx]
declare %rsydf[$1pjcx]
declare !l0cnd[$1pjcx]
declare %awp00[4096]
declare @sxu3o
@sxu3o := "Sat, 20 Oct 2012 10:05:49"
declare $4wwm2 := 62
declare $kidzm := 4142
declare %rge53[24] := (0, 0, 233, 6, 4, 2, 0, 500000, 0, 152, 72, 1, 1, 0, 0, 0, 0, 0, 0, -0, -0, -0, -0, -0)
declare ui_label $1snh3(1, 1)
%kytfe[0] := get_ui_id($1snh3)
set_control_par_str(%kytfe[0],$CONTROL_PAR_PICTURE,"pnki_logo_sandbox_full")
$z0a2v := 0
while ($z0a2v<$1pjcx)
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_VALUE,%rge53[24*$z0a2v+18])
inc($z0a2v)
end while
$z0a2v := 0
while ($z0a2v<$1pjcx)
set_control_par_str(%kytfe[$z0a2v],$CONTROL_PAR_TEXT,!l0cnd[$z0a2v])
if (%rge53[24*$z0a2v+1]=0)
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_POS_X,%rge53[24*$z0a2v+2])
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_POS_Y,%rge53[24*$z0a2v+3])
else
if (%rge53[24*$z0a2v+1]=1)
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_GRID_X,%rge53[24*$z0a2v+4])
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_GRID_Y,%rge53[24*$z0a2v+5])
end if
end if
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_UNIT,%rge53[24*$z0a2v+6])
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_DEFAULT_VALUE,%rge53[24*$z0a2v+7])
if (%rge53[24*$z0a2v+8]=0)
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_WIDTH,%rge53[24*$z0a2v+9])
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_HEIGHT,%rge53[24*$z0a2v+10])
else
if (%rge53[24*$z0a2v+1]=1)
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_GRID_WIDTH,%rge53[24*$z0a2v+11])
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_GRID_HEIGHT,%rge53[24*$z0a2v+12])
end if
end if
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_MOUSE_BEHAVIOUR,%rge53[24*$z0a2v+13])
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_FONT_TYPE,%rge53[24*$z0a2v+14])
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_TEXT_ALIGNMENT,%rge53[24*$z0a2v+15])
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_TEXTPOS_Y,%rge53[24*$z0a2v+16])
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_HIDE,%rge53[24*$z0a2v+17])
%t4oou[$z0a2v] := get_control_par(%kytfe[$z0a2v],$CONTROL_PAR_HIDE)
%31b0z[$z0a2v] := %rge53[24*$z0a2v+0]
if (%rsydf[$z0a2v]=1 or (%31b0z[$z0a2v]>0 and (%31b0z[$z0a2v] # $slhsl)))
set_control_par(%kytfe[$z0a2v],$CONTROL_PAR_HIDE,$HIDE_WHOLE_CONTROL)
end if
inc($z0a2v)
end while
set_script_title("")
set_ui_height_px(100)
set_script_title("Sandbox")
end on