Commit graph

734 commits

Author SHA1 Message Date
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 992e462383 Merge branch 'develop' of https://github.com/EricTetz/ShareX into develop 2022-01-31 18:06:33 -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
L1Q 8f5799c4cf Add "FPS Limit" line to resx 2022-01-30 04:40:04 +02:00
Jaex 4a6cb786e0 Save editor canvas color 2022-01-24 18:22:54 +03:00
Jaex bcaca6a0ad Added canvas color button to canvas size form 2022-01-23 12:14:53 +03:00
Jaex 19aa3ea9ae Update Twitter username 2022-01-22 08:18:52 +03:00
Jaex 621c8db965 Added FPS limit option to region capture options menu 2022-01-18 08:22:31 +03:00
Jaex 8c3dc0b78c Update year 2022-01-11 19:32:17 +03:00
Jaex 46e8387766 Rename variables 2022-01-05 10:44:18 +03:00
L1Q a742a66742 Move lines to resx 2021-12-14 17:51:54 +02:00
Jaex d6a13316d5 Make forms localizable 2021-10-31 16:07:26 +03:00
Jaex b77fa9b56d Added option menu item 2021-10-23 03:19:41 +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 8458e859f8 Swap move/resize hotkeys in region capture so arrow keys moves shapes instead of resize 2021-10-04 01:35:30 +03:00
Jaex eb2d90c0c9 Remember color picker color palette mode selection 2021-10-03 01:48:03 +03:00
Jaex 1b4b4142df fixed #5833: Added region capture click action for "Capture last region" 2021-09-21 14:52:44 +03:00
Jaex bc3f64297a More Turkish translations 2021-09-07 04:18:43 +03:00
Jaex 433873f201 Allow 0 size in glow image effect 2021-08-22 05:35:20 +03:00
Jaex 837ef0a7fc Update year 2021-07-29 06:22:51 +03:00
Jaex b58c77ee68 fixed #5676: Allow canceling insert image dialog 2021-07-01 18:04:45 +03:00
kanaxx d5bb4474ed localize border style 2021-06-27 22:43:36 +09:00
Jaex e8ad4b8553 Code refactoring 2021-06-10 01:14:01 +03:00
Jaex e986638d5d Support lowercase step letters and roman numerals 2021-04-25 19:44:26 +03:00
Jaex 7349eca130 Code refactoring 2021-04-17 11:50:59 +03:00
Edward Sierra 69e787acad Used list and enum to allow for ease of adding additional step shape types. 2021-04-17 00:40:40 -07:00
Edward Sierra d00adda6d3 Issue #5501 added ability to use roman numerals in the step annotator. 2021-04-16 16:23:17 -07:00
Jaex f86d009686 Also added border style option to ellipse, freehand, line, arrow and magnify annotation tools 2020-12-06 02:37:50 +03:00
Jaex c569434762 Use custom enum for border style 2020-12-06 02:05:36 +03:00
Jaex e4d9f19c4b Added border style option to rectangle annotation 2020-12-06 01:58:30 +03:00
L1Q 93cf3779fa Fix "Remember menu state" + "Lock menu" issue.
Make sure the menu position is set when "Remember menu state" is enabled.
2020-10-29 07:24:25 +00:00
L1Q df90adf874 Improve localization support
Move lines to resx
2020-10-22 05:18:00 +01:00
Jaex 8dc1dfd8e4 fixed #5137: Handle clipboard contains errors 2020-10-21 12:50:24 +03:00
Jaex 5f26d21569 Draw custom toolbar grips 2020-10-08 17:21:30 +03:00
Jaex c4a76746bf Make sure annotation toolbar is not bigger than editor window 2020-10-08 16:18:32 +03:00
Jaex f7829440e8 Code refactor 2020-10-07 12:45:26 +03:00
Scratch 5952c25098 Allow drawing arrows in reverse 2020-10-06 19:53:16 +11:00
Jaex fd8775ff5e Added option to swap enter key behavior in input box 2020-10-01 16:00:52 +03:00
Jaex 2062845f84 Removed Q hotkey from region capture because users keep pressing it accidentally 2020-09-24 22:09:53 +03:00
Jaex 4d7c9254fd Update drag item visibility 2020-09-24 10:50:50 +03:00
Jaex 922e09b2c5 Added lock menu option that way drag image can be hidden 2020-09-23 22:35:04 +03:00
Jaex 9deb7db031 Increased region capture menu button sizes, moved menu to top of monitor 2020-09-23 22:06:42 +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 894a41bc4e Code refactor 2020-09-15 22:12:57 +03:00
Jaex 28ef152d06 Duplicate shape to cursor position 2020-09-15 21:44:39 +03:00
Jaex 127030ce4c Added Duplicate button to edit menu 2020-09-15 20:54:38 +03:00
Jaex d4425589a6 Fixed cursor duplicate 2020-09-15 20:13:41 +03:00
Jaex a2b1b2be5d Fixed image duplicate 2020-09-15 19:58:08 +03:00
Jaex fce38f518a Fixed effect duplicate 2020-09-15 19:42:58 +03:00
Jaex 22b582e0d1 fixed #5044: Added duplicate hotkey (ctrl + d) 2020-09-15 05:00:05 +03:00
Jaex a19439ef33 Code refactor 2020-09-10 13:18:00 +03:00
Michael Delpach ce35af243c Update ShapeManagerMenu.cs 2020-09-10 07:36:55 +08:00
Michael Delpach 27b398230b Update ShapeManagerMenu.cs 2020-09-09 08:39:58 +08:00
Michael Delpach d72c4751e7 Autoscale Region Capture toolbar based on DPI 2020-09-09 08:12:50 +08:00
Jaex e7262df5f0 Added menu icon size option to region capture 2020-09-08 20:16:19 +03:00
Jaex 745d1fd136 Dispose result image 2020-08-23 18:30:12 +03:00
Scratch 2f74a89e16 Use result image for auto crop in Image Editor
Closes #4994
2020-08-23 23:10:45 +10:00
Michael Delpach f0a982fdf3 Rebase to 0c039b9ee0
0c039b9ee0
2020-07-06 07:23:59 +08:00
Michael Delpach 195c0f2f8a Revert "Merge branch 'master' into tweaks"
This reverts commit 162badae3b, reversing
changes made to e0f2812f3d.
2020-06-29 06:10:21 +08:00
Jaex b16f93fda5 Added interpolation mode option to image watermark 2020-06-17 16:40:29 +03:00
Jaex b5ccbd612e fixed #4746: Right click should show exit confirmation for image editor too 2020-05-01 01:46:44 +03:00
Jaex 96296c51eb Added RandomFast and RandomCrypto classes 2020-04-23 16:41:09 +03:00
Jaex 8e244b5982 Added hover and grab cursor support to all image editor controls 2020-04-02 17:32:28 +03:00
Jaex ca53d6e1a5 Revert "Also use grab cursor when resizing nodes"
This reverts commit e94178fe84.
2020-04-02 17:27:04 +03:00
Jaex e94178fe84 Also use grab cursor when resizing nodes 2020-04-02 16:19:35 +03:00
Jaex ef0d5a89cb In region capture when moving or panning use grab cursor 2020-03-31 21:55:55 +03:00
Jaex 936060c63d Added IsDarkTheme property 2020-03-31 10:26:18 +03:00
Jaex 1b92062007 fixed #4694: Added white icons for annotation buttons 2020-03-31 10:11:02 +03:00
Jaex 335972455a More Bitmap usage 2020-03-23 22:33:26 +03:00
Jaex 0137f60a0d All ImageHelpers methods return bitmap now instead of image 2020-03-22 02:22:43 +03:00
Jaex c1bcb15d98 Use bitmap in manipulation image effects 2020-03-22 01:07:38 +03:00
Jaex b8c10a7067 Decrease unnecessary bitmap casts 2020-03-21 04:41:34 +03:00
Jaex f49c345ffd Smart eraser tool gonna use dimmed background color in region capture but output result gonna use proper color 2020-03-20 23:22:08 +03:00
Jaex 42e1067412 Return bitmap instead of image 2020-03-20 22:02:26 +03:00
Jaex 4f0234fe74 Added smart eraser annotation tool 2020-03-11 15:19:04 +03:00
Jaex 4910951c4a Calculate tail size depending on border size 2020-02-18 16:50:48 +03:00
Jaex 803a4e567c Update year 2020-02-05 10:19:48 +03:00
Jaex 4b774e4c7d Fix Q press crash 2020-02-02 03:16:16 +03:00
Jaex 58e3633fe8 Step tail will be only active when initially clicked on tail node 2020-01-28 08:46:07 +03:00
Jaex 661d9e3668 fixed #4418: Make sure to use currently selected shape tool when updating shape options 2020-01-16 18:44:01 +03:00
Jaex 098056a9ce Step label tail improvements 2020-01-15 00:48:31 +03:00
Jaex 210865bc50 Added tail support to step shape 2020-01-15 00:25:36 +03:00
Jaex 3b5da9cb9f Allow region capture color dialogs to have screen color picker support 2020-01-03 18:09:21 +03:00
Jaex ae2af647ab Allow region capture to have screen color picker support when use dimming option is not enabled 2020-01-01 01:40:05 +03:00
Jaex 65fb293512 Added GetFileDropList method to ClipboardHelpers 2019-12-12 16:06:57 +03:00
Jaex 4f617f594b fixed #4519: Handle clipboard exceptions when getting text 2019-12-12 15:03:22 +03:00
Jaex c85f23cc96 Support special folder variables in Actions 2019-10-09 23:03:36 +03:00
Jaex a8f992a203 fixed #4418: When drawing freehand, line or arrow make sure border size is minimum 1 2019-10-09 15:11:13 +03:00
L1Q ccea29f817 Move lines to resx 2019-08-24 06:50:52 +03:00
Jaex 4d28a97e4d Solution code cleanup 2019-08-21 17:28:17 +03:00
Jaex 857298909b fixed #4256: Q hotkey should work only in region capture mode 2019-08-09 11:30:06 +03:00
Jaex e3a419c8b8 Store minimum size in options 2019-07-22 03:17:18 +03:00
Jaex 17b6c009fe Rename function name 2019-06-24 21:36:16 +03:00
Jaex c4d36a85d6 Don't set icon for shape manager menu 2019-06-24 21:17:33 +03:00
Jaex ad5173241f Apply dark theme to toolstrips too 2019-06-24 20:59:48 +03:00
Jaex 35d6f5aaed Support dark theme color in image editor background 2019-06-01 00:19:37 +03:00
Jaex 132ebafa9c Rename Between extension to Clamp 2019-05-23 22:59:16 +03:00