102 lines
3.7 KiB
Plaintext
102 lines
3.7 KiB
Plaintext
if rollouttest != undefined then
|
|
try(
|
|
cui.unRegisterDialogBar rollouttest
|
|
DestroyDialog rollouttest
|
|
)catch()
|
|
|
|
rollout subrollouttest "rollouttest"
|
|
(
|
|
button btn01 "左侧" width:80 height:30 across:2
|
|
button btn02 "右侧" width:80 height:30
|
|
button btn03 "左侧" width:80 height:30 across:2
|
|
button btn04 "右侧" width:80 height:30
|
|
button btn05 "左侧" width:80 height:30 across:2
|
|
button btn06 "右侧" width:80 height:30
|
|
button btn07 "左侧" width:80 height:30 across:2
|
|
button btn08 "右侧" width:80 height:30
|
|
button btn09 "左侧" width:80 height:30 across:2
|
|
button btn10 "右侧" width:80 height:30
|
|
button btn11 "左侧" width:80 height:30 across:2
|
|
button btn12 "右侧" width:80 height:30
|
|
button btn13 "左侧" width:80 height:30 across:2
|
|
button btn14 "右侧" width:80 height:30
|
|
button btn15 "左侧" width:80 height:30 across:2
|
|
button btn16 "右侧" width:80 height:30
|
|
button btn17 "左侧" width:80 height:30 across:2
|
|
button btn18 "右侧" width:80 height:30
|
|
button btn19 "左侧" width:80 height:30 across:2
|
|
button btn20 "右侧" width:80 height:30
|
|
)
|
|
|
|
rollout subrollouttest02 "rollouttest02" width:200
|
|
(
|
|
button btn01 "左侧" width:80 height:30 across:2
|
|
button btn02 "右侧" width:80 height:30
|
|
button btn03 "左侧" width:80 height:30 across:2
|
|
button btn04 "右侧" width:80 height:30
|
|
button btn05 "左侧" width:80 height:30 across:2
|
|
button btn06 "右侧" width:80 height:30
|
|
button btn07 "左侧" width:80 height:30 across:2
|
|
button btn08 "右侧" width:80 height:30
|
|
button btn09 "左侧" width:80 height:30 across:2
|
|
button btn10 "右侧" width:80 height:30
|
|
button btn11 "左侧" width:80 height:30 across:2
|
|
button btn12 "右侧" width:80 height:30
|
|
button btn13 "左侧" width:80 height:30 across:2
|
|
button btn14 "右侧" width:80 height:30
|
|
button btn15 "左侧" width:80 height:30 across:2
|
|
button btn16 "右侧" width:80 height:30
|
|
button btn17 "左侧" width:80 height:30 across:2
|
|
button btn18 "右侧" width:80 height:30
|
|
button btn19 "左侧" width:80 height:30 across:2
|
|
button btn20 "右侧" width:80 height:30
|
|
)
|
|
|
|
rollout subrollouttest03 "rollouttest03" width:200
|
|
(
|
|
button btn01 "左侧" width:80 height:30 across:2
|
|
button btn02 "右侧" width:80 height:30
|
|
button btn03 "左侧" width:80 height:30 across:2
|
|
button btn04 "右侧" width:80 height:30
|
|
button btn05 "左侧" width:80 height:30 across:2
|
|
button btn06 "右侧" width:80 height:30
|
|
button btn07 "左侧" width:80 height:30 across:2
|
|
button btn08 "右侧" width:80 height:30
|
|
button btn09 "左侧" width:80 height:30 across:2
|
|
button btn10 "右侧" width:80 height:30
|
|
button btn11 "左侧" width:80 height:30 across:2
|
|
button btn12 "右侧" width:80 height:30
|
|
button btn13 "左侧" width:80 height:30 across:2
|
|
button btn14 "右侧" width:80 height:30
|
|
button btn15 "左侧" width:80 height:30 across:2
|
|
button btn16 "右侧" width:80 height:30
|
|
button btn17 "左侧" width:80 height:30 across:2
|
|
button btn18 "右侧" width:80 height:30
|
|
button btn19 "左侧" width:80 height:30 across:2
|
|
button btn20 "右侧" width:80 height:30
|
|
)
|
|
|
|
|
|
rollout rollouttest "rollout测试" width:300
|
|
(
|
|
button btn01 "左侧" width:80 height:30 across:3
|
|
button btn02 "右侧" width:80 height:30
|
|
button btn05 "浮动" width:80 height:30
|
|
button btn06 "功能" width:80 height:30
|
|
subrollout RTleft "" width:280 height:650
|
|
|
|
|
|
on btn01 pressed do cui.dockDialogBar rollouttest #cui_dock_left
|
|
on btn02 pressed do cui.dockDialogBar rollouttest #cui_dock_right
|
|
on btn05 pressed do cui.floatDialogBar rollouttest
|
|
on btn06 pressed do print (cui.getDockState rollouttest)
|
|
)
|
|
CreateDialog rollouttest
|
|
|
|
cui.registerDialogBar rollouttest style:#(#cui_dock_all,#cui_floatable)
|
|
cui.dockDialogBar rollouttest #cui_dock_left
|
|
|
|
|
|
addsubrollout rollouttest.RTleft subrollouttest
|
|
addsubrollout rollouttest.RTleft subrollouttest02 rolledup:true
|
|
addsubrollout rollouttest.RTleft subrollouttest03 rolledup:true |