项目

一般

简介

Dlg imgButton » 历史记录 » 版本 5

tejie, 2025-09-23 17:09

1 5 tejie
h4. _*{color:green}imgButton*_
2
3 1 machenhe
支持配置文字的图片按钮
4
5 5 tejie
标签:命令定义^<imgButton:
6 1 machenhe
7
*格式*
8 4 yangdefeng
|命令名   | 参数1           |参数2|参数3|参数4   |参数5|
9 1 machenhe
|imgButton|图片名称,是否描边|X偏移|Y偏移|按钮文字|跳转 |
10
11 4 yangdefeng
*说明*
12 5 tejie
|参数1|图片名称,是否描边
13
*图片资源名称* 参见[[资源编辑器]]
14
*按钮文字是否描边*
15 1 machenhe
1为描边
16
0为不描边
17 5 tejie
缺省为描边|
18
|参数2|X偏移,在自定义对话框中的X偏移|
19
|参数3|Y偏移,在自定义对话框中的Y偏移|
20
|参数4|按钮文字及字色
21 1 machenhe
格式: 按钮文字{字色}
22
示例
23
按钮文字{autoColor=250,251,252,253,254}
24 5 tejie
按钮文字{fColor=251}|
25
|参数5|跳转标签|
26 1 machenhe
27
28
-
29
-
30
31 5 tejie
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
32 1 machenhe
33
*使用前提1*
34 3 yangdefeng
请开启配置开关"isUseCustomOKPanel"
35 2 yangdefeng
|配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt	|
36 1 machenhe
|配置节点|[tjconfig]					|
37
|配置项  |isUseCustomOkPanel=1				|
38
39
40
*使用前提2*
41 2 yangdefeng
请配置补丁资源"lc",即找到以下配置项,加入 %{color:deeppink}lc%
42
|配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt	|
43 1 machenhe
|配置节点|[tjconfig]					|
44
|配置项  |patch=aa,bb,lc				|
45
46
-
47
-
48
49
bq. [<notextile>@</notextile>main]
50
#act
51
[[openMerchantBigDlg]] ok_di 0 0 0 1 0 0
52
#say
53
<notextile><</notextile>*{color:green}imgButton*:lc_shijieliaotian_xuanzhong:50:50:点击按钮{AUTOCOLOR=250,251,252,253,254}/<notextile>@</notextile>跳转标签>
54
&nbsp;
55
[<notextile>@</notextile>跳转标签]
56
#act
57
[[close]]
58
[[messageBox]] 欢迎使用特戒引擎