mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 23:17:25 +01:00
30 lines
No EOL
791 B
Text
30 lines
No EOL
791 B
Text
/// @description init
|
|
event_inherited();
|
|
|
|
#region data
|
|
dialog_w = ui(400);
|
|
dialog_h = ui(220);
|
|
|
|
destroy_on_click_out = true;
|
|
#endregion
|
|
|
|
#region data
|
|
bs_type = new buttonGroup([ THEME.icon_curve_connection, THEME.icon_curve_connection, THEME.icon_curve_connection, THEME.icon_curve_connection ],
|
|
function(val) {
|
|
PREF_MAP[? "curve_connection_line"] = val;
|
|
}
|
|
);
|
|
|
|
tb_width = new textBox(TEXTBOX_INPUT.number, function(str) {
|
|
PREF_MAP[? "connection_line_width"] = max(0.5, real(str));
|
|
})
|
|
|
|
tb_corner = new textBox(TEXTBOX_INPUT.number, function(str) {
|
|
PREF_MAP[? "connection_line_corner"] = max(0, real(str));
|
|
})
|
|
tb_corner.slidable = true;
|
|
|
|
tb_aa = new textBox(TEXTBOX_INPUT.number, function(str) {
|
|
PREF_MAP[? "connection_line_aa"] = max(1, real(str));
|
|
})
|
|
#endregion |