Commit Graph

2923 Commits (ff711f080bb60c409661a5bc1a461836b6e42b4f)

Author SHA1 Message Date
Jeff Schiller 8785b3674f More refactoring for selection, still only single selection
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@241 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 15:34:15 +00:00
Jeff Schiller 0389e6bd86 Keep the selector group at the bottom of the document. Put the rubber-band box into the selector group. Do not serialize the selectorGroup or its children
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@240 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 17:50:08 +00:00
Jeff Schiller 9f3860e3e0 Add thin border to rubber-band box
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@238 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 16:16:55 +00:00
Jeff Schiller 6d8ab5888a Clear up some bugginess with the rubber-band box in single-select mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@237 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 16:12:08 +00:00
Jeff Schiller 097649b330 Can now single-select by dragging the rubber-band box around. Still no multiselect
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@236 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 14:29:28 +00:00
Jeff Schiller 1207de3e61 More minor tweaks, still no multi-select
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@233 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 06:37:39 +00:00
Jeff Schiller afca995083 Added rubber-band box element for multi-select, start of multi-select mode (all it does is draw the rubber-band mode, no selecting yet. Also added a bunch of semicolons (this may be required for minification)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@230 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 06:24:41 +00:00
Jeff Schiller 30d5cb45e5 Move to use an array for selected elements. Still only single-select mode.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@229 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 22:22:13 +00:00
Jeff Schiller a0aa794cb9 Move color picker leftward so that it is (usually) always fully visible
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@228 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 21:48:42 +00:00
Pavol Rusnak d1299beb5c fixed Issue#50
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@227 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 17:34:02 +00:00
Jeff Schiller 3ab00a7148 Fix issue 49: take into account scroll offsets with canvas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@226 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 15:08:40 +00:00
Jeff Schiller 579dac1219 Make contextual panel taller again
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@225 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 15:00:11 +00:00
Pavol Rusnak ece4974a91 small changes to UI
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@224 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 14:38:30 +00:00
Jeff Schiller 54e20edef2 Selector was not being hidden upon undo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@223 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 13:46:50 +00:00
Jeff Schiller 482aae35ed Use new selector code for single-selection
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@222 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 13:20:39 +00:00
Jeff Schiller e5a290b196 Beginnings of code for multi-select. This code is not being used yet, checking in now as a work-in-progress.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@221 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 03:58:34 +00:00
Jeff Schiller ae1cd5592b Fix position of color picker. Fadeout flyouts so that user has a chance to see them upon first click
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@220 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 14:35:08 +00:00
Jeff Schiller d7a2c3e71c Mousedown to open flyouts, mouse up on the tool the user wants
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@217 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 05:48:11 +00:00
Jeff Schiller 9293eb66e6 Change flyouts to close when mousing out. Also since rect/ellipse flyouts can no longer get stuck open, remove code to hide them and change color picker to not be a flyout
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@216 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 05:09:10 +00:00
Jeff Schiller 83f2dbf6df Closing out Issue 36 with new layout from svg-edit-layout branch
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@215 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 04:20:34 +00:00
Jeff Schiller 347896cb6c Fix Issue 48: Freehand tools now undo-able
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@214 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 04:10:03 +00:00
Narendra Sisodiya 94e7f6c645 Fixing issue 47, click to hover
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@213 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-27 23:31:56 +00:00
Jeff Schiller 6b7bd3eaf8 Tweaks to svgToString() to produce slightly tidier output
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@209 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-27 03:42:12 +00:00
Jeff Schiller a676614787 Starting mode is select, not path
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@208 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-27 03:18:50 +00:00
Jeff Schiller cfa488a502 Make changing resolution undo/redo-able
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@202 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-26 14:31:03 +00:00
Jeff Schiller ecb0f0e74e Fix Issue 19: Undo/Redo in context panel and react as buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@201 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 15:35:28 +00:00
Pavol Rusnak 5c67d896ac buttons for undo/redo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@200 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 08:31:36 +00:00
Pavol Rusnak 1f5fca2fd6 resize drawing area
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@199 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 08:22:30 +00:00
Jeff Schiller d955ca51d1 Change shortcut keys to z, y and shift-z
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@198 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 03:31:56 +00:00
Jeff Schiller 48ec8a7c14 Fix Issue 19: implement undo/redo command history and shortcut keys
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@196 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 02:54:07 +00:00
Jeff Schiller 8a29ca4061 Fix text input width for Firefox 3.0 on Linux
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@194 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 22:07:58 +00:00
Jeff Schiller 9655adf444 Tweak sensitivity, update comment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@193 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 13:49:43 +00:00
Jeff Schiller 1ad4ad80a1 Make grips easier to grab with the mouse (works in Opera/WebKit, not in Firefox)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@192 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 13:49:16 +00:00
Jeff Schiller 7c5c80beec Fix Issue 26: context tools for rect, circle, ellipse, line are now editable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@188 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 04:33:09 +00:00
Jeff Schiller 96f74b4dae Add circle, ellipse, line context controls
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@187 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 04:17:35 +00:00
Jeff Schiller 35ad2d7841 Fix Issue 29: Key bindings for moving selected, move to top/back, delete for Macbook users
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@186 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 21:18:23 +00:00
Jeff Schiller 016a3572c5 Now update x,y,w,h for a rect when it's moved or resized, but only when you mouseup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@184 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 18:06:53 +00:00
Jeff Schiller 61a1259efa Add in x,y,w,h contextual controls for rects (updated by not editable)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@183 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 17:30:30 +00:00
Jeff Schiller 9b312d694f More concise code to set radius pulldown value
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@182 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 17:26:17 +00:00
Jeff Schiller 880592cafc Update radius pulldown with value of selected rectangle's corner radius
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@181 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 17:20:21 +00:00
Pavol Rusnak 59e313047a make buttons nicer
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@180 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 07:57:11 +00:00
Pavol Rusnak f3c4a87bed switch icons on circle/square tools
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@179 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 07:53:32 +00:00
Pavol Rusnak 07c349048a - replaced circles in grips with squares
- circles will be used for rotation
- added simple switch (selectedOperation) which sets it
  (does not modify the behaviour, yet)


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@178 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 07:48:15 +00:00
Jeff Schiller cf2a8a9005 Move normalization of selected bbox to inside mouseMove to prevent bug when selected box disappears when resizing negatively
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@174 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 05:46:47 +00:00
Jeff Schiller 6ac2227fae Fix Issue 27: Allow resizing of all elements except text, properly compute new sizes, shuffled some code around
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@173 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 05:17:53 +00:00
Pavol Rusnak 33e611ed89 replaced delete icon
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@172 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-22 19:54:46 +00:00
Pavol Rusnak 7b5f08b849 add icons for freehand square/circle
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@171 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-22 13:31:48 +00:00
Pavol Rusnak d6804de0c2 adjust changes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@161 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-18 08:24:05 +00:00
Jeff Schiller 407c50f9f5 Start on Issue 27: show grips in the selected outline (they do not do anything yet though)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@156 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-18 05:08:47 +00:00
Jeff Schiller 49a4625622 Update version number to 2.2-preAlpha
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@150 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-18 04:32:10 +00:00