Commit graph

829 commits

Author SHA1 Message Date
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
aada9f615c panel: use same bg color as strip 2016-11-23 20:18:49 +01:00
jean-emmanuel
3beb69a268 led: fix light size/border to display correctly when small 2016-11-23 14:51:08 +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
d9deca87a9 pads: remove fader inner shadow 2016-11-22 19:45: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
94967bc4f6 multifader: fix compact double border 2016-11-22 17:41:31 +01:00
jean-emmanuel
c446503ee6 text: don't shrink in strips 2016-11-22 12:34:50 +01:00
jean-emmanuel
3419f48b96 strip: vertical: center widget horizontally, default width to 100% 2016-11-22 12:17:32 +01:00
jean-emmanuel
733c726276 strip: fix inner wrapper width to 100% 2016-11-22 12:07:28 +01:00
jean-emmanuel
927f6b7404 meter: rewrite using fader as base 2016-11-22 11:42:55 +01:00
jean-emmanuel
e776a072b6 strips: transparentize widgets border instead of removing it 2016-11-22 08:53:44 +01:00
jean-emmanuel
31f4e065b9 fader: add some shadow that appears when applying extra css padding 2016-11-20 11:46:34 +01:00
jean-emmanuel
d6a0edfb2e strips: no border for buttons label 2016-11-20 11:37:40 +01:00
jean-emmanuel
77a8527b29 strip: minor border fixes 2016-11-20 11:30:46 +01:00
jean-emmanuel
98d2d84b1a multifader: fix compact labels border 2016-11-20 11:24:01 +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
6870009a89 editor: increase label padding 2016-11-19 09:00:34 +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
ed9a7b006e multixy: diplay only one pad to prevent pips alphas to add 2016-11-16 21:52:19 +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