-
Notifications
You must be signed in to change notification settings - Fork 1
/
DuiLib.xml
427 lines (426 loc) · 40.4 KB
/
DuiLib.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
<?xml version="1.0" encoding="UTF-8"?>
<Controls>
<Window parent="">
<Attribute name="alpha" default="255" type="INT" comment="窗口的alpha值(0-255),如(100)"/>
<Attribute name="bktrans" default="false" type="BOOL" comment="窗口是否使用静态透明背景,如(false)"/>
<Attribute name="caption" default="0,0,0,0" type="RECT" comment="窗口可拖动的标题栏大小的边距,最后一个参数是指离上边框的距离,如(0,0,0,28)"/>
<Attribute name="defaultfontcolor" default="0xFF000000" type="DWORD" comment="默认的字体颜色,如(0xFF000000)"/>
<Attribute name="disabledfontcolor" default="0xFFA7A6AA" type="DWORD" comment="默认的disabled字体颜色,如(0xFFA7A6AA)"/>
<Attribute name="gdiplustext" default="false" type="BOOL" comment="是否采用GDI+绘制文本"/>
<Attribute name="linkfontcolor" default="0xFF0000FF" type="DWORD" comment="默认的link字体颜色,如(0xFF0000FF)"/>
<Attribute name="linkhoverfontcolor" default="0xFFD3215F" type="DWORD" comment="默认的linkhoverfont字体颜色,如(0xFFD3215F)"/>
<Attribute name="maxinfo" default="0,0" type="SIZE" comment="窗口最大大小,如(1600,1200)"/>
<Attribute name="mininfo" default="0,0" type="SIZE" comment="窗口最小大小,如(320,240)"/>
<Attribute name="roundcorner" default="0,0" type="SIZE" comment="窗口圆角大小,如(4,4)"/>
<Attribute name="selectedcolor" default="0xFFBAE4FF" type="DWORD" comment="默认的selected字体颜色,如(0xFFBAE4FF)"/>
<Attribute name="shadowcolor" default="0x000000" type="DWORD" comment="算法阴影的颜色,RGB格式,不支持透明度,使用shadowdarkness设置透明度"/>
<Attribute name="shadowcorner" default="0,0,0,0" type="RECT" comment="图片阴影的九宫格描述"/>
<Attribute name="shadowdarkness" default="255" type="INT" comment="算法阴影的深度(相当于透明度)"/>
<Attribute name="shadowimage" default="" type="STRING" comment="阴影图片,使用此属性后自动屏蔽算法阴影(不支持source等属性设置)"/>
<Attribute name="shadowposition" default="0,0" type="SIZE" comment="算法阴影的偏移量"/>
<Attribute name="shadowsharpness" default="255" type="INT" comment="算法阴影的锐度"/>
<Attribute name="shadowsize" default="0" type="INT" comment="算法阴影的宽度(-20到20)"/>
<Attribute name="showdirty" default="false" type="BOOL" comment="绘制脏矩形(屏幕上更新的区域被称为脏矩形)"/>
<Attribute name="showshadow" default="false" type="BOOL" comment="是否启用窗体阴影"/>
<Attribute name="size" default="0,0" type="SIZE" comment="窗口的初始化大小,如(800,600)"/>
<Attribute name="sizebox" default="0,0,0,0" type="RECT" comment="窗口可拖动改变窗口大小的边距,如(4,4,6,6)"/>
<Attribute name="stringtable" default="String.xml" type="STRING" comment="窗口使用的字符串表文件名称,如(String.xml)"/>
<Attribute name="stringtablelang" default="" type="STRING" comment="窗口使用的字符串表可能是多语言的,此处选择StringTable中的一个语言"/>
<Attribute name="titile" default="" type="STRING" comment="窗口标题"/>
<Attribute name="trayiconid" default="" type="STRING" comment="窗口托盘图标资源,可以是文件路径,也可以是资源ID"/>
<Attribute name="traytiptext" default="" type="STRING" comment="窗口托盘图标提示内容"/>
</Window>
<ChildLayout parent="Container" >
<Attribute name="xmlfile" default="" type="STRING" comment="子窗体XML布局文件"/>
</ChildLayout>
<Control parent="" notifies="setfocus killfocus timer menu windowinit(root)">
<Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>
<Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>
<Attribute name="relativepos" default="0,0,0,0" type="RECT" comment="设置相对移动,float为真时,分别表示横纵向位移值,横纵向缩放值,移动单位建议50或100"/>
<Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>
<Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>
<Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>
<Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>
<Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>
<Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>
<Attribute name="disabledbordercolor" default="0x00000000" type="DWORD" comment="禁用时边框的颜色,如(0xFFFF0000)"/>
<Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>
<Attribute name="bordersize" default="0" type="INT | RECT" comment="可以设置INT或RECT类型的值。当值为ING时则左、上、右、下都用该值作为宽。值为RECT类型时则分别设置左、上、右、下的边框"/>
<Attribute name="leftbordersize" default="0" type="INT" comment="左边边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>
<Attribute name="topbordersize" default="0" type="INT" comment="顶部边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>
<Attribute name="rightbordersize" default="0" type="INT" comment="右边边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>
<Attribute name="bottombordersize" default="0" type="INT" comment="底部边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>
<Attribute name="borderstyle" default="0" type="INT" comment="边框样式的设置,数值范围0-5"/>
<Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>
<Attribute name="bkimage" default="" type="IMAGE" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>
<Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>
<Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>
<Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>
<Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>
<Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>
<Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>
<Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>
<Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>
<Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>
<Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>
<Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>
<Attribute name="keyboard" default="true" type="BOOL" comment="非CButtonUI类忽略该值,为false时不支持TAB_STOP,且该对象不处理键盘信息"/>
<Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>
<Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>
<Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>
<Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>
<Attribute name="virtualwnd" default="" type="STRING" comment="消息发送到指定虚拟窗口"/>
<Attribute name="textcolor" default="#FF000000" type="COLOR" comment="文本颜色"/>
<Attribute name="style" default="" type="STRING" comment="引用的样式,多个样式使用逗号或空格或分号隔开,样式在Default中定义"/>
</Control>
<Container parent="Control" notifies="setfocus killfocus timer menu windowinit(root)">
<Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>
<Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>
<Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>
<Attribute name="vscrollbarstyle" default="" type="STRING" comment="指定当前使用的垂直滚动条样式名,Default中定义样式,如果此项指定则启用垂直滚动条"/>
<Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>
<Attribute name="hscrollbarstyle" default="" type="STRING" comment="指定当前使用的水平滚动条样式名,Default中定义样式,如果此项指定则启用水平滚动条"/>
<Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>
<Attribute name="scrollstepsize" default="8" type="INT" comment="每次点击滚动按钮滚动像素数,如(8)"/>
</Container>
<VerticalLayout parent="Container" notifies="setfocus killfocus timer menu windowinit(root)">
<Attribute name="sepheight" default="0" type="INT" comment="分隔符高度,正负表示分隔符在顶部还是底部,如(4)"/>
<Attribute name="sepimm" default="false" type="BOOL" comment="拖动分隔符是否立即改变大小,如(false)"/>
</VerticalLayout>
<HorizontalLayout parent="Container" notifies="setfocus killfocus timer menu windowinit(root)">
<Attribute name="sepwidth" default="0" type="INT" comment="分隔符宽,正负表示分隔符在左边还是右边,如(-4)"/>
<Attribute name="sepimm" default="false" type="BOOL" comment="拖动分隔符是否立即改变大小,如(false)"/>
</HorizontalLayout>
<TileLayout parent="Container" notifies="setfocus killfocus timer menu windowinit(root)">
<Attribute name="columns" default="1" type="INT" comment="列数,如(4),itemsize和columns只能二选一"/>
<Attribute name="itemsize" default="0,0" type="SIZE" comment="子项固定大小,如(128,128),itemsize和columns只能二选一"/>
</TileLayout>
<TabLayout parent="Container" notifies="setfocus killfocus timer menu tabselect windowinit(root)">
<Attribute name="selectedid" default="0" type="INT" comment="默认选中的页面序号,如(0)"/>
</TabLayout>
<SliderTabLayout parent="TabLayout" notifies="setfocus killfocus timer menu tabselect windowinit(root)">
<Attribute name="direction" default="horizontal" type="STRING" value="horizontal,vertical" comment="切换方向horizontal,vertical"/>
<Attribute name="ellapse" default="10" type="INT" comment="每帧画面切换所需的时间,单位ms"/>
<Attribute name="framecount" default="15" type="INT" comment="画面切换所需的帧数"/>
<Attribute name="scrollwheel" default="false" type="BOOL" comment="是否可以使用鼠标滚轮切换画面,如(false)"/>
</SliderTabLayout>
<ActiveX parent="Control" notifies="setfocus killfocus timer menu showactivex windowinit(root)">
<Attribute name="clsid" default="" type="STRING" comment="activex的clsid,如({8856F961-340A-11D0-A96B-00C04FD705A2})"/>
<Attribute name="modulename" default="" type="STRING" comment="activex从指定位置加载,如(flash/flash.ocx)"/>
<Attribute name="delaycreate" default="true" type="BOOL" comment="是否需要延迟创建activex,如(false)"/>
</ActiveX>
<WebBrowser parent="ActiveX" >
<Attribute name="homepage" default="" type="STRING" comment="默认首页" />
<Attribute name="autonavi" default="false" type="BOOL" comment="是否打开默认首页" />
</WebBrowser>
<Combo parent="Container" notifies="setfocus killfocus timer menu dropdown itemselect windowinit(root)">
<Attribute name="textpadding" default="0,0,0,0" type="RECT" comment="文字显示的边距,如(2,2,2,2)"/>
<Attribute name="normalimage" default="" type="IMAGE" comment="普通状态图片"/>
<Attribute name="hotimage" default="" type="IMAGE" comment="鼠标悬浮的状态图片"/>
<Attribute name="pushedimage" default="" type="IMAGE" comment="鼠标按下的状态图片"/>
<Attribute name="focusedimage" default="" type="IMAGE" comment="获得焦点时的状态图片"/>
<Attribute name="disabledimage" default="" type="IMAGE" comment="禁用的状态图片"/>
<Attribute name="dropbox" default="" type="STRING" comment="弹出框属性列表"/>
<Attribute name="dropboxsize" default="0,150" type="SIZE" comment="弹出框大小设置"/>
<Attribute name="itemfont" default="-1" type="INT" comment="item的字体id,如(0)"/>
<Attribute name="itemalign" default="center" type="STRING" value="left、right、center" comment="item对齐方式,取值left、right、center,如(center)"/>
<Attribute name="itemtextpadding" default="0,0,0,0" type="RECT" comment="item文字显示的边距,如(2,2,2,2)"/>
<Attribute name="itemtextcolor" default="0xFF000000" type="DWORD" comment="item字体颜色"/>
<Attribute name="itembkcolor" default="0x00000000" type="DWORD" comment="item背景颜色"/>
<Attribute name="itembkimage" default="" type="IMAGE" comment="item背景图片"/>
<Attribute name="itemaltbk" default="false" type="BOOL" comment="item是否使用隔行交替背景"/>
<Attribute name="itemselectedtextcolor" default="0xFF000000" type="DWORD" comment="item被选中时的字体颜色"/>
<Attribute name="itemselectedbkcolor" default="0xFFC1E3FF" type="DWORD" comment="item被选中时的背景颜色"/>
<Attribute name="itemselectedimage" default="" type="IMAGE" comment="item被选中时的背景图片"/>
<Attribute name="itemhottextcolor" default="0xFF000000" type="DWORD" comment="item鼠标悬浮时的字体颜色"/>
<Attribute name="itemhotbkcolor" default="0xFFE9F5FF" type="DWORD" comment="item鼠标悬浮时的背景颜色"/>
<Attribute name="itemhotimage" default="" type="IMAGE" comment="item鼠标悬浮时的背景图片"/>
<Attribute name="itemdisabledtextcolor" default="0xFFCCCCCC" type="DWORD" comment="item禁用时的字体颜色"/>
<Attribute name="itemdisabledbkcolor" default="0xFFFFFFFF" type="DWORD" comment="item禁用时的背景颜色"/>
<Attribute name="itemdisabledimage" default="" type="IMAGE" comment="item禁用时的背景图片"/>
<Attribute name="itemlinecolor" default="0x00000000" type="DWORD" comment="item行分割线颜色"/>
<Attribute name="itemshowhtml" default="false" type="BOOL" comment="item是否使用类html富文本绘制,如(false)"/>
<Attribute name="itemwndbkcolor" default="0xFFFFFFFF" type="DWORD" comment="下拉窗口背景色"/>
<Attribute name="itemwndbkbktrans" default="false" type="BOOL" comment="下拉窗口背景是否透明,如(false)"/>
</Combo>
<Label parent="Container" notifies="setfocus killfocus timer menu windowinit(root)">
<Attribute name="align" default="left" type="STRING" value="left,center,right" comment="文字横向对齐方式,取值left、center、right"/>
<Attribute name="valign" default="vcenter" type="STRING" value="top,vcenter,bottom" comment="文字纵向对齐方式,取值top、vcenter、bottom"/>
<Attribute name="endellipsis" default="false" type="BOOL" comment="句末显示不全是否使用...代替,如(true)"/>
<Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>
<Attribute name="disabledtextcolor" default="0x00000000" type="DWORD" comment="disabled字体颜色,0表示使用默认disabled字体颜色,如(0xFFFF0000)"/>
<Attribute name="textpadding" default="0,0,0,0" type="RECT" comment="文字显示的边距,如(2,2,2,2)"/>
<Attribute name="showhtml" default="false" type="BOOL" comment="是否使用类html富文本绘制,如(false)"/>
<Attribute name="enabledeffect" default="false" type="BOOL" comment="是否使用字体特效,使用下面文字特效属性必须该属性设置为true方有效"/>
<Attribute name="transshadow" default="100" type="INT" comment="阴影透明度"/>
<Attribute name="transtext" default="100" type="INT" comment="字体色彩透明度"/>
<Attribute name="transshadow1" default="100" type="INT" comment="阴影透明度"/>
<Attribute name="transtext1" default="100" type="INT" comment="字体色彩透明度"/>
<Attribute name="gradientangle" default="0" type="INT" comment="渐变色渲染角度"/>
<Attribute name="enabledstroke" default="false" type="BOOL" comment="是否使用描边效果"/>
<Attribute name="enabledshadow" default="false" type="BOOL" comment="是否使用阴影效果"/>
<Attribute name="transstroke" default="255" type="STRING" comment="字体描边的颜色透明度 0-255"/>
<Attribute name="gradientlength" default="0" type="INT" comment="渐变距离"/>
<Attribute name="shadowoffset" default="0,0" type="SIZE" comment="阴影偏移"/>
<Attribute name="textcolor1" default="0x00000000" type="DWORD" comment="字体渐变色"/>
<Attribute name="textshadowcolora" default="0xff000000" type="DWORD" comment="字体阴影渐变色"/>
<Attribute name="textshadowcolorb" default="0xff000000" type="DWORD" comment="字体阴影渐变色"/>
<Attribute name="strokecolor" default="0x00000000" type="DWORD" comment="字体描边的颜色"/>
<Attribute name="autocalcwidth" default="false" type="BOOL" comment="是否自适应文字宽度"/>
</Label>
<Button parent="Label" notifies="setfocus killfocus timer menu click windowinit(root)">
<Attribute name="normalimage" default="" type="IMAGE" comment="普通状态图片"/>
<Attribute name="hotimage" default="" type="IMAGE" comment="鼠标悬浮状态图片"/>
<Attribute name="pushedimage" default="" type="IMAGE" comment="鼠标按下的状态图片"/>
<Attribute name="focusedimage" default="" type="IMAGE" comment="获得焦点时的状态图片"/>
<Attribute name="disabledimage" default="" type="IMAGE" comment="禁用的状态图片"/>
<Attribute name="foreimage" default="" type="IMAGE" comment="普通状态前景图片"/>
<Attribute name="hotforeimage" default="" type="IMAGE" comment="鼠标悬浮状态前景图片"/>
<Attribute name="bindtabindex" default="" type="INT" comment="绑定Table控件的子视图序号"/>
<Attribute name="bindtablayoutname" default="" type="INT" comment="绑定Table控件的名称"/>
<Attribute name="hotbkcolor" default="0x00000000" type="COLOR" comment="鼠标悬浮背景颜色,0表示不使用此颜色,如(0xFFFF0000)"/>
<Attribute name="hottextcolor" default="0x00000000" type="COLOR" comment="鼠标悬浮字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>
<Attribute name="pushedtextcolor" default="0x00000000" type="COLOR" comment="鼠标按下字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>
<Attribute name="focusedtextcolor" default="0x00000000" type="COLOR" comment="获得焦点字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>
<Attribute name="multiline" default="false" type="BOOL" comment="是否支持多行文本显示"/>
</Button>
<Option parent="Button" notifies="setfocus killfocus timer menu click selectchanged windowinit(root)">
<Attribute name="group" default="" type="STRING" comment="所属组的名称,可不设"/>
<Attribute name="selected" default="false" type="BOOL" comment="是否选中"/>
<Attribute name="selectedimage" default="" type="IMAGE" comment="选中状态的图片"/>
<Attribute name="selectedhotimage" default="" type="IMAGE" comment="鼠标悬浮选中状态的图片"/>
<Attribute name="selectedpushedimage" default="" type="IMAGE" comment="鼠标按下选中状态的图片"/>
<Attribute name="foreimage" default="" type="IMAGE" comment="前景图片"/>
<Attribute name="selectedforeimage" default="" type="IMAGE" comment="选中状态前景图片"/>
<Attribute name="selectedbkcolor" default="0x00000000" type="DWORD" comment="选中状态背景色,0表示不使用此颜色,如(0xFFFF0000)"/>
<Attribute name="selectedtextcolor" default="0x00000000" type="DWORD" comment="选中状态字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>
</Option>
<CheckBox parent="Option" notifies="setfocus killfocus timer menu click selectchanged windowinit(root)">
</CheckBox>
<Text parent="Label" notifies="setfocus killfocus timer menu link windowinit(root)">
</Text>
<Progress parent="Label" notifies="setfocus killfocus timer menu windowinit(root)">
<Attribute name="foreimage" default="" type="IMAGE" comment="前景图片"/>
<Attribute name="hor" default="true" type="BOOL" comment="水平或垂直,如(true)"/>
<Attribute name="min" default="0" type="INT" comment="进度最小值,如(0)"/>
<Attribute name="max" default="100" type="INT" comment="进度最大值,如(100)"/>
<Attribute name="value" default="0" type="INT" comment="进度值,如(50)"/>
<Attribute name="isstretchfore" default="TRUE" type="BOOL" comment="指定前景图片是否缩放显示"/>
</Progress>
<ProgressButton parent="Button" notifies="setfocus killfocus timer menu windowinit(root)">
<Attribute name="foreimage" default="" type="IMAGE" comment="前景图片"/>
<Attribute name="hor" default="true" type="BOOL" comment="水平或垂直,如(true)"/>
<Attribute name="min" default="0" type="INT" comment="进度最小值,如(0)"/>
<Attribute name="max" default="100" type="INT" comment="进度最大值,如(100)"/>
<Attribute name="value" default="0" type="INT" comment="进度值,如(50)"/>
<Attribute name="isstretchfore" default="TRUE" type="BOOL" comment="指定前景图片是否缩放显示"/>
</ProgressButton>
<Slider parent="Progress" notifies="setfocus killfocus timer menu valuechanged windowinit(root)">
<Attribute name="thumbimage" default="" type="IMAGE" comment="拖动滑块普通状态图片"/>
<Attribute name="thumbhotimage" default="" type="IMAGE" comment="拖动滑块鼠标悬浮状态图片"/>
<Attribute name="thumbpushedimage" default="" type="IMAGE" comment="拖动滑块鼠标按下状态图片"/>
<Attribute name="thumbsize" default="10,10" type="SIZE" comment="拖动滑块大小,如(10,10)"/>
<Attribute name="step" default="1" type="INT" comment="进度步长,如(1)"/>
<Attribute name="sendmove" default="false" type="BOOL" comment="是否在拖动的过程中发送事件消息,如(true)"/>
</Slider>
<Edit parent="Label" notifies="setfocus killfocus timer menu return textchanged windowinit(root)">
<Attribute name="readonly" default="false" type="BOOL" comment="是否只读,如(false)"/>
<Attribute name="numberonly" default="false" type="BOOL" comment="是否只允许输入数字,如(false)"/>
<Attribute name="password" default="false" type="BOOL" comment="是否显示密码字符,如(false)"/>
<Attribute name="passwordchar" default="*" type="CHAR" comment="显示的密码字符,如(*)"/>
<Attribute name="maxchar" default="255" type="INT" comment="输入字符最大长度,如(100)"/>
<Attribute name="normalimage" default="" type="IMAGE" comment="普通状态图片"/>
<Attribute name="hotimage" default="" type="IMAGE" comment="鼠标悬浮状态图片"/>
<Attribute name="focusedimage" default="" type="IMAGE" comment="获得焦点状态图片"/>
<Attribute name="disabledimage" default="" type="IMAGE" comment="禁用状态图片"/>
<Attribute name="tipvalue" default="" type="STRING" comment="没有文本时的提示信息"/>
<Attribute name="tipvaluecolor" default="#FFBAC0C5" type="COLOR" comment="没有文本时提示信息的颜色"/>
<Attribute name="nativetextcolor" default="0x00000000" type="COLOR" comment="获取焦点时显示Windows原生edit控件的文本颜色,如(0x00000000)"/>
<Attribute name="nativebkcolor" default="0xFFFFFFFF" type="COLOR" comment="获取焦点时Windows原生edit控件的背景颜色,如(0xFFFFFFFF)"/>
</Edit>
<ScrollBar parent="Control" notifies="timer menu scrolled windowinit(root)">
<Attribute name="button1normalimage" default="" type="IMAGE" comment="左或上按钮普通状态图片"/>
<Attribute name="button1hotimage" default="" type="IMAGE" comment="左或上按钮鼠标悬浮状态图片"/>
<Attribute name="button1pushedimage" default="" type="IMAGE" comment="左或上按钮鼠标按下状态图片"/>
<Attribute name="button1disabledimage" default="" type="IMAGE" comment="左或上按钮禁用状态图片"/>
<Attribute name="button2normalimage" default="" type="IMAGE" comment="右或下按钮普通状态图片"/>
<Attribute name="button2hotimage" default="" type="IMAGE" comment="右或下按钮鼠标悬浮状态图片"/>
<Attribute name="button2pushedimage" default="" type="IMAGE" comment="右或下按钮鼠标按下状态图片"/>
<Attribute name="button2disabledimage" default="" type="IMAGE" comment="右或下按钮禁用状态图片"/>
<Attribute name="thumbnormalimage" default="" type="IMAGE" comment="滑块普通状态图片"/>
<Attribute name="thumbhotimage" default="" type="IMAGE" comment="滑块鼠标悬浮状态图片"/>
<Attribute name="thumbpushedimage" default="" type="IMAGE" comment="滑块鼠标按下状态图片"/>
<Attribute name="thumbdisabledimage" default="" type="IMAGE" comment="滑块禁用状态图片"/>
<Attribute name="railnormalimage" default="" type="IMAGE" comment="滑块中间标识普通状态图片"/>
<Attribute name="railhotimage" default="" type="IMAGE" comment="滑块中间标识鼠标悬浮状态图片"/>
<Attribute name="railpushedimage" default="" type="IMAGE" comment="滑块中间标识鼠标按下状态图片"/>
<Attribute name="raildisabledimage" default="" type="IMAGE" comment="滑块中间标识禁用状态图片"/>
<Attribute name="bknormalimage" default="" type="IMAGE" comment="背景普通状态图片"/>
<Attribute name="bkhotimage" default="" type="IMAGE" comment="背景鼠标悬浮状态图片"/>
<Attribute name="bkpushedimage" default="" type="IMAGE" comment="背景鼠标按下状态图片"/>
<Attribute name="bkdisabledimage" default="" type="IMAGE" comment="背景禁用状态图片"/>
<Attribute name="hor" default="true" type="BOOL" comment="水平或垂直,如(true)"/>
<Attribute name="linesize" default="8" type="INT" comment="滚动一行的大小,如(8)"/>
<Attribute name="range" default="100" type="INT" comment="滚动范围,如(100)"/>
<Attribute name="value" default="0" type="INT" comment="滚动位置,如(0)"/>
<Attribute name="showbutton1" default="true" type="BOOL" comment="是否显示左或上按钮,如(true)"/>
<Attribute name="showbutton2" default="true" type="BOOL" comment="是否显示右或下按钮,如(true)"/>
</ScrollBar>
<List parent="VerticalLayout" notifies="setfocus killfocus timer menu itemselect windowinit(root)">
<Attribute name="header" default="" value="hidden" type="STRING" comment="是否显示表头,如(hidden)"/>
<Attribute name="headerbkimage" default="" type="IMAGE" comment="表头背景图片"/>
<Attribute name="scrollselect" default="false" type="BOOL" comment="是否随滚动改变选中项,如(false)"/>
<Attribute name="multiexpanding" default="false" type="BOOL" comment="是否支持多个item同时打开,如(false)"/>
<Attribute name="itemfont" default="-1" type="INT" comment="item的字体id,如(0)"/>
<Attribute name="itemalign" default="" type="STRING" value="left、right、center" comment="item对齐方式,取值left、right、center,如(center)"/>
<Attribute name="itemendellipsis" default="false" type="BOOL" comment="item句末显示不全是否使用...代替,如(true)"/>
<Attribute name="itemtextpadding" default="0,0,0,0" type="RECT" comment="item文字显示的边距,如(2,2,2,2)"/>
<Attribute name="itemtextcolor" default="0xFF000000" type="DWORD" comment="item字体颜色"/>
<Attribute name="itembkcolor" default="0x00000000" type="DWORD" comment="item背景颜色"/>
<Attribute name="itembkimage" default="" type="IMAGE" comment="item背景图片"/>
<Attribute name="itemaltbk" default="false" type="BOOL" comment="item是否使用隔行交替背景"/>
<Attribute name="itemselectedtextcolor" default="0xFF000000" type="DWORD" comment="item被选中时的字体颜色"/>
<Attribute name="itemselectedbkcolor" default="0xFFC1E3FF" type="DWORD" comment="item被选中时的背景颜色"/>
<Attribute name="itemselectedimage" default="" type="IMAGE" comment="item被选中时的背景图片"/>
<Attribute name="itemhottextcolor" default="0xFF000000" type="DWORD" comment="item鼠标悬浮时的字体颜色"/>
<Attribute name="itemhotbkcolor" default="0xFFE9F5FF" type="DWORD" comment="item鼠标悬浮时的背景颜色"/>
<Attribute name="itemhotimage" default="" type="IMAGE" comment="item鼠标悬浮时的背景图片"/>
<Attribute name="itemdisabledtextcolor" default="0xFFCCCCCC" type="DWORD" comment="item禁用时的字体颜色"/>
<Attribute name="itemdisabledbkcolor" default="0xFFFFFFFF" type="DWORD" comment="item禁用时的背景颜色"/>
<Attribute name="itemdisabledimage" default="" type="IMAGE" comment="item禁用时的背景图片"/>
<Attribute name="itemlinecolor" default="0x00000000" type="DWORD" comment="item行分割线颜色"/>
<Attribute name="itemshowhtml" default="false" type="BOOL" comment="item是否使用类html富文本绘制,如(false)"/>
</List>
<ListHeader parent="HorizontalLayout" notifies="setfocus killfocus timer windowinit(root)">
<Attribute name="scaleheader" default="false" type="BOOL" comment="是否使用缩放,如(false)"/>
</ListHeader>
<ListHeaderItem parent="CContainerUI" notifies="setfocus killfocus timer headerclick windowinit(root)">
<Attribute name="dragable" default="true" type="BOOL" comment="是否可拖动改变大小,如(true)"/>
<Attribute name="sepwidth" default="4" type="INT" comment="分隔符宽,如(4)"/>
<Attribute name="align" default="left" type="STRING" value="left、right、center" comment="文字对齐方式,取值left、right、center,如(center)"/>
<Attribute name="endellipsis" default="false" type="BOOL" comment="句末显示不全是否使用...代替,如(true)"/>
<Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>
<Attribute name="textcolor" default="0x00000000" type="DWORD" comment="字体颜色,0表示使用默认字体颜色,如(0xFFFF0000)"/>
<Attribute name="textpadding" default="2,0,2,0" type="RECT" comment="文字显示的边距,如(2,2,2,2)"/>
<Attribute name="showhtml" default="false" type="BOOL" comment="是否使用类html富文本绘制,如(false)"/>
<Attribute name="normalimage" default="" type="IMAGE" comment="普通状态图片"/>
<Attribute name="hotimage" default="" type="IMAGE" comment="鼠标悬浮的状态图片"/>
<Attribute name="pushedimage" default="" type="IMAGE" comment="鼠标按下的状态图片"/>
<Attribute name="focusedimage" default="" type="IMAGE" comment="获得焦点时的状态图片"/>
<Attribute name="sepimage" default="" type="IMAGE" comment="拖动条图片"/>
<Attribute name="scale" default="100" type="INT" comment="缩放百分比"/>
</ListHeaderItem>
<ListLabelElement parent="ListElementUI" notifies="setfocus killfocus timer itemactivate itemclick windowinit(root)">
</ListLabelElement>
<ListTextElement parent="ListLabelElement" notifies="setfocus killfocus timer itemactivate itemclick link windowinit(root)">
</ListTextElement>
<ListElement parent="Control">
<Attribute name="selected" default="false" type="BOOL" comment="是否选中,如(true)"/>
</ListElement>
<ListContainerElement parent="HorizontalLayout" notifies="setfocus killfocus timer itemactivate itemclick itemexpanded itemcollapsed windowinit(root)">
<Attribute name="selected" default="false" type="BOOL" comment="是否选中,如(true)"/>
</ListContainerElement>
<RichEdit parent="Container" notifies="setfocus killfocus timer menu return windowinit(root)">
<Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>
<Attribute name="autovscroll" default="false" type="BOOL" comment="是否随输入竖向滚动,如(true)"/>
<Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>
<Attribute name="autohscroll" default="false" type="BOOL" comment="是否随输入横向滚动,如(true)"/>
<Attribute name="wanttab" default="true" type="BOOL" comment="是否接受tab按键消息,如(true)"/>
<Attribute name="wantreturn" default="true" type="BOOL" comment="是否接受return按键消息,如(true)"/>
<Attribute name="rich" default="true" type="BOOL" comment="是否使用富格式,如(true)"/>
<Attribute name="multiline" default="true" type="BOOL" comment="是否使用多行,如(true)"/>
<Attribute name="readonly" default="false" type="BOOL" comment="是否只读,如(false)"/>
<Attribute name="password" default="false" type="BOOL" comment="是否显示密码符,如(true)"/>
<Attribute name="align" default="left" type="STRING" value="left、right、center" comment="文字对齐方式,取值left、right、center,如(center)"/>
<Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>
<Attribute name="textcolor" default="0xFF000000" type="DWORD" comment="字体颜色,如(0xFFFF0000)"/>
<Attribute name="maxchar" default="32767" type="INT" comment="最大输入字符数,如(32767)"/>
<Attribute name="normalimage" default="" type="IMAGE" comment="普通状态图片" />
<Attribute name="hotimage" default="" type="IMAGE" comment="鼠标悬停状态图片" />
<Attribute name="focusedimage" default="" type="IMAGE" comment="获取到焦点状态图片" />
<Attribute name="disabledimage" default="" type="IMAGE" comment="禁用状态图片" />
<Attribute name="textpadding" default="0,0,0,0" type="RECT" comment="文本边距,如(2,2,2,2)"/>
<Attribute name="tipvalue" default="" type="STRING" comment="没有文本时的提示信息"/>
<Attribute name="tipvaluecolor" default="" type="COLOR" comment="没有文本时的提示信息颜色"/>
<Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>
<Attribute name="disabledtextcolor" default="#FFBAC0C5" type="COLOR" comment="被禁用时文本颜色"/>
<Attribute name="rtffile" default="" type="STRING" comment="从指定文件中加载内容"/>
</RichEdit>
<TreeView parent="List" notifies="selectchanged setfocus killfocus timer menu itemselect windowinit(root)">
<Attribute name="visiblefolderbtn" default="true" type="BOOL" comment="是否显示展开与收缩按钮对象"/>
<Attribute name="visiblecheckbtn" default="false" type="BOOL" comment="是否显示复选框对象"/>
<Attribute name="itemminwidth" default="0" type="UINT" comment="设置Item的最小宽度,当hscrollbar为真且itemminwidth大于TreeView宽度时才会显示横向滚动条"/>
<Attribute name="itemtextcolor" default="0x00000000" type="DWORD" comment="item文本颜色"/>
<Attribute name="itemhottextcolor" default="0x00000000" type="DWORD" comment="鼠标进入item时文本颜色"/>
<Attribute name="selitemtextcolor" default="0x00000000" type="DWORD" comment="item被选中时文本颜色"/>
<Attribute name="selitemhottextcolor" default="0x00000000" type="DWORD" comment="item被选中时且鼠标进入时的文本颜色"/>
</TreeView>
<TreeNode parent="ListContainerElement" notifies="setfocus killfocus timer itemactivate itemclick itemexpanded itemcollapsed windowinit(root)">
<Attribute name="horizattr" default="" type="STRING" comment="item虚线、复选框、展开与收缩、文本按钮等对象容器属性设置,格式参考Default元素的属性设置"/>
<Attribute name="dotlineattr" default="" type="STRING" comment="item虚线对象属性设置,格式参考Default元素的属性设置"/>
<Attribute name="folderattr" default="" type="STRING" comment="item展开与收缩按钮对象属性设置,格式参考Default元素的属性设置"/>
<Attribute name="checkboxattr" default="" type="STRING" comment="item复选框对象属性设置,格式参考Default元素的属性设置"/>
<Attribute name="itemattr" default="" type="STRING" comment="item按钮对象属性设置,格式参考Default元素的属性设置"/>
<Attribute name="itemtextcolor" default="0x00000000" type="DWORD" comment="item文本颜色"/>
<Attribute name="itemhottextcolor" default="0x00000000" type="DWORD" comment="鼠标进入item时文本颜色"/>
<Attribute name="selitemtextcolor" default="0x00000000" type="DWORD" comment="item被选中时文本颜色"/>
<Attribute name="selitemhottextcolor" default="0x00000000" type="DWORD" comment="item被选中时且鼠标进入时的文本颜色"/>
<Attribute name="defaultexpand" default="false" type="BOOL" comment="默认是否展开"/>
</TreeNode>
<GifAnim parent="Label" notifies="setfocus killfocus timer menu windowinit(root)">
<Attribute name="bkimage" default="" type="IMAGE" comment="Gif动画图片路径(不支持source等属性设置)"/>
<Attribute name="autoplay" default="true" type="BOOL" comment="是否自动播放GIF动画"/>
<Attribute name="autosize" default="false" type="BOOL" comment="是否根据图片自动设置控件大小(开启后width和height属性失效)"/>
</GifAnim>
<DateTime parent="Label" notifies="setfocus killfocus timer menu windowinit(root)">
<Attribute name="dtstyle" default="" type="STRING" comment="设置样式,timeformat:只显示时间"/>
</DateTime>
<IPAddressUI parent="Label" notifies="setfocus killfocus timer menu windowinit(root)">
</IPAddressUI>
<Menu parent="List">
</Menu>
<MenuElement parent="ListContainerElement">
<Attribute name="icon" default="" type="IMAGE" comment="菜单项的图标图片"/>
<Attribute name="iconsize" default="0,0" type="SIZE" comment="图片的大小,最大为26x26"/>
<Attribute name="checkitem" default="false" type="BOOL" comment="是否有复选功能"/>
<Attribute name="ischeck" default="false" type="BOOL" comment="是否被选中(前提是开启了复选功能,复选功能属性应该写在本属性的前面)"/>
<Attribute name="linetype" default="false" type="BOOL" comment="是否是分割线(开启后将不会显示图标)"/>
<Attribute name="expland" default="false" type="BOOL" comment="是否使用展开图标(explandicon)"/>
<Attribute name="linepadding" default="29,0,7,0" type="RECT" comment="分割线的外边据"/>
<Attribute name="linecolor" default="0xFFBCBFC4" type="DWORD" comment="分割线的颜色"/>
<Attribute name="height" default="30" type="INT" comment="菜单项高度(分割线默认高度是6)"/>
</MenuElement>
<ChildWindow parent="Container" comment="创建一个Windows子窗口">
<Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一"/>
</ChildWindow>
<Include>
<Attribute name="count" default="1" type="INT" comment="包含次数,表示在当前位置插入count个source内容"/>
<Attribute name="source" default="" type="STRING" comment="包含的资源ID或文件路径"/>
</Include>
<Font>
<Attribute name="id" default="" type="INT" comment="字体唯一识别号,引用该字体是可以使用font=XX"/>
<Attribute name="name" default="" type="STRING" comment="字体名称"/>
<Attribute name="size" default="10" type="INT" comment="字体大小"/>
<Attribute name="bold" default="false" type="BOOL" comment="是否粗体"/>
<Attribute name="underline" default="false" type="BOOL" comment="是否下划线"/>
<Attribute name="italic" default="false" type="BOOL" comment="是否斜体"/>
<Attribute name="default" default="false" type="BOOL" comment="设置为默认字体"/>
<Attribute name="name2" default="" type="STRING" comment="当name指定的字体不存在时备用字体名称"/>
<Attribute name="size2" default="10" type="INT" comment="备用字体大小"/>
<Attribute name="bold2" default="false" type="BOOL" comment="备用字体是否粗体"/>
<Attribute name="underline2" default="false" type="BOOL" comment="备用字体是否下划线"/>
<Attribute name="italic2" default="false" type="BOOL" comment="备用字体是否斜体"/>
</Font>
<Default>
<Attribute name="name" default="" type="STRING" comment="控件名称或唯一样式名,当是控件名称时value中的属性作为该控件的默认属性,如果不是控件名称如XX,控件可以使用style引用一个或多个样式"/>
<Attribute name="value" default="" type="ATTRIBUTELIST" comment="属性列表"/>
</Default>
<Image>
<Attribute name="mask" default="0x00000000" type="DWORD" comment="透明色,该颜色将被透掉"/>
<Attribute name="name" default="" type="STRING" comment="图片文件路径或资源ID"/>
<Attribute name="restype" default="0" type="INT" comment="name如果是资源ID,该项表示资源类型"/>
</Image>
<Event/>
<Click/>
<Script/>
</Controls>