项目

一般

简介

Dlg imgButton » 历史记录 » 版本 3

yangdefeng, 2022-05-07 23:52

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