Commit Graph

175 Commits (1f48bbcedf79c9bd263dca23c3069bdac8325356)

Author SHA1 Message Date
Jeff Schiller 4a2141fd8a Make the layer handle draggable.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@798 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-11 06:07:57 +00:00
Jeff Schiller b1393df28c Move-To-Layer control now lives in the Layers panel. Restructured layout of layers panel and added a non-functional handle. Changed pointer-events to be 'inherit' for all elements inside the layer. Clear selection after moving elements to a layer.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@797 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-11 04:32:21 +00:00
Jeff Schiller 2549e8ddd6 Fix Issue 227: Move elements to a different layer. Also document all of the Layer API functions of SvgCanvas.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@796 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-10 21:46:06 +00:00
Alexis Deveria efbf55f1a2 Added drop-down list for segment types, made some code more efficient, made polys go into polyedit mode after creation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@786 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 15:29:40 +00:00
Jeff Schiller bb38edf3db Fix new layer naming code by antimatter15. Fix rotation of groups problem.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@777 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-08 02:16:36 +00:00
Alexis Deveria 94f99e937a Added clone node option, cleaned up some poly point code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@774 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-07 16:04:32 +00:00
Jeff Schiller 824c66229a Fix Issue 261: update tool panel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@773 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-07 06:13:52 +00:00
Jeff Schiller eaba474023 Prevent selection bug when clicking layers while accidentally holding down shift
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@769 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 21:50:59 +00:00
Narendra Sisodiya 0e2a6e2f54 small typo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@766 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 19:15:40 +00:00
Alexis Deveria 86ea5568a1 Added ability to delete the selected poly node
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@765 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 19:09:39 +00:00
Alexis Deveria ffc935ffea Added ability to select and modify x/y values of single poly node
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@763 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 13:50:44 +00:00
Narendra Sisodiya e115dcec97 UI localisation, calling put_locale after DOM is available
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@757 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-03 19:24:36 +00:00
Kevin Kwok 5b3cefd7a7 When making a new layer, the prompt() has a default value of 'Layer [number of layers+1]', feel free to revert if you dont like it
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@753 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-02 23:36:20 +00:00
Jeff Schiller d11818bec0 Only stuff orphaned children into a layer if they have a bbox. Also remove some stray bits of logging left in
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@734 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 17:55:51 +00:00
Jeff Schiller d079c45e52 Fix Issue 243: Zoom pop-up list state gets corrupted. Patch from Peter D. Reid
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@725 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 03:18:21 +00:00
Jeff Schiller 8d5b970a61 Re-center canvas if the window is resized
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@723 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-28 20:22:19 +00:00
Jeff Schiller 6f5a5f1030 Make canvas relatively positioned in workarea, centered in the workarea if small enough
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@722 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-28 20:14:18 +00:00
Alexis Deveria 920113ec54 undoing unintentional change to svg-editor.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@711 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 18:59:39 +00:00
Alexis Deveria 8bfc7ddc92 added Erik's patch to fix issue 223
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@710 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 18:47:03 +00:00
Jeff Schiller 4ec6be307a Fix Issue 73: Implement Layers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@704 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 04:48:40 +00:00
Jeff Schiller 000bb569c8 Completely rework layer list into a table
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@703 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 04:22:55 +00:00
Jeff Schiller ecb8ebafcb Somewhat undo r692 and r693 but replace alt attribute with HTML5-compliant data-attr to fix Issue 222
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@700 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 18:45:22 +00:00
Alexis Deveria 1c098d89cb Added jQuery UI and draggable component; Fixed issue 147: Ability to move the colorpicker around
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@698 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 18:15:29 +00:00
Jeff Schiller 2033115a3e Switch order of layers (top-most layer is the one that is rendered on top now)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@689 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 03:05:27 +00:00
Jeff Schiller 6b0bec3a0d Enable console.log() for Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@688 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 21:50:55 +00:00
Jeff Schiller 2f89a7b311 Comment out unused code. Add meta tag for Google Chrome Frame plugin for IE.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@682 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 19:28:33 +00:00
Jeff Schiller 7a4d09d6dd Fix bug in Layers: Moving layers around did not properly update the pointer-events
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@679 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 18:10:54 +00:00
Alexis Deveria 920a5df480 Additional fixes to resolution change, now works correctly when zoomed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@678 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 17:46:44 +00:00
Alexis Deveria e7941f5df8 Made doc properties adjustments, now has separate width&height fields.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@677 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 17:22:28 +00:00
Jeff Schiller 5b4c8aa01a Issue 73: Can now move layers up and down
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@674 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 04:44:56 +00:00
Jeff Schiller 942aa40c9f Ensure only one layer is selected (Issue 73)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@673 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 02:55:28 +00:00
Jeff Schiller 61fe5dc9fe Issue 73: Ensure first layer is always selected. Adjust layer buttons to fit Opera and Webkit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@672 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 02:50:50 +00:00
Jeff Schiller ef4d16ee05 Issue 73: Make New/Delete layer undo-able. Implement Rename layer. Ensure layers have unique names
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@671 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 02:42:31 +00:00
Jeff Schiller cda961e7ba More work on Issue 73: Can now create and delete layers with undo/redo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@670 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 01:00:24 +00:00
Jeff Schiller 18253b5e5d Issue 73: A good deal of the plumbing is now down for layers. You can select the current layer in the layers panel and elements not on the current layer are not selectable.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@669 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-21 22:16:44 +00:00
Kevin Kwok d0101dbc84 added postMessage listner which evals commands to enable a potential future embed API
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@663 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-18 20:22:02 +00:00
Alexis Deveria 4da66bec93 Added working zoom button for drag/click zoom, no visible box yet
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@655 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-16 15:45:50 +00:00
Alexis Deveria b6a1128fd1 Added support for 'Fit to ...' zoom options
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@653 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-16 14:12:51 +00:00
Jeff Schiller fe42d462b5 Fix position of color/gradient picker
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@652 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 21:11:14 +00:00
Alexis Deveria 68033690bd Added advanced dropdown button for zoom, only %s work for now
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@650 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 18:13:00 +00:00
Alexis Deveria 2b57e93971 Added fix to increasing zoom from minimum using spinner
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@649 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 15:04:00 +00:00
Alexis Deveria 606e474efb Added zoom spinner to interface
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@648 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 14:38:26 +00:00
Jeff Schiller 1673406356 Fix flyout alignment by nudging down a few pixels
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@645 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 19:16:35 +00:00
Jeff Schiller ea7133d271 Woops, last commit fixed was for Issue 169
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@641 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 01:25:28 +00:00
Jeff Schiller 33cd428ef2 Fix Issue 186: Actual resolution always shown as selected
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@640 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 01:23:31 +00:00
Jeff Schiller 11c49d61dd Better behavior for custom resolutions
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@639 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 01:17:29 +00:00
Jeff Schiller 78a77cf9d4 Fix Issue 186: Basic Document Properties window
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@638 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 00:04:53 +00:00
Jeff Schiller c56fa2bd0d More markup for the doc properties dialog (still empty)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@637 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-13 19:58:06 +00:00
Alexis Deveria 0f29ad3e8b Fixed resolution change function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@627 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-11 15:49:50 +00:00
Alexis Deveria d514c9d9c6 Made zoom center on image
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@621 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-10 18:51:41 +00:00