Commit graph

986 commits

Author SHA1 Message Date
RKrom
178a3d732f Fixed look of error message when registration of hotkeys failed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2393 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-18 15:16:50 +00:00
RKrom
8aeb07e1e9 Added a check, preventing additional disposing.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2392 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-18 14:41:59 +00:00
RKrom
4be6799f4a Fixed some drawing defaults for Bug #3588716
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2391 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 16:20:45 +00:00
RKrom
263bfbf158 Updated the readme.txt
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2390 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 15:01:19 +00:00
RKrom
94b6f9d115 Fixed error handling in the ClipboardHelper.GetImage
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2389 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 13:04:10 +00:00
RKrom
cd3c8aeb0b Fixed bug #3594681, do not use 256-color reducing when using inline dataurl for HTML.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2388 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 11:22:29 +00:00
RKrom
a57fa7086f Disabled compiling of unused code for the 1.1 release
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2387 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 11:03:23 +00:00
RKrom
86dc1fa60d Fixed some calculations
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2386 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 10:50:26 +00:00
JKlingen
f65fed6d62 new capture icons from fugue set + 16px icon for dropbox plugin
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2385 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-15 15:23:54 +00:00
JKlingen
40956b195c fixed IsInDesignMode to work with sharpdevelop, too
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2384 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-15 13:50:13 +00:00
RKrom
e7ab5f5677 Moved unused effect from Surface internal to IEffect implementation
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2383 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 16:43:16 +00:00
RKrom
6f633dbeb2 Fixed resize bug in Editor and ResizeSettingsForm
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2382 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 16:24:09 +00:00
RKrom
8be44214ce Added ResizeSettingsForm, language entries and removed unneeded usages.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2381 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 16:02:37 +00:00
RKrom
38de4875e0 Added settings forms for DropShadowEffect & TornEdgeEffect
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2380 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 12:13:33 +00:00
RKrom
6579d49d49 Removed unneeded using.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2379 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 10:18:36 +00:00
RKrom
bd58845c68 Added forgotten files... and optimized the ImageOutput to skip some checks when using the .greenshot format.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2378 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 09:57:40 +00:00
RKrom
0c7e16a771 Applied my "patch" which refactors the complete codebase to have IEffect support, this is an interface which can be used to supply effects to a bitmap. These effects can now be passed to the OutputSettings (which now is called SurfaceOutputSettings) to control how the output is modified. This is very useful for e.g. OCR which needs a grayscale & resized image.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2377 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 09:51:41 +00:00
RKrom
5541e2e1c7 Refactoring which replaces the Image in the ImageOutput for an ISurface, this makes it possible to save the Surface to any possible file format and even make it possible to pass some additional information in the OutputSettings. (Except reducing the colors, there are no other settings yet)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2376 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-11 14:36:20 +00:00
RKrom
e11450f56f Fixed problems in the designer with the last changes, also added some future code which is disabled. And uncommented the "Greenshot-filetype" registration in the installer.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2375 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-11 11:51:41 +00:00
JKlingen
3115c927b7 improved icons
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2374 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-10 20:46:44 +00:00
RKrom
f5e9618cd2 Turned on the code for the Greenshot file format, hat to refactor the ImageOutput to accept an ISurface so we could wait to export it to an image until the last moment or save the surace-image & serialize the elements.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2373 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-10 17:50:26 +00:00
RKrom
745a17c3b1 Fixed shifting of animation.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2372 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-10 13:58:36 +00:00
RKrom
d8d52e0293 Removed large image
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2371 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-10 11:57:42 +00:00
RKrom
88b869499a Changed the animation to something less... irritating and made it skip when OptimizeForRemoteDesktop is true.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2370 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-10 11:53:57 +00:00
RKrom
bf8fd174ce Finished color flow (shine), the animation might still need some changes...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2369 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-08 00:02:53 +00:00
RKrom
9803c91122 Updated the about form to have an animation, which is not yet finished.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2368 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 20:40:17 +00:00
RKrom
57e4a8dd73 Cleanup of the AboutForm, changed the Style to a "FixedToolWindow", I find this more professional. Changed the AnimatingForm to have a flag, EnableAnimation, which is false by default and makes it possible to make the Form the base form of all GreenshotForm forms. Renamed the conf -> coreConfiguration, as this is already in the base class. Also added some comments.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2367 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 16:31:20 +00:00
RKrom
b7cfe23605 Extracted the refresh/animation logic to its own class, so it could be reused elsewhere. It would be even possible to extract more, but for now this is a good basis.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2366 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 15:53:45 +00:00
RKrom
83d244c3bf Counting the amount of surface objects, so we can see if there are multiple in memory when we have bugs.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2365 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 15:12:04 +00:00
RKrom
1a471ec77f Added thread name, used for debugging. Added hotkey descriptions for rotate ccw/cw in language-en-US.xml
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2364 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 13:40:53 +00:00
RKrom
69754804a0 Small changes in unused code, for cleanup.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2363 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 13:37:55 +00:00
RKrom
d7af595d0d Added info to track bugs like #3592758 better, we should use this more often.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2362 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 10:57:48 +00:00
JKlingen
c514695637 added some icons for context menu
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2361 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-06 21:01:55 +00:00
RKrom
e148f2103c Added key handling for the effects and added a clear operation. Also some code cleanup.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2360 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-06 17:06:26 +00:00
RKrom
82eddefe4e Code cleanup, already made some changes (which are not active) for the next release so I can work on them without having multiple changed files which might cause check in conflicts.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2359 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-06 13:47:17 +00:00
RKrom
70d6b0356b Made sure the zoomer can't be toggled outside the region mode.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2358 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-06 06:03:12 +00:00
JKlingen
e5d996d0d1 fix: keep printer destination (with dialog) intact after selecting a printer for the first time
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2357 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-05 21:50:56 +00:00
RKrom
26fd909de0 Optimized for Remote Desktop / Terminal Server Sessions, also made it possible to enable/disable the zoomer.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2356 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-05 20:02:21 +00:00
RKrom
ddae26df89 Fixed leftovers
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2355 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-05 19:27:53 +00:00
RKrom
1ba5015305 Changes which calculate the amount of frames according to the time the animation should take, this makes the animation run equally long on all systems (independent of the refresh rate)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2354 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-05 08:39:27 +00:00
RKrom
c7c61773a5 Fixed problem when selecting something after changing modes.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2353 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-04 13:41:55 +00:00
RKrom
4800bedde2 Made some changes which make the switch from region to window more interesting, for this I had to change some code so the "fade in/out" animations are running until finished.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2352 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-04 13:12:08 +00:00
JKlingen
010e43704d changed zoom location finder to try to find a position which is neither out of screen bounds nor intersecting with selected rectangle
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2351 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-03 21:22:05 +00:00
RKrom
d63c3806aa Fix issue where uneven size are calculated, this way we always have a plural of 4.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2350 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-03 21:11:35 +00:00
RKrom
aa8063ea88 Zoom size is now 20% of the smallest screen "range", usually the height, but if rotated CCW/CW this would be the width. This prevents the zoomer from being to large.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2349 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-03 14:24:55 +00:00
RKrom
672590cd3b Changes for the animation after discussions with Thomas. Mainly that the animation of the interactive capture STARTS from the Mouse-Cursor outwards.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2348 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-03 14:08:06 +00:00
RKrom
03cba68f61 This change enables a transparent background for those parts in the screen capture which are not visible on the screen.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2347 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-03 13:16:23 +00:00
JKlingen
3a5b3d63a9 fixed lower part of screen not being invalidated correctly in case of negative screen coordinates in multiscreen setup
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2346 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 18:47:22 +00:00
JKlingen
7be6f7ab2b refactored: get rid of confusing variables and calculating offsets for screen coordinates vs. bitmap coordinates.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2345 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 18:18:15 +00:00
JKlingen
05d9783a24 fixed issues with zoom positioning on multiscreen setup with negative screen coordinates
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2344 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 16:21:27 +00:00