1
2
3
4
5
6
7
8
9
10
11
12
|
-
!
-
!
| #deffunc groupbox str p1,int p2,int p3
s1=ginfo(22):s2=ginfo(23):if p2>=80{s3=ginfo(22)+p2}else{s3=ginfo(22)+80}if p3>=40{s4=ginfo(23)+p3}else{
s4=ginfo(23)+40}syscolor2 8:pos s1+9,s2:mes p1:s5=ginfo(14)+s1+9:s6=ginfo(15)+s2:if p1!""{s7=ginfo(15)/2}
else{s7=0}syscolor2 16:line s1,s2+s7-1,s1,s4:syscolor2 20:line s1+1,s2+s7+1,s1+1,s4:syscolor2 16
line s1,s4,s3,s4:syscolor2 20:line s1,s4+1,s3,s4+1:syscolor2 16:line s3,s2+s7,s3,s4:syscolor2 20
line s3+1,s2+s7+1,s3+1,s4:if p1!""{syscolor2 16:line s1,s2+s7,s1+6,s2+s7:syscolor2 20
line s1+1,s2+s7+1,s1+6,s2+s7+1}else{syscolor2 16:line s1,s2+s7,s3,s2+s7:syscolor2 20:line s1+1,s2+s7+1,s3-1,s2+s7+1}
if p1!""{syscolor2 16:line s5,s2+s7,s3,s2+s7:syscolor2 20:line s5,s2+s7+1,s3-1,s2+s7+1}return
|