@ -71,8 +71,8 @@ var display_interp = 1; // Enable/disable the UI feedback when interpolating
varignore_slot_zero=1;// Makes previous_active_slot and interpolation display to ignore slot 0. Can be usefull when using slot 0 as a temporary step for interpolation.
varignore_slot_zero=1;// Makes previous_active_slot and interpolation display to ignore slot 0. Can be usefull when using slot 0 as a temporary step for interpolation.
varauto_writeagain=0;// When enabled, will send a "writeagain" to pattrstorage any time a preset is stored/deleted/moved/renamed/(un)locked
varauto_writeagain=0;// When enabled, will send a "writeagain" to pattrstorage any time a preset is stored/deleted/moved/renamed/(un)locked
varmenu_number_only=0;// Populates the umenu connected to 2nd outlet with stored preset number only, instead of number and name
varmenu_number_only=0;// Populates the umenu connected to 2nd outlet with stored preset number only, instead of number and name
varscrollable=1;// Defines weither the object can be scrolled or not
varscrollable=0;// Defines weither the object can be scrolled or not
varmin_rows=50;// Minimum number of rows to display if scrollable is enabled
varmin_rows=10;// Minimum number of rows to display if scrollable is enabled
varcolor_mode=0;// Change the way the filled slots (stored presets) color is handeld. 0: stored_slot_color. 1: looping through color_1 to color_6. 2: Freely assign colors 1 to 6. 3: Set any color to any preset
varcolor_mode=0;// Change the way the filled slots (stored presets) color is handeld. 0: stored_slot_color. 1: looping through color_1 to color_6. 2: Freely assign colors 1 to 6. 3: Set any color to any preset
varselect_mode=0;// 0: single click to select and recall the slot. 1: single click to select the slot, double click to recall it.
varselect_mode=0;// 0: single click to select and recall the slot. 1: single click to select the slot, double click to recall it.
@ -101,6 +101,7 @@ var is_painting_base = 0;
varhalf_slot_size,half_margin,half_spacing;
varhalf_slot_size,half_margin,half_spacing;
varlast_x,last_y,last_hovered=-1;
varlast_x,last_y,last_hovered=-1;
vary_offset=0;// handle scrolling
vary_offset=0;// handle scrolling
vardrag_scroll=0;// handle scrolling when dragging outside of boundaries
varshift_hold,option_hold=0;
varshift_hold,option_hold=0;
varis_interpolating=0;
varis_interpolating=0;
varis_dragging=0;// Drag flag
varis_dragging=0;// Drag flag
@ -174,15 +175,17 @@ function calc_rows_columns() {
<description>When set to 1, you can through the jsui to see all your presets, or at least up to the slot number defined by the min_rows attributes. Currently only works with the list layout.
<description>When set to 1, you can through the jsui to see all your presets, or at least up to the row defined by the min_rows attributes.
"text" : "Makes displayed previous active slot and interpolation status to ignore slot 0. Can be convenient when using slot 0 as a temporary step for interpolation. It is enabled by default."
"text" : "Makes displayed previous active slot and interpolation status to ignore slot 0. Can be convenient when using slot 0 as a temporary step for interpolation. It is enabled by default."
}
}
@ -1279,7 +1279,7 @@
"numoutlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"parameter_enable" : 0,
"patching_rect" : [ 268.0, 87.0, 24.0, 24.0 ]
"patching_rect" : [ 312.0, 67.0, 24.0, 24.0 ]
}
}
}
}
@ -1291,7 +1291,7 @@
"numoutlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"parameter_enable" : 0,
"patching_rect" : [ 288.0, 227.0, 24.0, 24.0 ]
"patching_rect" : [ 332.0, 207.0, 24.0, 24.0 ]
}
}
}
}
@ -1302,7 +1302,7 @@
"maxclass" : "comment",
"maxclass" : "comment",
"numinlets" : 1,
"numinlets" : 1,
"numoutlets" : 0,
"numoutlets" : 0,
"patching_rect" : [ 268.0, 142.0, 241.0, 60.0 ],
"patching_rect" : [ 312.0, 122.0, 241.0, 60.0 ],
"text" : "When enabled, sends writeagain to pattrstrage when a preset has been stored/renamed/deleted/moved/(un)locked, keeping the json file always up to date."
"text" : "When enabled, sends writeagain to pattrstrage when a preset has been stored/renamed/deleted/moved/(un)locked, keeping the json file always up to date."
"text" : "...and: bgcolor, empty_slot_color, stored_slot_color, interp_slot_color, active_slot_color, fontname, fontsize, text_bg_color, text_color\n(see the tc.preset attributes in the inspector or in its Reference page)"
"text" : "...and: bgcolor, empty_slot_color, stored_slot_color, interp_slot_color, active_slot_color, fontname, fontsize, text_bg_color, text_color\n(see the tc.preset attributes in the inspector or in its Reference page)"
}
}
@ -2341,24 +2330,23 @@
, {
, {
"box" : {
"box" : {
"id" : "obj-65",
"id" : "obj-65",
"linecount" : 6,
"linecount" : 2,
"maxclass" : "comment",
"maxclass" : "comment",
"numinlets" : 1,
"numinlets" : 1,
"numoutlets" : 0,
"numoutlets" : 0,
"patching_rect" : [ 278.0, 181.0, 153.0, 87.0 ],
"patching_rect" : [ 278.0, 218.5, 196.0, 33.0 ],
"text" : "Minimum number of slots to display when scrollable is enabled. If a preset is stored in a slot higher than that value, then it is ignored."
"text" : "Minimum number of rows to display when scrollable is enabled."
}
}
}
}
, {
, {
"box" : {
"box" : {
"id" : "obj-62",
"id" : "obj-62",
"linecount" : 2,
"maxclass" : "comment",
"maxclass" : "comment",
"numinlets" : 1,
"numinlets" : 1,
"numoutlets" : 0,
"numoutlets" : 0,
"patching_rect" : [ 172.0, 81.0, 211.0, 33.0 ],
"patching_rect" : [ 172.0, 87.5, 211.0, 20.0 ],
"text" : "Enable to scroll through your presets! (Only work in list mode currently)"
"text" : "Enable to scroll through your presets! "