Commit graph

172 commits

Author SHA1 Message Date
jean-emmanuel
99ae3cc0b8 ui: simplify button widgets and optimize layering 2016-09-15 14:32:50 +02:00
bordun
39300a0187 plots: missing clip module in meter 2016-09-14 17:04:42 +02:00
bordun
a518667ef8 plots: fix visualizer range display 2016-09-14 17:03:08 +02:00
bordun
1c8cf61430 Widgets: use some inheritence pattern, for DRY's sake 2016-09-14 16:05:54 +02:00
jean-emmanuel
07876f6577 plots: fix broken color support 2016-09-13 23:36:56 +02:00
jean-emmanuel
784756e713 widgets: some convas cleaning 2016-09-13 23:14:03 +02:00
jean-emmanuel
148bad6c95 eq: filter type cannot refer to a widget whose id is one of the available options 2016-09-13 22:41:44 +02:00
jean-emmanuel
d1c972903f eq: clean and force fixed frequency range 2016-09-13 22:35:37 +02:00
jean-emmanuel
57cec1863d widgets: eq plot widget working, yeah 2016-09-13 21:29:33 +02:00
jean-emmanuel
8abec46199 editor: fix widget id auto incrementation 2016-09-13 20:59:52 +02:00
jean-emmanuel
bad7dce717 widgets: add eq filter drawer (wip) 2016-09-13 19:05:00 +02:00
jean-emmanuel
70d1f705aa Editor: fix broken click handler on items' sortable childs; fixes #27 2016-07-29 10:40:23 +02:00
bordun
498ba4a06a update jquery (3.0.0-slim) and clean 2016-06-17 16:06:42 +02:00
bordun
002e838515 trigger global resize event when toggling sidepanel
as it may spawn a scrollbar and change widgets' sizes
2016-06-08 10:59:14 +02:00
bordun
2e821aff7c make Text's value storable/recallable. Reset it on messages with no arg 2016-06-08 10:03:49 +02:00
bordun
97e8389d4f allow set default text in text widget 2016-06-08 01:01:40 +02:00
bordun
f5d848321c smarter knob sizing & compute widgets' sizes as soon as possible to avoid resize blinking
-> we do that by triggering the global resize event handler when loading a tab / editing a widget
2016-06-07 22:05:57 +02:00
bordun
b7bdaef70f autoremove fontawesome class prefix 2016-06-07 18:40:18 +02:00
bordun
fe10029b8f add icon support in label 2016-06-07 15:16:49 +02:00
bordun
32c20eff38 fix sliders setValue()
-> arg is now properly clipped between the actual min and max values in the range
2016-06-07 14:51:28 +02:00
bordun
d1436f4b7f some more visual tweaking for faders/meters 2016-06-06 17:18:08 +02:00
bordun
7687a2db23 better fader & meter design 2016-06-06 16:27:47 +02:00
bordun
2e846c99ce remove parent tab hint item 2016-05-31 18:08:08 +02:00
jean-emmanuel
3386f37ab9 remove rounding when setting a widgets value (fixes #21)
-> only use precision rounding when getting/sending the value
2016-05-16 12:16:04 +02:00
jean-emmanuel
f4238e95da add the ability to disable mapToScale rounding (precision=false) 2016-05-16 12:08:27 +02:00
bordun
892eaae7ff touch/mouse events are both handled simultaneously, module rewritten for better performances (see issue #18) 2016-05-13 02:05:19 +02:00
bordun
598cbd1099 ignore mouse events fired by simulated touch events 2016-05-12 23:02:37 +02:00
bordun
dcb39d6d43 enable unexclusive touch and mouse support 2016-05-12 19:54:46 +02:00
jean-emmanuel
9361dcb8ef add latest bug fixes to headless js bundle 2016-04-21 00:14:54 +02:00
jean-emmanuel
34a3caf984 fix widget value setting through osc with preArgs (revert bad commit 65457bfb3a) 2016-04-18 20:10:35 +02:00
jean-emmanuel
0a868a71b5 Mouse/touch dragging handler rewritten
now using event delegation and direct handler calls instead of DOM event bubbling whenever it's possible
2016-04-07 15:49:30 +02:00
jean-emmanuel
7dc078cbd4 knob/fader: right click / long touch triggers value input focus 2016-04-05 00:02:05 +02:00
jean-emmanuel
65457bfb3a received osc args as one item arrays are already unpacked on the engine's side (osc.js) 2016-04-04 22:20:05 +02:00
jean-emmanuel
32a891cfba don't increment empty widget data 2016-04-04 11:13:51 +02:00
jean-emmanuel
b97ba230a7 compact multifader and default knob compact set to false 2016-04-04 10:15:25 +02:00
jean-emmanuel
0a6db1dd7f compact option for knob + docs about compact 2016-04-04 10:11:30 +02:00
jean-emmanuel
86f5f5f461 dont create pip elements if not needed (noPip||compact) 2016-04-04 07:59:59 +02:00
jean-emmanuel
348918ccdc give fader's color prop to inner meter 2016-04-03 20:51:04 +02:00
jean-emmanuel
11a1d5a5ab adding compact option to fader (wip) 2016-04-03 18:41:16 +02:00
jean-emmanuel
d53760e6c1 flat buttons and knobs, for consistency's sake 2016-04-01 20:22:40 +02:00
jean-emmanuel
3b5fabcc8b let's make the lobby suck a little bit less 2016-04-01 00:16:12 +02:00
jean-emmanuel
54c13c3ad3 change subwidgets' id pattern (same as path) 2016-03-30 17:22:08 +02:00
jean-emmanuel
df1c2d26f4 rename absolute prop to snap 2016-03-30 17:04:36 +02:00
jean-emmanuel
cfd90db8aa disable pips creation in constructor 2016-03-29 15:00:38 +02:00
jean-emmanuel
238acbdf8d make the push not update its own led and give it's value (for state save and widget sync) based on its last changed property (led state or touch on/off) 2016-03-29 14:48:32 +02:00
jean-emmanuel
a41d9f8aac fix knob starting value (broken when porting fader's scale system to knob) 2016-03-29 08:51:02 +02:00
jean-emmanuel
d657ec7ef6 add "noPip" option to fader & knob (hide pip scale and frees some space) 2016-03-29 08:49:06 +02:00
jean-emmanuel
bf0173c251 add breakpoint scale support to knob 2016-03-29 08:29:16 +02:00
jean-emmanuel
0b4548a2b9 prevent sending the same value over osc when interracting (mouse/touch) with a widget in a way that doens't change it's value 2016-03-29 08:05:55 +02:00
jean-emmanuel
a800ac7ab4 add support for custom pip labels for faders 2016-03-28 17:28:40 +02:00