|
发表于 2011-4-3 01:07:07
|
显示全部楼层
[codes=galaxy]
const int c_triggerControlPropertyImage = 4; // string
const int c_triggerControlPropertyImageType = 5; // int
// Image types
const int c_triggerImageTypeNone = 0;
const int c_triggerImageTypeNormal = 1;
const int c_triggerImageTypeBorder = 2;
const int c_triggerImageTypeHorizontalBorder = 3;
const int c_triggerImageTypeEndCap = 4;
native void DialogControlSetPropertyAsString (int control, int property, playergroup players, string value);
native void DialogControlSetPropertyAsInt (int control, int property, playergroup players, int value);
[/codes]
设置图片应该会用到上面的常量和函数。
边框的图片的 Image types 好像是要选择c_triggerImageTypeBorder吧,一般默认可能是c_triggerImageTypeNormal。
LZ自己试验下吧。 |
|