Commit graph

79 commits

Author SHA1 Message Date
Andrey Antukh
0abc29451a Refactor tool management as generic flags on workspace. 2016-01-11 22:30:26 +02:00
Andrey Antukh
2a580ccf8b Add handler for supr/delete key button. 2016-01-11 09:35:42 +02:00
Andrey Antukh
449352338d First work on simple layers rendering (just WIP). 2016-01-11 01:25:10 +02:00
Andrey Antukh
5b8d8d5c7e Add ^:private flag to private lense on canvas ns. 2016-01-11 01:11:12 +02:00
Andrey Antukh
18ff6303df Fix bug related to scroll handling and shapes/icons insertion. 2016-01-11 00:08:05 +02:00
Andrey Antukh
6ecec4af0a Enable precise moviments using keyboard up/down/right/left keys. 2016-01-10 23:50:21 +02:00
Andrey Antukh
a2401a4d7a Minor refactor of define-once macro. 2016-01-10 23:50:10 +02:00
Andrey Antukh
09c383a1bd Deselect all shapes on ESC is clicked. 2016-01-10 23:17:43 +02:00
Andrey Antukh
6693c8bc9b Implement backspace / supr shortcut for delete selected shapes. 2016-01-10 23:13:29 +02:00
Andrey Antukh
894836fa55 Minor refactor of shortcuts handling. 2016-01-10 22:48:21 +02:00
Andrey Antukh
c8a86b39d5 Add syntax helper for define once unnamed global instances. 2016-01-08 01:45:06 +02:00
Juan de la Cruz
ee6399b10d add new layers functions design 2016-01-07 19:35:23 +01:00
Andrey Antukh
b6900584f7 Remove debug println on shapes and canvas. 2016-01-07 17:48:20 +02:00
Andrey Antukh
eb6e0544c7 Fix scroll related bug on selrect. 2016-01-07 17:48:20 +02:00
Andrey Antukh
abc743a08e Improve performance related to workspace rendering when icon toolboxes is open. 2016-01-07 17:48:20 +02:00
Juan de la Cruz
6edc5e07ee add multicanvas icon to header.cljs 2016-01-07 12:44:23 +01:00
Andrey Antukh
cba11ae053 Add handlers for position attributes.
With additional refactor of other handlers for
remove duplicated code.
2016-01-07 02:19:33 +02:00
Andrey Antukh
7c802f1885 Remove debug message on scroll. 2016-01-07 01:58:31 +02:00
Andrey Antukh
7d8960a1ed Add shape handling and rendering.
And improve fill rendering.
2016-01-07 01:36:36 +02:00
Andrey Antukh
d71bb9d22d Add implementation for fill shapes. 2016-01-07 01:24:11 +02:00
Andrey Antukh
cab871fc95 Implement rotation for shapes. 2016-01-07 00:37:30 +02:00
Andrey Antukh
ca2c76325d Add resize handlers to element options. 2016-01-06 21:05:36 +02:00
Andrey Antukh
8795173dc5 Fix element options scroll bug. 2016-01-06 19:48:37 +02:00
Andrey Antukh
d719f10b1c More work on element options rendering. 2016-01-06 19:26:39 +02:00
Andrey Antukh
b122a23e08 Initial renering of shape options toolbox (dummy). 2016-01-03 18:47:08 +02:00
Andrey Antukh
beda689dfc Remodeled the mouse position <-> canvas coords matching. 2016-01-03 18:46:19 +02:00
Andrey Antukh
213cf60eb0 Minor cosmetic fixes. 2016-01-02 17:34:10 +02:00
Andrey Antukh
46f35cf742 Improve performance on icons toolbox rendering. 2016-01-02 17:33:53 +02:00
Andrey Antukh
d9c8e083a9 Adapt canvas component for render the selrect. 2016-01-02 14:36:43 +02:00
Andrey Antukh
2a94efc4ef Add missing own argument on canvas render function. 2016-01-02 14:36:43 +02:00
Andrey Antukh
8bc2da0af0 Add selrect drawing in the canvas. 2016-01-02 14:36:43 +02:00
Andrey Antukh
cfc8c51537 Add proper styles to selected shape controls. 2015-12-31 19:27:21 +02:00
Andrey Antukh
fb833f34c8 Improved grouped selection. 2015-12-31 19:05:06 +02:00
Andrey Antukh
95a1bb80df Group selected items in svg:g. 2015-12-30 01:37:43 +02:00
Andrey Antukh
7a71b088f4 Decouple shape moving logic. 2015-12-30 01:25:26 +02:00
Andrey Antukh
233a2969c6 Minor cosmetic changes on canvas component. 2015-12-30 00:19:49 +02:00
Andrey Antukh
a4fe43235b Denormalize shapes storage. 2015-12-30 00:19:49 +02:00
Andrey Antukh
f7b902a7ef Minor refactor of workarea rules and grid. 2015-12-30 00:19:49 +02:00
Andrey Antukh
c182340be4 Improved multiple selection/deselection. 2015-12-30 00:19:49 +02:00
Andrey Antukh
efeaa7a79e Remove unused code from canvas. 2015-12-30 00:19:49 +02:00
Andrey Antukh
c9dc332ae2 Add the ability to select shapes. 2015-12-30 00:19:49 +02:00
Andrey Antukh
a211c6323e Add selected shapes state lense. 2015-12-30 00:19:49 +02:00
Andrey Antukh
a5dc634e35 Implement shapes moving using mouse. 2015-12-30 00:19:49 +02:00
Andrey Antukh
f28d54936f Add basic icons rendering on canvas. 2015-12-30 00:19:49 +02:00
Andrey Antukh
fc03388d70 Move coordinates element to main workspace ns. 2015-12-30 00:19:49 +02:00
Andrey Antukh
6952d21af2 Move workarea grid into separated namespace. 2015-12-30 00:19:49 +02:00
Andrey Antukh
77587537f6 Move sidebar into separated namespace. 2015-12-30 00:19:49 +02:00
Andrey Antukh
00c2f77746 Minor change on grid rendering on workarea. 2015-12-30 00:19:48 +02:00
Andrey Antukh
7afe940087 Comment test code. 2015-12-30 00:19:48 +02:00
Andrey Antukh
9db37cfd9b Use classes instead ids on canvas. 2015-12-30 00:19:48 +02:00