Slider Controller Plugin
slider_controller.xml
by Eric Chen - eric2022czc@gmail.com
This is a quick plugin for creating GUI panels.
-
With simple configuration, you can quickly create slider controllers.
-
This plugin applies to the numeric attributes of all tags.Such as layer, hotspot, views, etc.
-
When the slider control is loaded, the property values of the target object are automatically synchronized.
The older version used in the examples does not support the use of multiple property lists. After purchase will send the latest version, future upgrade version free.
中国用户可以联系QQ:842436130,可以更优惠价格购买,更快获取新版本。
-
align
-
Alignment / origin-point position of the layer / plugin element on the screen. Possible values: lefttop, left, leftbottom, top, center, bottom, righttop, right, rightbottom
-
default=righttop
-
x/y
-
Distance from the align point to the edge point.
-
default=0
-
items_width/items_height
-
Destination size of the items
-
default:items_width=220,items_height=24
-
padding_xy
-
Padding / space in pixels around the items.
-
default=20
-
bg_color
-
The background color
-
default=0x000000
-
bg_alpha
-
The background alpha
-
default=0.8
-
slider_color
-
The slider color
-
default=0x008ef5
-
slider_alpha
-
The slider alpha
-
default=1.0
-
line_color
-
The item line color
-
default=0xaaaaaa
-
line_alpha
-
The item line alpha
-
default=0.5
-
text_css
-
The item text css
-
default="color:#ffffff;font-size:16px;"
-
title_css
-
The title css
-
default="color:#ffffff;font-size:20px;text-align:center;"
-
reset_button
-
Whether the reset button is displayed.
-
default=true
-
close_button
-
Whether the close button is displayed.
-
default=true
-
bgclick_close
-
Whether to close by clicking the background area.
-
default=true
-
title
-
Title text
-
default="Slider Controller"
Plugin Actions
-
load_slider_controller(group,target);
-
group:Matches controller_groups.name to load the corresponding property list.The first group is selected by default (controller_groups[0].name).
-
target:Select the bound object. Can be any tag, such as hotspot[...],layer[...],view.The default value is caller.
-
Code example:
onclick="load_slider_controller(group1,hotsopt[na1]);"
onstart="load_slider_controller(group2,view);"