import win.ui;
var
winform = win.form(text=
"贵重收集物品"
;right=429;bottom=499;bgcolor=5522235;border=
"dialog frame"
;max=
false
;minimize=1;mode=
"popup"
)
winform.add(
plus={cls=
"plus"
;left=0;top=0;right=430;bottom=500;z=1}
)
import godking.customPlus
winform.show();
var
itemModel = {
{
type=
"rect"
,
round=5,
rectf={x=3;y=3;width=-3;height=-3},
itemselectedcolor=0xFF888888;
width=1,
fillcolor=0xFFEEEEEE,
itemhoverfillcolor=0xFF9d896c,
itemselectedfillcolor=0xFFCdB99c;
},
{
type=
"rect"
,
round=5,
rectf={x=10;y=10;width=80;height=80},
color=0xFFCCCCCC,
width=1,
fillcolor=0x88FFFFFF,
},
{
name=
"logo"
,
type=
"img"
,
rectf={x=14;y=14;width=72;height=72},
round=5,
},
{
type=
"rect"
,
rectf={x=100;y=10;width=-10;height=25},
round=3,
fillcolor=0x88FFFFFF,
},
{
name=
"title"
,
type=
"text"
,
rectf={x=105;y=12;width=-10;height=20},
font={name=
"Tahoma"
,point=11,color=0xFF5d492c},
itemselectedfont={name=
"Tahoma"
,point=11,color=0xFFFF0000},
align=0
}
}
itemList = {
{
logo=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物品\风神瞳.png"
,
title=
"风神瞳"
,
}
}
var
p01 = godking.customPlus(winform.plus,itemModel,itemList,{
itemWidth=0,
itemHeight=0,
autoSizeWidth=
false
,
autoSizeHeight=
false
,
rownum=0,
colnum=0,
padLeft=0,
padTop=0,
padRight=0,
padBottom=0,
autoFit=
false
,
vertical=
false
,
bkcolor=0xFFFFFFFF,
bkimg=
null
,
})
win.loopMessage();
请问为什么不显示图标?