自定义对话框 » 历史记录 » 版本 8
yangdefeng, 2022-05-07 18:20
1 | 1 | machenhe | h3. 自定义对话框 |
---|---|---|---|
2 | |||
3 | - |
||
4 | - |
||
5 | |||
6 | h4. 基本定义 |
||
7 | |||
8 | 可以自定义文本、图片、特效、模型等诸多元素。 |
||
9 | 可以编辑对话框的各种操作逻辑。 |
||
10 | |||
11 | - |
||
12 | - |
||
13 | |||
14 | h4. 基础用法 |
||
15 | |||
16 | *%{color:deepskyblue}脚本示例:%* |
||
17 | |||
18 | bq. [@main] |
||
19 | #say |
||
20 | 你好特戒 |
||
21 | 7 | yangdefeng | |
22 | 1 | machenhe | - |
23 | 6 | yangdefeng | - |
24 | 7 | yangdefeng | |
25 | 5 | machenhe | h4. 自定义对话框添加控件元素命令 |
26 | 1 | machenhe | |
27 | |设置单颜色文本 |[[dlg_text |<text:]] | |
||
28 | |设置多颜色文本 |[[dlg_textEx |<textEx:]] | |
||
29 | |设置图片 |[[dlg_img |<img:]] | |
||
30 | |设置图片 |[[dlg_imgEx |<imgEx:]] | |
||
31 | |设置图片 |[[dlg_playImg |<playImg:]] | |
||
32 | |设置图片按钮 |[[dlg_imgButton |<imgButton:]] | |
||
33 | |设置静态图标 |[[dlg_itemShow |<itemShow:]] | |
||
34 | |设置动态图标 |[[dlg_itemShowEx |<itemShowEx:]] | |
||
35 | |设置数量检测图标 |[[dlg_itemShowNum |<itemShowNum:]] | |
||
36 | |设置偏窄特效 |[[dlg_playFlash |<playFlash:]] | |
||
37 | |设置偏宽特效 |[[dlg_okPanelPlayEffect |<okPanelPlayEffect:]] | |
||
38 | |设置粒子特效 |[[dlg_playParticleEffect |<playParticleEffect:]] | |
||
39 | |设置可旋转模型 |[[dlg_playModel |<playModel:]] | |
||
40 | |设置非旋转模型 |[[dlg_playModelEx |<playModelEx:]] | |
||
41 | |设置道具框 |[[dlg_itemBox |<itemBox:]] | |
||
42 | |设置勾选框 |[[dlg_checkBox |<checkBox:]] | |
||
43 | |设置完成进度条 |[[dlg_progressBar |<progressBar:]] | |
||
44 | |设置加载进度条 |[[dlg_loadingBar |<loadingBar:]] | |
||
45 | |设置输入框 |[[dlg_input |<input:]] | |
||
46 | |显示当前时间 |[[dlg_time |<time:]] | |
||
47 | |显示时分秒的倒计时 |[[dlg_timeTips |<timeTips:]] | |
||
48 | |显示读秒倒计时 |[[dlg_countDown |<countDown:]] | |
||
49 | |设置可拉伸底板大小 |[[dlg_panelSize |<panelSize:]] | |
||
50 | |子对话框(二级对话框) |[[dlg_childDlg |<childDlg:]] | |
||
51 | 3 | machenhe | |
52 | 8 | yangdefeng | - |
53 | - |
||
54 | |||
55 | 3 | machenhe | h4. 自定义对话框按钮列表 |
56 | 1 | machenhe | |
57 | |设置按钮单元 |[[dlg_btnItem |btnItem:]] | |
||
58 | |设置按钮列表 |[[dlg_btnList |<btnList:]] | |
||
59 | 8 | yangdefeng | |
60 | - |
||
61 | - |
||
62 | |||
63 | h4. 自定义对话框显示单元组列表 |
||
64 | |||
65 | |设置单排单元组单元宽高 |[[dlg_itemSize |<itemSize:]] | |
||
66 | |设置单元组单元选中状态 |[[dlg_itemToggle |<itemToggle:]] | |
||
67 | |设置单排单元组列表 |[[dlg_itemList |<itemList:]] | |
||
68 | |设置多排单元组单元序号 |[[dlg_itemIndex |<itemIndex:]] | |
||
69 | |设置多排单元组列表 |[[dlg_itemGrid |<itemGrid:]] | |
||
70 | |设置多排图标单元组列表 |[[dlg_iconGrid |<iconGrid:]] | |
||
71 | |单元组列表指定单元刷新 |[[refreshItem]] | |