Commit graph

139 commits

Author SHA1 Message Date
bordun
a790499399 clean 2016-02-26 13:18:48 +01:00
bordun
3933ec3f64 missings requires 2016-02-26 13:13:13 +01:00
bordun
fdc393b0e3 wrong call 2016-02-26 13:09:14 +01:00
bordun
148dd7e8ca clean and split code 2016-02-26 13:05:23 +01:00
jean-emmanuel
4648f6857a split and clean code, wip... 2016-02-26 10:50:21 +01:00
bordun
32696a7d46 minor fixes
- fixed broken sessionRemoveFromHistory method call
- added error when session file is not found
- generic ipc bindings in GUI mode
2016-02-25 09:50:07 +01:00
bordun
7b2e9bc8b6 remove mousedown event handler after blur 2016-02-25 09:02:07 +01:00
jean-emmanuel
f6bb9299ad Using canvas input for better perfs
an actual input is generated on focus
2016-02-24 12:06:31 +01:00
jean-emmanuel
ca1250a8b7 Adaptive knob size & fixed broken pan knob style 2016-02-24 00:31:20 +01:00
jean-emmanuel
d412ad9110 removed Math functions caching, it doesn't improve perf nor readability 2016-02-23 15:36:07 +01:00
jean-emmanuel
967a15344e Added "precision" option to widgets
If "0", numbers will be sent as integers, otherwise, they'll be sent as floats
2016-02-23 15:04:20 +01:00
jean-emmanuel
a8ab78e071 Add linkId for widget linking (=state sync + osc send) (#5)
(also fixed some quirks with toggle/push)
2016-02-23 12:52:01 +01:00
bordun
336daa2232 disable editor on session load 2016-02-22 23:15:28 +01:00
jean-emmanuel
5e7e6b2c04 phrasing boom 2016-02-22 12:02:52 +01:00
jean-emmanuel
dde328ace6 fixex deprecated callback use 2016-02-22 10:33:12 +01:00
jean-emmanuel
d33a7e61f0 wrong var in fader's setvalue 2016-02-22 10:11:59 +01:00
jean-emmanuel
09cf4647fb fixed forgotten updates in widgets' setvalue methods 2016-02-22 10:09:24 +01:00
jean-emmanuel
7f9184f3d9 session files have .js extension 2016-02-22 10:08:01 +01:00
jean-emmanuel
b37c41693b Help message in editor, empty container before loading session 2016-02-22 09:03:39 +01:00
jean-emmanuel
72734da6e5 UI optimization
- fader, knob, xy and rgb use 3d accelerated css properties
- reduce the number of composited layers to the strict necessary (tweakin properties such as z-index helps a lot)
2016-02-22 08:13:02 +01:00
jean-emmanuel
e2fca54813 prevent impossible zoom 2016-02-22 08:00:47 +01:00
jean-emmanuel
49ac21bf51 allow floats in width/height/top/left 2016-02-22 07:59:36 +01:00
jean-emmanuel
27e64a8d33 mode resize handles ! 2016-02-17 13:03:15 +01:00
jean-emmanuel
7af190a9a6 prevent absolute positionning of widgets within strips 2016-02-16 22:17:13 +01:00
jean-emmanuel
b5291824ed switch values can be defined with label:value pairs wrapped in an object 2016-02-16 12:52:03 +01:00
jean-emmanuel
51bddcd573 style update, light and dark theme soon 2016-02-15 17:21:02 +01:00
jean-emmanuel
2426dfdbdf Widget edition : snapping optimized (only snap to widgets within activated tabs)
+ added jquery-ui resizable snap plugin
2016-02-15 11:30:46 +01:00
jean-emmanuel
cc1e403428 option order (on/off) 2016-02-15 11:01:37 +01:00
jean-emmanuel
6fe2df4091 Some phat update :
- Layout gutters removed
- widgets options separators in editor
- css style option for all widgets
- dragging helper for widget positionning
- restored 'unit' option for fader/knob
- pretty indentation for session exports
2016-02-15 10:49:12 +01:00
jean-emmanuel
991b2fef2f Widget dragging position fix
+ experimental right click dragging for precise dragging
2016-02-14 16:04:44 +01:00
jean-emmanuel
123db34329 Mininum widget size in editor. Tab links initial state fix 2016-02-14 15:03:20 +01:00
jean-emmanuel
cc3fa04bad size/position can't be negative.
style changes: panel scrollbar, edited widget's drag handles
2016-02-14 14:14:59 +01:00
jean-emmanuel
5f8b085785 Widgets in containers can also be absolutely positionned (within parents boundaries).
Panels can contain tabs !
2016-02-14 11:44:02 +01:00
bordun
6a71920f88 jquery-ui (sortable and draggable) added for editor's sake 2016-02-13 18:19:00 +01:00
bordun
70124c1880 All widgets can be absolutely positionned, except those within strips & panels.
Widgets can be dragged in editor mode, jquery-ui draggable added)
Creating a new session selects the root automatically to show where to start
2016-02-13 18:15:27 +01:00
bordun
0a985ff3c6 add widget resizing via jquery-ui-resizable in editor, fixed horizontal fader style (vertical centering) 2016-02-13 17:12:44 +01:00
jean-emmanuel
56d30a411f only sync widgets that are mounted, fixes #3 2016-02-12 01:22:16 +01:00
jean-emmanuel
289bc6a803 multitouch fix 2015-12-14 14:32:39 +01:00
jean-emmanuel
dff7e1b186 callback args fallback for headless version of ipc 2015-12-14 13:04:17 +01:00
jean-emmanuel
c9fa8b97f5 updated electron@0.35 : replaced deprecated API calls 2015-11-17 20:38:31 +01:00
jean-emmanuel
14db35a213 protect widgetOptions object properties 2015-11-17 15:57:48 +01:00
jean-emmanuel
c8b32ad857 clean 2015-11-17 15:57:07 +01:00
jean-emmanuel
296b54be19 added "new" session option in lobby 2015-11-16 19:32:31 +01:00
jean-emmanuel
951d7b4560 avoid error on touch if cursor is outside of window 2015-11-16 19:31:48 +01:00
jean-emmanuel
121ac1ab48 not much... 2015-11-12 14:04:13 +01:00
Jean-Emmanuel
a1b1388ef8 editor fix: keep active tabs open when editing tabs (reset tab id iterator) 2015-11-10 15:40:49 +01:00
Jean-Emmanuel
3161d6b90b switch: draginit trigs setvalue only if value changes 2015-11-08 12:21:41 +01:00
Jean-Emmanuel
4736f1fcdb switch: avoid stringish numbers in oscsend 2015-11-08 08:48:12 +01:00
Jean-Emmanuel
775aacefa8 state save/load: now retrieve the last created widget for each id, to avoid getting values from deleted widgets
+ some fixes in widgets to send correct variable types (avoid stringyfied numbers)
2015-11-08 08:43:39 +01:00
Jean-Emmanuel
f930eb127d prevent widgets to be stored multiple times with same Ids (leading to impossible synchronzation attempts) 2015-11-07 19:56:05 +01:00