自定义对话框 » 历史记录 » 版本 15
yangdefeng, 2022-12-21 19:03
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 | 14 | yangdefeng | |设置道具框图片资源 |[[dlg_itemBoxRes |<itemBoxRes:]] | |
43 | 1 | machenhe | |设置勾选框 |[[dlg_checkBox |<checkBox:]] | |
44 | |设置完成进度条 |[[dlg_progressBar |<progressBar:]] | |
||
45 | |设置加载进度条 |[[dlg_loadingBar |<loadingBar:]] | |
||
46 | |设置输入框 |[[dlg_input |<input:]] | |
||
47 | |显示当前时间 |[[dlg_time |<time:]] | |
||
48 | |显示时分秒的倒计时 |[[dlg_timeTips |<timeTips:]] | |
||
49 | |显示读秒倒计时 |[[dlg_countDown |<countDown:]] | |
||
50 | |设置可拉伸底板大小 |[[dlg_panelSize |<panelSize:]] | |
||
51 | |子对话框(二级对话框) |[[dlg_childDlg |<childDlg:]] | |
||
52 | 10 | yangdefeng | |自定义关闭按钮 |[[dlg_clsBtn |<clsBtn:]] | |
53 | 15 | yangdefeng | |播放指定玩家模型 |[[dlg_player |<player:]] | |
54 | 3 | machenhe | |
55 | 8 | yangdefeng | - |
56 | - |
||
57 | |||
58 | 3 | machenhe | h4. 自定义对话框按钮列表 |
59 | 1 | machenhe | |
60 | 9 | yangdefeng | |设置按钮单元 |[[dlg_btnItem |(btnItem:]] | |
61 | 1 | machenhe | |设置按钮列表 |[[dlg_btnList |<btnList:]] | |
62 | 8 | yangdefeng | |
63 | - |
||
64 | - |
||
65 | |||
66 | h4. 自定义对话框显示单元组列表 |
||
67 | |||
68 | |设置单排单元组单元宽高 |[[dlg_itemSize |<itemSize:]] | |
||
69 | |设置单元组单元选中状态 |[[dlg_itemToggle |<itemToggle:]] | |
||
70 | |设置单排单元组列表 |[[dlg_itemList |<itemList:]] | |
||
71 | |设置多排单元组单元序号 |[[dlg_itemIndex |<itemIndex:]] | |
||
72 | |设置多排单元组列表 |[[dlg_itemGrid |<itemGrid:]] | |
||
73 | |设置多排图标单元组列表 |[[dlg_iconGrid |<iconGrid:]] | |
||
74 | |单元组列表指定单元刷新 |[[refreshItem]] | |
||
75 | 13 | yangdefeng | |设置循环列表单元模板 |[[dlg_itemModel |<itemModel:]] | |
76 | |对话框中循环列表样式 |[[dlg_circleList |<circleList:]] | |