Commit graph

986 commits

Author SHA1 Message Date
RKrom
e21420e2aa Code cleanup (removed floats and casts) and comments.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2343 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 13:26:03 +00:00
RKrom
7c8b0f5988 Animation queuing.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2342 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 13:08:51 +00:00
RKrom
ce632b1496 Added changes for the zoom to animate relative to the cursor position. Also made the first changes to make sure the animation has a frame rate equal to the screen refresh.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2341 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 12:49:44 +00:00
RKrom
3b9cc41832 Added easing to the animations
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2340 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-30 11:44:34 +00:00
RKrom
03efcf8d17 Restored Jens his Animation logic, this does cause problems with the drawing as the size is not exact.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2339 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-30 06:54:26 +00:00
RKrom
ae38bd7ac2 code cleanup
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2338 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 17:20:16 +00:00
RKrom
c476d00b59 Fixed Cross-hair from Jens with pixel exact drawing.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2337 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 17:10:35 +00:00
RKrom
bc6b7c36e4 Changed key handler to make it possible to specify pixel-exact locations.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2336 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 16:51:41 +00:00
RKrom
3a9abafdc8 Recreated the changes from Jens
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2335 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 15:37:46 +00:00
RKrom
503a9daf63 Made changes to the animators, there now are different types but still all work linear.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2334 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 15:17:44 +00:00
RKrom
2aa53d444b Fixed the very old incorrect size information bug
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2333 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 14:02:23 +00:00
RKrom
22c58f739c Fixed last commit
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2332 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 08:16:13 +00:00
RKrom
e8196928e1 Added AnimationHelper to support the animations, this is still an initial form. Made the interactive mode work with this.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2331 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 21:25:46 +00:00
JKlingen
a1931b790d added simple "easing" effect to zoom animation
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2330 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 20:52:58 +00:00
JKlingen
8b0f4a75ed zoom crosshair optimizations for dark backgrounds
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2329 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 20:16:09 +00:00
RKrom
f6b944048b Forgot to commit files.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2328 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 20:01:21 +00:00
RKrom
2a26be0a37 Fixed file handling, fixed wrong order in the title of the editor, changed left-click handling of the context menu. Added a boolean in the ProcessCmdKey of the surface.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2327 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 18:59:01 +00:00
RKrom
c5fef12c9b Cleaner fix for the Zoom bug
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2326 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 18:02:54 +00:00
RKrom
219fd48453 "fixed" that the ellipse of the zoom region didn't match the destination rectangle. It's not perfect yet, as the upper side is 91px, the lower side 92px... but this might be a problem with the pen, which draws a 9px thick line... to be continued.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2325 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 17:15:55 +00:00
RKrom
4de7c0812f Added argument to a message for a specific com exception.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2324 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 16:54:42 +00:00
RKrom
3bd99b2297 Cleaner solution for export problems which are denied/failed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2323 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 16:52:17 +00:00
RKrom
c517787d23 Fixed #3590372 by showing a MessageBox where the problem is displayed and the user can re-try.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2322 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 16:27:34 +00:00
RKrom
9bacaf060c Updated readme.txt with latest changes
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2321 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 15:17:20 +00:00
RKrom
2cce7d070c Fixed a very nasty bug with the menu's ShortCutKeys which weren't handled correctly in some cases, only for some keys... Move the check to a different location, where it's done manually.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2320 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 13:56:07 +00:00
RKrom
4efd779d86 Added an animation for the zoom area, this is just to show what we could do... might not be the final effect.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2319 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-27 08:07:01 +00:00
JKlingen
4cb72219a5 fixed invalidation area and small code improvements
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2318 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 21:21:23 +00:00
JKlingen
23f429d277 finally fixed last problems with position and invalidation of zoomer
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2317 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 20:18:57 +00:00
JKlingen
53c361424c fixed zoom position for multiscreen setup (however, some fixing has to be done for proper invalidation)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2316 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 20:04:58 +00:00
RKrom
92053efdfc Fixed screenbounds checking for the zoom
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2315 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 19:37:41 +00:00
JKlingen
f6e214e12a fixed zoomarea offset in case of negative coordinates in screen layout (multiscreen)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2314 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 17:07:05 +00:00
RKrom
69a88eeb25 Added checkerboard for Zooming where nothing is visible.... might need some logic to prevent drawing if it's not needed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2313 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 13:41:06 +00:00
RKrom
675cdb1aae Changed the zooming to be in the Capture form itself, as it was really hard to change the shape. Now it's round...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2312 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 12:57:57 +00:00
RKrom
46e9ea0e59 Mainly code cleanup, added a lot of comments. Also making sure the element which was selected while being removed is re-selected again when undo is used. Not really happy with the solution as the the container should handle this somehow itself without work-around, for now it should be enough.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2311 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 08:48:10 +00:00
RKrom
3d62f9c279 This fixes a bug where the AutoCrop can't be undone, there is still a bug where a redo of a crop (auto or normal) doesn't update the bindings.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2310 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-24 10:29:39 +00:00
RKrom
5c594a27b5 Cleaner version of the previous code...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2309 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-24 09:57:07 +00:00
RKrom
291bfadbea Fixed that the title in the editor is not representing the saved filename.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2308 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-24 09:50:09 +00:00
RKrom
502fe44270 Don't instantiate the IAppVisibility if < Windows 8, so there is one exception less in the logs.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2307 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 23:19:20 +00:00
RKrom
67db97b13f Refactored the zoomForm to a zoomControl, with this we can prevent mouse events to happen. Also the current state seems to work very well, even with a larger size.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2306 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 22:17:47 +00:00
RKrom
ea4e2f6804 Added first try to implement the RSASHA1 signature, so we can use this for the Jira 5 Rest API
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2305 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 16:08:14 +00:00
RKrom
009d5d11df Fixed PixelOffset issue for the RectangleContainer, need to check what to do with the other containers.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2304 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 16:07:21 +00:00
RKrom
2ea920dc7a Fixed potential error.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2303 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 15:47:37 +00:00
RKrom
d58e419503 Still don't understand why, but this using is unwanted in SharpDevelop but doesn't bother Visual Studio..
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2302 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-22 20:33:45 +00:00
RKrom
28a965db09 Fixed logic from previous fix, the Toolwindow detection was flawed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2301 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-21 10:29:41 +00:00
RKrom
57ebc0c675 Fixed Window corner cut to skip tool windows, and use a cut shape from the configuration.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2300 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-21 10:00:55 +00:00
RKrom
2d767f735c Refactoring to allow Lists to be inside other values.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2299 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-21 09:26:20 +00:00
RKrom
84e5e86751 Fixed issue when the WSDL isn't in the URL
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2298 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-20 15:54:39 +00:00
RKrom
1e6a5de79b Fixed issue when the WSDL isn't in the URL
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2297 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-20 15:33:03 +00:00
RKrom
151d250d28 Fixed issue when the WSDL isn't in the URL
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2296 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-20 15:30:33 +00:00
RKrom
59d91bb501 Make sure all exceptions in the thread are logged!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2295 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-19 10:41:56 +00:00
RKrom
5a1c5fd0eb Fixed the zoom, it was drawn incorrectly. Also changed the drawing to work with a timer, so the updates are made even if the mouse moves to quick. Added a bitblt method in the GDI32 class.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2294 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-18 11:18:20 +00:00