对话框 » 历史记录 » 版本 45
tejie, 2024-05-28 15:11
1 | 1 | yangdefeng | {{toc}} |
---|---|---|---|
2 | |||
3 | h3. 对话框 |
||
4 | |||
5 | 标签: |
||
6 | *图文混编*| *OK框* |
||
7 | |||
8 | 24 | yangdefeng | h4. _*%{color:blue}#say%*_ |
9 | 1 | yangdefeng | |
10 | 34 | yangdefeng | 游戏窗口左上角弹出默认对话框 |
11 | 8 | yangdefeng | 如需要自定义底板,请先编辑以下文件 |
12 | 31 | yangdefeng | ..\Mir200\Tejieconfig\tejieconfig.txt |
13 | 1 | yangdefeng | |
14 | 8 | yangdefeng | %{color:lightgrey};特戒通用配置% |
15 | [tjconfig] |
||
16 | %{color:lightgrey};资源编辑器(tejieEditor)中,选中可调用UI资源,选择需要的图片名称% |
||
17 | defaultOkPanel=图片名称 |
||
18 | 45 | tejie | clsBtn=图片名称,x偏移,y偏移 |
19 | 8 | yangdefeng | |
20 | 42 | tejie | 注: |
21 | 45 | tejie | defaultOkPanel参数说明 |
22 | 41 | tejie | |赋值内容格式|自适应或原始大小| |
23 | |图片名称 |自适应 | |
||
24 | |图片名称,-1 |自适应 | |
||
25 | |图片名称,1 |底板原始大小 | |
||
26 | |||
27 | 45 | tejie | clsBtn参数说明 |
28 | (0,0)锚定对话框底板右上角 |
||
29 | |||
30 | - |
||
31 | - |
||
32 | |||
33 | 26 | yangdefeng | 用例: |
34 | |||
35 | bq. [@对话框] |
||
36 | 1 | yangdefeng | #if |
37 | #say |
||
38 | <欢迎使用特戒引擎> |
||
39 | |||
40 | ---- |
||
41 | 26 | yangdefeng | |
42 | h4. _*%{color:green}文字按钮%*_ |
||
43 | |||
44 | 在文本后面加上“/<notextile>@</notextile>跳转目标”,文本变为可点击的文字按钮, |
||
45 | 点击后可跳至脚本中[<notextile>@</notextile>跳转目标]处。 |
||
46 | |||
47 | 32 | yangdefeng | 修改..\Mir200\Tejieconfig\tejieconfig.txt,可放大文字按钮。 |
48 | 30 | yangdefeng | [tjconfig] |
49 | %{color:lightgrey};对话框中的文字按钮是否放大(0放大,1不放大)% |
||
50 | okBtnSize=1 |
||
51 | |||
52 | 32 | yangdefeng | *用例:* |
53 | 26 | yangdefeng | |
54 | bq. [<notextile>@</notextile>对话框] |
||
55 | #if |
||
56 | #say |
||
57 | %{color:lightgrey};符号“\”代表换行% |
||
58 | <欢迎使用特戒引擎>\ \ |
||
59 | <关闭/<notextile>@</notextile>关对话> |
||
60 | %{color:lightgrey};点击“关闭”文字按钮,跳转至<notextile>@</notextile>关对话% |
||
61 | [<notextile>@</notextile>关对话] |
||
62 | 1 | yangdefeng | #act |
63 | close |
||
64 | 32 | yangdefeng | |
65 | ---- |
||
66 | 1 | yangdefeng | |
67 | 43 | tejie | *%{color:fireBrick}自定义对话框底板命令*% |
68 | 1 | yangdefeng | |
69 | 43 | tejie | h4. _*%{color:green}[[openMerchantBigDlg]]%*_ |
70 | 33 | yangdefeng | |
71 | 43 | tejie | h4. _*%{color:green}[[openBigDialogBox]]%*_ |
72 | 1 | yangdefeng | |
73 | |||
74 | ---- |
||
75 | |||
76 | h4. _*%{color:green}closeBigDialogBox%*_ |
||
77 | |||
78 | 格式: |
||
79 | |||
80 | |命令名| |
||
81 | |closeBigDialogBox | |
||
82 | |||
83 | 28 | yangdefeng | 说明:关闭对话框 |
84 | |||
85 | |||
86 | ---- |
||
87 | |||
88 | h4. _*%{color:green}close%*_ |
||
89 | |||
90 | 格式: |
||
91 | |||
92 | |命令名| |
||
93 | |close | |
||
94 | |||
95 | 1 | yangdefeng | 说明:关闭对话框 |
96 | |||
97 | |||
98 | ---- |
||
99 | 11 | yangdefeng | |
100 | 1 | yangdefeng | h3. 坐标可控制对话元素 |
101 | |||
102 | 45 | tejie | [[自定义对话框]] |