Commit graph

739 commits

Author SHA1 Message Date
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
Jaex 0aca109705 Use dark themed menus in main window and tray menu 2019-05-16 02:05:32 +03:00
Jaex 70580930f0 Added second text support to labeled numeric up down control 2019-05-05 09:59:05 +03:00
Jaex 36f179eb01 Added interpolation mode option to magnify tool 2019-05-05 09:53:03 +03:00
Jaex d27a7de529 Force proportional resizing in magnify tool 2019-05-03 11:01:09 +03:00
Jaex 7d71c6bd45 Fix magnify issue 2019-05-03 10:44:04 +03:00
Jaex 01bfe03112 Added magnify strength option 2019-05-03 10:40:54 +03:00
Jaex 4477b8ce55 fixed #2891: Added magnify annotation tool 2019-05-02 12:45:54 +03:00
Daniel Kuschny 8cb8416cd4 Removed unneeded variable, ensure shape stays selected after drawing 2019-04-29 18:28:54 +02:00
Daniel Kuschny f34666816b Deselect shape before selecting new one, this ensures the correct behavior when switching between types 2019-04-15 20:59:18 +02:00
Daniel Kuschny 2957763918 Ensure correct shape selection clearing for different scenarios 2019-04-15 20:48:09 +02:00
Daniel Kuschny 0b07521fc5 Code style 2019-04-15 20:33:38 +02:00
Daniel Kuschny a16dc4f75a Fixed issue that crop-tool shape is not cleared when switching to select tool manually 2019-04-15 20:29:22 +02:00
Jaex c963e94406 Override IsSelectable instead of Intersects 2019-04-15 16:56:31 +03:00
Jaex 0657d23139 Use property for shape selectable state 2019-04-15 16:45:37 +03:00
Jaex e0f6e11f44 Allow selecting freehand drawing when select tool is active 2019-04-15 16:27:14 +03:00
Jaex 552c898864 Don't show hover selection of windows and controls when select tool is active 2019-04-14 10:17:12 +03:00
Jaex 168addb557
Update ShapeManager.cs 2019-04-14 09:30:28 +03:00
Daniel Kuschny 076d3fc897 Changed label and icon of select tool, added german translation 2019-04-13 14:27:41 +02:00
Daniel Kuschny 3b413d0110 Limit auto select tool selection to drawing tools and added special logic to switch back after crop tool completion 2019-04-13 14:21:48 +02:00
Daniel Kuschny fa89e16d4d Merge branch 'master' into feature/select-tool 2019-04-13 13:47:25 +02:00
Jaex 5a660e390f Change cursor drawing tool icon 2019-04-08 00:26:57 +03:00
Daniel Kuschny 220c2e4b19 Added selection icon from and applied it to the select tool. 2019-04-04 19:49:48 +02:00
Daniel Kuschny a7cacddee1 Fixed code style issue 2019-04-04 19:36:28 +02:00
Daniel Kuschny ba0e644896 Introduced settings that allow change of select tool behavior 2019-04-04 19:33:55 +02:00
Daniel Kuschny 1ba6769b76 Improved escape key handling. 2019-04-04 19:33:35 +02:00
Daniel Kuschny 056f17cbc7 Added select tool to image editor 2019-04-04 18:32:58 +02:00
Jaex 469fc29b87 Update year 2019-01-02 10:43:52 +03:00
Jaex 8c4b4d5c1e fixed #3838: If Windows in tablet mode then show close button in region capture toolbar 2018-12-29 11:17:44 +03:00
Jaex 585beaa173 fixed #3803: Allow using proportional resizing (shift) or snap resizing together (alt) with corner moving (ctrl) 2018-12-19 12:30:15 +03:00
Jaex 4642091372 fixed #3741: After use image editor task buttons, modified should be set to false 2018-11-17 12:20:59 +03:00
Jaex 73cd641fb5 CodeMaid cleanup 2018-10-30 20:58:35 +03:00
L1Q 2f2bf8ff0a Improve localization support
- move strings to resx
- create tokens for missing language names in about form
- mark uploader names invariant
2018-10-25 04:00:47 +03:00
Jaex 72aa0c5a4d
Merge pull request #3624 from Fyers/master
added StartingStepNumber option for AnnotationOptions #3611
2018-09-20 08:29:25 +03:00
Fyers 62eb62a9c2 moved StartingStepNumber from AnnotationOptions to ShapeManager 2018-09-19 18:35:58 +02:00
Fyers 48155ff42c only show StartingStepNumber on DrawingStep 2018-09-17 20:27:22 +02:00
Fyers b952f3d654 added StartingStepNumber option for AnnotationOptions 2018-09-17 20:05:09 +02:00
Jaex d4ff34aa8e Change default blur and pixelate values 2018-09-16 21:44:46 +03:00
Jaex 8fe31bf279 Added "Use light resize nodes" option to region capture 2018-08-29 17:49:50 +03:00
Jaex dcbe2ab4fe #2955: Support old resize node style 2018-08-23 13:20:55 +03:00
Jaex f270c59190 No need TaskEx.Run anymore 2018-08-03 14:01:12 +03:00
Jaex 894e6a6433 #3530: Save buttons in image editor will use task settings to generate name if file name is not supplied yet, that way user can save without use "save as..." dialog first 2018-07-16 12:44:23 +03:00
Jaex c5f24df681 Changed sticker tool icon to smiley 2018-07-13 08:35:54 +03:00
Jaex 09f0ecc7e3 Fix one off issues 2018-06-18 19:15:34 +03:00
Jaex 568991cb45 Added gradient color support to Text (Outline) tool 2018-06-18 16:53:59 +03:00
Jaex 2e2ad7f437 Fixed fixed size region mode resize node proportional resizing 2018-06-17 09:24:00 +03:00
Jaex d84cf9e48d If color of line changed don't reset center points 2018-06-06 01:27:08 +03:00
Jaex ec1d942cf5 Rename IsAnnotated to IsModified 2018-06-04 18:47:38 +03:00
Jaex ec45f15922 fixed #3374: Added screen color picker support to image editor color picker, also gonna show recent colors in screen color picker tool too 2018-06-02 15:34:52 +03:00
Jaex cb3711632c Fix "Use of implied arithmetic operator precedence" 2018-05-16 16:27:11 +03:00
Jaex 9448df3cda fixed #3385: Make sure line and arrow easily selectable 2018-05-12 11:10:48 +03:00
Jaex 7dcde28b9b Removed ctrl + mouse wheel tool changing 2018-04-30 19:50:27 +03:00
Jaex 62dc5ff676 Allow to hide magnifier with mouse wheel if magnifier size reach below minimum pixel size 2018-04-30 19:45:35 +03:00
Jaex 47f91bd4e8 Resume form on shape update 2018-04-30 16:41:39 +03:00
Jaex 4a30690a69 Added link to region capture keybinds page 2018-04-30 16:19:57 +03:00
Ivan Bidolakh aa1e8afe43 Cleanup code
newPoints is array of structs "System.Drawing.Point". Any element of an array can not be null. That expression (newPoints[i] == null) always return false. So, we can remove this cycle without changes in program logic.
2018-04-29 01:38:21 +03:00
Jaex 4776c83d08 Added form parameter to PickColor method to be able to show color picker in front of top most forms 2018-04-24 10:15:19 +03:00
SupSuper 52a15de904 .NET 4.5 scales toolstrips for us 2018-04-22 03:46:00 +01:00
Jaex 80369e98b0 Use editor canvas color option in editor 2018-04-16 18:02:54 +03:00
Jaex c932226956 fixed #3304: When pasting image, inserting image file or inserting image from screen show insert image dialog which allows automatically expanding canvas to bottom or right side and inserting image there 2018-04-16 14:50:19 +03:00
Jaex eb2aa5a1e2 Move auto resize canvas method to shape manager 2018-04-13 16:07:42 +03:00
Jaex 215d10006f When calculating new canvas size consider all image rectangles 2018-04-13 15:52:29 +03:00
Jaex 5bfbc07818 #3304: After move image if image is outside canvas then resize canvas to fit image 2018-04-13 14:56:35 +03:00
Jaex f3299c7f8a When shape options changed from menu invalidate form 2018-04-11 11:42:53 +03:00
Jaex e2ebf2afc3 Holding Ctrl will ignore shape intersection that way user can draw rectangle inside rectangle without select it 2018-04-09 12:10:19 +03:00
Jaex bc0918337d NuGet update, rename few classes 2018-04-08 12:12:52 +03:00
Jaex 6185385c9b Move ScrollbarManager to ShapeManager 2018-04-03 23:46:38 +03:00
Jaex a36b948fa1 #3221: When focus lost stop updating image editor form 2018-04-03 01:43:10 +03:00
Jaex 6b4a7002f3 Added confirmation message box for unsaved changes when user close image editor by pressing X button, Esc key or right click 2018-03-27 17:35:00 +03:00
Jaex a68245bffd Removed region capture F1 tips, removed unused region capture simple annotate form 2018-03-26 18:31:48 +03:00
Jaex f527bbf715 Removed WASD support because it conflicts with tool keybinds 2018-03-26 16:21:39 +03:00
Jaex 56365e3845 Added keybinds for image editor tasks 2018-03-26 16:18:35 +03:00
Charles Milette a893f905dd
Add more shortcuts 2018-03-25 15:23:17 -04:00
Charles Milette 85353751bd
Add greenshot-like shortcuts to the region capture mode and image editor 2018-03-25 11:00:16 -04:00
Jaex c15204caa5 Add Blob Emoji folder to initial config 2018-03-16 22:58:51 +03:00
Jaex 4519630950 Fix dialog related issues 2018-03-16 22:46:34 +03:00
Jaex c33bc4844f CodeMaid cleanup 2018-03-01 01:52:11 +03:00
Jaex 8f81068e07 Holding ctrl while using image file tool will use last image file instead of opening file dialog 2018-02-22 13:27:54 +03:00
Jaex 8311c79ba8 Ignore region hover in sticker tool 2018-02-22 02:44:25 +03:00
Jaex 677ed9f95d Holding ctrl while using sticker tool will use last sticker instead of opening sticker picker 2018-02-22 02:11:18 +03:00
Jaex 636c57f071 In image editor clipboard paste also gonna support image files 2018-02-15 14:27:25 +03:00
Jaex 586bebf336 Hide shadow color when not useable 2018-02-15 00:52:07 +03:00
Jaex 3467f36b8d Added quick sticker mode 2018-02-15 00:04:00 +03:00
Jaex 40afd4a59f Round image resize values 2018-02-12 16:12:26 +03:00
Jaex db98bf7321 Keep aspect ratio while resizing sticker 2018-02-08 11:16:19 +03:00
Jaex db1c8c978b UpdateStickerPacks changes 2018-02-07 15:15:20 +03:00
Jaex 7b6b40d112 Remember selected sticker pack 2018-02-07 15:03:45 +03:00
Jaex fa04134a00 Sticker pack form is now functional 2018-02-07 14:22:47 +03:00
Jaex 025d0ccbe7 Adding sticker pack form 2018-02-07 14:09:28 +03:00
Jaex ee96cd98fb Move sticker with arrow keys instead of resizing it 2018-02-07 13:50:58 +03:00
Jaex 0bed292339 Allow double click sticker edit 2018-02-07 13:45:56 +03:00
Jaex 9536a37dbc Added sticker packs option 2018-02-06 13:16:42 +03:00
Jaex 7f5d448c4c Use ImageEditorInterpolationMode.NearestNeighbor for sticker 2018-02-06 12:59:10 +03:00
Jaex 4e7b076719 Remember sticker size 2018-02-06 12:39:42 +03:00
Jaex 44a6a884be Added sticker icon 2018-02-06 11:32:13 +03:00
Jaex 026e2fa9c9 Added sticker tool 2018-02-06 11:25:15 +03:00