Commit graph

109 commits

Author SHA1 Message Date
jean-emmanuel
91b5db7e39 firefox: compatibility fixes 2016-11-25 11:22:32 +01:00
jean-emmanuel
c167bcc1ed multixy: add spring 2016-11-24 15:43:45 +01:00
jean-emmanuel
ca60de3465 sidepanel: open with f10 2016-11-24 15:43:28 +01:00
jean-emmanuel
5c62d7ed55 sliders/xy: add spring option that makes the widget jump back to its initial value when released 2016-11-24 13:52:34 +01:00
jean-emmanuel
93150f893b text: icons support 2016-11-24 01:00:34 +01:00
jean-emmanuel
0c922f8184 ui: simplify icon insertion in labels, using '^' as prefix 2016-11-24 00:57:39 +01:00
jean-emmanuel
6a47290a53 matrices: set split default to false 2016-11-23 23:39:27 +01:00
jean-emmanuel
39c3d58bfd matrices: fix inverted split behaviour 2016-11-23 23:38:27 +01:00
jean-emmanuel
fe3f97e0fb matrices: add split option (default to true) and pass preArgs to subwidgets 2016-11-23 23:35:04 +01:00
jean-emmanuel
0ccbe7484b keyboard: fix wrapper value storing and add split option 2016-11-23 23:32:15 +01:00
jean-emmanuel
16adcf2e32 keyboard: clean a bit, add start option and make it send midi note numbers 2016-11-23 23:08:10 +01:00
jean-emmanuel
73473c6b98 widgets: add keyboard 2016-11-23 22:53:51 +01:00
jean-emmanuel
32988a1f3b sliders: take precision into account when checking if value has changed before canceling oscsend if false 2016-11-23 21:01:48 +01:00
jean-emmanuel
4189e54399 led: remove incorrect precision lookup that breaks the widget when using floats 2016-11-23 14:41:16 +01:00
jean-emmanuel
3da297bf71 fader: fix compact gauge width (add 1px since the middle coordinate is rounded, we wanna be sure to fill the whole space) 2016-11-23 14:36:41 +01:00
jean-emmanuel
9413247809 knob: convert polar to cartesian instead of rotating the ctx 2016-11-22 22:02:36 +01:00
jean-emmanuel
721cc7d2d4 fader: compact: reduce pips alpha and optimize pips drawing 2016-11-22 21:25:43 +01:00
jean-emmanuel
680127cb46 ui: make error popup (from main callback) closable 2016-11-22 20:57:37 +01:00
jean-emmanuel
70b3e71568 knob: swaggify compact gauge (link alpha & distance to origin) 2016-11-22 18:51:29 +01:00
jean-emmanuel
4066f0446e fader: fix compact gauge alpha algo to compute the relative distance to the origin, no matter the direction 2016-11-22 18:36:57 +01:00
jean-emmanuel
fc4ad56afb fader: round coordinates to avoid blurs 2016-11-22 17:56:50 +01:00
jean-emmanuel
fc5cad9d7b fader: compact ultra swag (slight aplha variation with distance to origin increasing) 2016-11-22 17:50:25 +01:00
jean-emmanuel
72628e7e49 fader: round px to avoid blurry lines 2016-11-22 17:49:46 +01:00
jean-emmanuel
927f6b7404 meter: rewrite using fader as base 2016-11-22 11:42:55 +01:00
jean-emmanuel
5bf113b379 faders: compact pips use bg color 2016-11-20 11:14:58 +01:00
jean-emmanuel
ff9e8ae366 fader: safe jquery chain (prevent horizontal mode to fails if no container object is provider in constructor) 2016-11-19 17:07:02 +01:00
jean-emmanuel
d97bd21563 fader: fix default height/width (100%) when top/left is auto 2016-11-19 16:31:22 +01:00
jean-emmanuel
f001d46b40 fake-right-click/editor: fix mouse "context menu > add widget" coordinates in scrolled areas 2016-11-19 16:13:47 +01:00
jean-emmanuel
00c89c5cb1 fader: smart height/width for 'auto' (expand from top/left to bottom/right) 2016-11-19 15:55:26 +01:00
jean-emmanuel
933bdcdf86 editor/launcher: update form style 2016-11-19 08:55:41 +01:00
jean-emmanuel
1a287eb385 knob: make gesture's precision proportionnal to widget's size 2016-11-18 09:49:34 +01:00
jean-emmanuel
23b6ced070 canvas-input: cancel with esc key 2016-11-17 21:25:19 +01:00
jean-emmanuel
b9f87bb10e canvas-input: don't refocus after submit, always submit on enter 2016-11-17 21:09:40 +01:00
jean-emmanuel
6caa4d73c6 multixy: make non-snap mode work like other widget (you don't need to grab the handle directly); fix logscaleX|Y options 2016-11-17 20:56:15 +01:00
jean-emmanuel
33e4e3f3c6 multixy: add smart snap option 2016-11-17 20:33:45 +01:00
jean-emmanuel
f75b5cc17d drag: clean 2016-11-17 19:03:55 +01:00
jean-emmanuel
b0e50bf576 touch/drag: prevent 2+ fingers draginit -> optimize loop 2016-11-17 19:01:56 +01:00
jean-emmanuel
a051c41d1e touch/drag: reliably detect number of fingers on target and set speedfactor = n^2 2016-11-17 17:37:45 +01:00
jean-emmanuel
7ec41c599a touch/drag: only prevent draginit for additionnal fingers, but store the touch reference 2016-11-17 12:31:30 +01:00
jean-emmanuel
471a7ce01e fader: increase compact pips alpha 2016-11-17 11:25:13 +01:00
jean-emmanuel
8f9a13008c touch/drag: implement a precision/speed factor based on the number of fingers in contact with the widget 2016-11-16 23:05:02 +01:00
jean-emmanuel
fa42bfd882 canvas-inputs: get color variable from current node instead of global document 2016-11-16 21:57:52 +01:00
jean-emmanuel
11fe06be45 fader compact pips: back to text color only 2016-11-16 21:50:00 +01:00
jean-emmanuel
23661b6fdb rgb: fix hue slider not moving 2016-11-16 21:17:18 +01:00
jean-emmanuel
a8e10f6e82 multixy: draw accurate dot stroke 2016-11-16 10:05:01 +01:00
jean-emmanuel
ab4e923c03 faders: compact pips: avoid subpixel, use track/gauge color depending on the value 2016-11-16 09:51:19 +01:00
jean-emmanuel
fc6a49b505 widgets: add line pips to compact faders, display them on pads that have multiple breakpoints in their ranges 2016-11-15 23:23:37 +01:00
jean-emmanuel
3a94fdc8e1 multixy: style update: bold text & dot stroke 2016-11-15 21:42:28 +01:00
jean-emmanuel
13a6fafcff knob: log compact style and reduce gauge alpha 2016-11-15 15:28:52 +01:00
jean-emmanuel
3798802115 knob: widget's content centering fixed 2016-11-15 15:21:33 +01:00