Commit graph

212 commits

Author SHA1 Message Date
Laurent LOIE 42603327cc fix #6222 ( set IsImageModified to false only on Save and SaveAs OK ) 2022-04-22 10:05:51 +02:00
Jaex 7efc14112c Fix coordinate issues 2022-02-24 12:06:13 +03:00
Jaex 3a439df7f1 Fix active monitor mode issues 2022-02-24 10:24:16 +03:00
Jaex 61ced16d45 Added LockCursorToWindow method 2022-02-23 14:46:11 +03:00
Jaex 22c2179796 #5883: Also support active monitor mode in light and transparent region captures 2022-02-23 14:15:45 +03:00
Jaex 7bc34890da fixed #5883: Added active monitor mode option to region capture 2022-02-23 13:00:18 +03:00
Eric Tetz 28ff51c082 Fix panning regression, where panning at limit accumulates invisible changes. 2022-02-20 14:59:29 -07:00
Eric Tetz df6496c901 fix 6111: screen-wide crosshair clipped at zoom-out 2022-02-20 13:14:43 -07:00
Eric Tetz 5f7c9096e0
Switch to floating point internally. Panning fixes. (#6108)
* Switch to floating point internally. Panning fixes.

* Fix panning/zoom coordination errors.
2022-02-20 09:30:39 +03:00
Jaex 3da4e3ac3c Change zoom levels 2022-02-15 11:59:48 +03:00
Jaex 1ea1dacb0f Code refactoring 2022-02-15 11:01:29 +03:00
Eric Tetz 6fdc7cb768 Fix centering, add hotkeys, add zoom to fit.
Don't zoom during capture.

Performance: don't apply ScaleTransform when zoom is 100%. Draw background using SourceCopy rather than SourceOver.

Fix scaled centering.

Add hotkeys CTRL -, CTRL + to zoom in/out.

Add "Zoom To Fit" (CTRL+ALT+0) and "Zoom to fit on startup" editor option.
2022-02-12 18:43:37 -07:00
Eric Tetz 468d6ed3d6 Hide 100% zoom. CTRL+0 to reset. Fix magnifier and info text. Center zoom on mouse. Use GraphicsQualityManager. 2022-02-08 23:10:15 -07:00
Eric Tetz e5609fcef6 resolve conflicts and merged 2022-02-08 10:39:18 -07:00
Jaex ba9c5c8ec7 Improve square magnifier performance 2022-02-08 15:46:04 +03:00
Eric Tetz 0ede4a27d2 Zoom by a fixed percentage of the current zoom level. Feels better. 2022-01-31 21:58:23 -07:00
Eric Tetz 778eec1188 Stay zoomed when image doesn't fit in client area 2022-01-31 20:31:34 -07:00
Eric Tetz 2ee7843393 First pass at adding zoom to image editor, via CTRL+mouse wheel. 2022-01-31 18:01:18 -07:00
Jaex f5afd208b4 Code refactoring 2022-01-24 22:27:34 +03:00
L1Q 890bd58905 Fix FPS limit not applying preference 2022-01-24 18:58:42 +02:00
Jaex 621c8db965 Added FPS limit option to region capture options menu 2022-01-18 08:22:31 +03:00
Jaex 51d55059f9 Code refactoring 2022-01-17 10:41:32 +03:00
Jaex 29dc478e2b fixed #4951: Added support to limit region capture/image editor fps 2022-01-17 09:13:58 +03:00
Jaex 2ad22fa510 Added FPSManager class 2022-01-17 04:56:32 +03:00
Jaex 8c3dc0b78c Update year 2022-01-11 19:32:17 +03:00
Jaex 241619cc07 Rename variables 2021-12-12 00:21:19 +03:00
Jaex 30c46d4932 #5819: If "Auto copy image to clipboard" is enabled then also copy image to clipboard on image editor startup 2021-10-31 16:50:59 +03:00
Jaex 148817d9c0 Added auto copy image to clipboard option to image editor 2021-10-23 03:07:07 +03:00
Jaex cb813b88d8 Added ImageModified event 2021-10-23 01:44:29 +03:00
Jaex 837ef0a7fc Update year 2021-07-29 06:22:51 +03:00
Jaex b48d615362 Code refactoring 2021-06-10 21:44:40 +03:00
Jaex 1e8fb8a6fb fixed #5560: If magnifier is close to edges then draw canvas background 2021-06-08 21:51:40 +03:00
Jaex 65062b5332 Store input delay in region capture options 2021-04-10 19:58:44 +03:00
L1Q df90adf874 Improve localization support
Move lines to resx
2020-10-22 05:18:00 +01:00
Jaex c4a76746bf Make sure annotation toolbar is not bigger than editor window 2020-10-08 16:18:32 +03:00
Jaex ad2727a555 Added screen color picker info text option 2020-10-01 02:11:57 +03:00
Jaex dc21005e74 fixed #5061: Support region capture hover area with Enter key and handle missing path 2020-09-22 15:51:20 +03:00
Jaex 31c94623da In image editor show menu tooltips for task status 2020-09-20 02:26:53 +03:00
Jaex eabb0c8b23 Change size of color box 2020-08-28 21:55:15 +03:00
Jaex df87861c0d Fix info tooltip position for screen color picker 2020-08-13 14:32:55 +03:00
Jaex 01cbb02740 Change design of screen color picker tooltip color box 2020-08-12 11:20:51 +03:00
Jaex a1f079d674 In region capture form apply custom theme to text tooltips 2020-08-01 16:08:00 +03:00
Michael Delpach 50f86ee79a Revert "Revert "Merge branch 'master' of https://github.com/ShareX/ShareX""
This reverts commit 85fdab3c56.
2020-07-06 06:37:56 +08:00
Michael Delpach 85fdab3c56 Revert "Merge branch 'master' of https://github.com/ShareX/ShareX"
This reverts commit 2903ca1082, reversing
changes made to 195c0f2f8a.
2020-07-06 06:27:50 +08:00
Jaex 4a444ca164 Added area and perimeter info to ruler tool 2020-07-05 08:12:55 +03:00
Jaex 3af880d940 fixed #4733: Region capture "Enable animations" option also gonna affect ants animation 2020-04-09 21:11:12 +03:00
Jaex 9bf2f26e25 fixed #4732: If theme checker size is lower than 1 then use solid color for backgrounds 2020-04-09 19:54:18 +03:00
Jaex ef0d5a89cb In region capture when moving or panning use grab cursor 2020-03-31 21:55:55 +03:00
Jaex 335972455a More Bitmap usage 2020-03-23 22:33:26 +03:00
Jaex cfdad2c27c Use bitmap in drawing image effects 2020-03-22 00:16:55 +03:00