自定义对话框 » 历史记录 » 版本 18
tejie, 2023-11-06 17:23
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 | 16 | yangdefeng | |设置2d特效 |[[dlg_play2dSprite |<play2dSprite:]] | |
39 | 1 | machenhe | |设置粒子特效 |[[dlg_playParticleEffect |<playParticleEffect:]] | |
40 | |设置可旋转模型 |[[dlg_playModel |<playModel:]] | |
||
41 | |设置非旋转模型 |[[dlg_playModelEx |<playModelEx:]] | |
||
42 | |设置道具框 |[[dlg_itemBox |<itemBox:]] | |
||
43 | 14 | yangdefeng | |设置道具框图片资源 |[[dlg_itemBoxRes |<itemBoxRes:]] | |
44 | 1 | machenhe | |设置勾选框 |[[dlg_checkBox |<checkBox:]] | |
45 | |设置完成进度条 |[[dlg_progressBar |<progressBar:]] | |
||
46 | |设置加载进度条 |[[dlg_loadingBar |<loadingBar:]] | |
||
47 | |设置输入框 |[[dlg_input |<input:]] | |
||
48 | |显示当前时间 |[[dlg_time |<time:]] | |
||
49 | |显示时分秒的倒计时 |[[dlg_timeTips |<timeTips:]] | |
||
50 | |显示读秒倒计时 |[[dlg_countDown |<countDown:]] | |
||
51 | 17 | yangdefeng | |设置可拉伸底板大小 |[[dlg_panelSize |<panelSize2:]] | |
52 | 1 | machenhe | |子对话框(二级对话框) |[[dlg_childDlg |<childDlg:]] | |
53 | 10 | yangdefeng | |自定义关闭按钮 |[[dlg_clsBtn |<clsBtn:]] | |
54 | 15 | yangdefeng | |播放指定玩家模型 |[[dlg_player |<player:]] | |
55 | 18 | tejie | |对话框配置首饰盒装备栏 |[[dlg_equipField |<equipField:]] | |
56 | 3 | machenhe | |
57 | 8 | yangdefeng | - |
58 | - |
||
59 | |||
60 | 3 | machenhe | h4. 自定义对话框按钮列表 |
61 | 1 | machenhe | |
62 | 9 | yangdefeng | |设置按钮单元 |[[dlg_btnItem |(btnItem:]] | |
63 | 1 | machenhe | |设置按钮列表 |[[dlg_btnList |<btnList:]] | |
64 | 8 | yangdefeng | |
65 | - |
||
66 | - |
||
67 | |||
68 | h4. 自定义对话框显示单元组列表 |
||
69 | |||
70 | |设置单排单元组单元宽高 |[[dlg_itemSize |<itemSize:]] | |
||
71 | |设置单元组单元选中状态 |[[dlg_itemToggle |<itemToggle:]] | |
||
72 | |设置单排单元组列表 |[[dlg_itemList |<itemList:]] | |
||
73 | |设置多排单元组单元序号 |[[dlg_itemIndex |<itemIndex:]] | |
||
74 | |设置多排单元组列表 |[[dlg_itemGrid |<itemGrid:]] | |
||
75 | |设置多排图标单元组列表 |[[dlg_iconGrid |<iconGrid:]] | |
||
76 | |单元组列表指定单元刷新 |[[refreshItem]] | |
||
77 | 13 | yangdefeng | |设置循环列表单元模板 |[[dlg_itemModel |<itemModel:]] | |
78 | |对话框中循环列表样式 |[[dlg_circleList |<circleList:]] | |