Commit graph

646 commits

Author SHA1 Message Date
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
Jaex 4cdf93b755 Interim work for sticker form 2018-02-06 03:15:06 +03:00
Jaex 38897b6a53 Added shadow color option 2018-01-30 20:14:28 +03:00
Jaex 543203eb29 Remember image effects in editor 2018-01-21 13:12:32 +03:00
Jaex 7c019a19ec Allow to cancel image effects dialog from editor 2018-01-21 01:40:38 +03:00
Jaex b9387701cf fixed #2660: Added "Add image effects" button to image editor menu 2018-01-20 00:36:05 +03:00
Jaex afa273d884 fixed #3074: First crop then apply shapes 2018-01-14 01:17:05 +03:00
L1Q 9ac637242c Improve localization support
Add to resx:
- ImageEditorInterpolationMode enum
- Cplipboard image notice text
- Image editor toolbar items

Move OCR attribution notice to back to prevent overlapping
2018-01-13 15:43:06 +02:00
Jaex 232fe756da Inherit ImageDrawingShape in other image drawing shapes 2018-01-09 15:15:57 +03:00
Jaex d013b862ed Pause editor form before opening dialogs 2018-01-09 13:00:56 +03:00
Jaex 402c57e952 Change default interpolation mode for performance reasons 2018-01-06 08:48:34 +03:00
Jaex 9d74081df5 Fix image pixel offset 2018-01-06 08:37:18 +03:00
Jaex 95ca97b4f0 Added image interpolation mode option to image editor 2018-01-06 08:30:04 +03:00
Jaex b463a16567 Update year 2018-01-01 17:59:14 +03:00
Jaex cc3a22465d fixed #3039: Added "Insert image from screen" button to editor image menu 2017-12-31 21:39:13 +03:00
Jaex eaad524a89 Show area info text in crop tool 2017-12-31 01:57:13 +03:00
Jaex 2a524e961e Fixed node hover issue 2017-12-27 23:07:54 +03:00
Jaex 4971d98b45 Added step label use letters option 2017-12-27 17:48:51 +03:00
Jaex 08579e83bd Use form for ShowDialog 2017-12-26 16:54:10 +03:00
Jaex 4f307fce28 Show new image form in startup form 2017-12-26 16:40:36 +03:00
Jaex 54b8d85e87 If editor image is null then show new image dialog 2017-12-25 19:48:41 +03:00
Jaex b4d512374b Draw cross center of crop tool area 2017-12-25 13:37:25 +03:00
Jaex cabab93b05 Added "Crop image" button to editor image menu 2017-12-25 13:00:15 +03:00
Jaex 6e724169cc Added "Insert image" button to editor image menu 2017-12-25 12:18:04 +03:00
Jaex 79fcdf9325 Fix null exception 2017-12-25 10:20:21 +03:00
Jaex 8089aab59c Fix wrong variable name 2017-12-25 09:42:59 +03:00
Jaex 193ec68ad5 Update save image button after change file path 2017-12-25 09:40:32 +03:00
Jaex aace649381 Added "Open image" button to editor image menu 2017-12-24 22:04:12 +03:00
Jaex a34c2087ea Remember new image dialog options 2017-12-24 21:13:06 +03:00
Jaex 5d94a9a6dd Added "New" button to editor image menu 2017-12-24 21:02:08 +03:00
Jaex e3d26cb96f Skip crop tool in region capture 2017-12-24 17:54:39 +03:00
Jaex 9a8d8f0fc5 Added "Auto close editor on task" option 2017-12-24 12:01:16 +03:00
Jaex 865fd0bcf9 #3008: Added image editor events 2017-12-17 10:30:39 +03:00
Jaex 4f1b2f16c0 Use darker button color for depth color instead of black 2017-12-17 08:56:58 +03:00
Jaex 1b5f446a6d Added MouseEnter, MouseLeave events to DrawableObject, show hand cursor for buttons 2017-12-15 03:32:41 +03:00
Jaex f2bb4d7f6f If crop buttons out of client area then move them to inside crop rectangle 2017-12-13 23:03:06 +03:00
Jaex 0f23bf1018 Fixed rectangle limit 2017-12-13 02:22:24 +03:00
Jaex 91f203cd35 Limit crop rectangle to inside canvas 2017-12-13 02:02:00 +03:00
Jaex 8eaa3b198e Auto crop won't automatically crop without user confirmation 2017-12-13 01:19:52 +03:00
Jaex 4fb70e864a Added button hover state 2017-12-13 00:37:38 +03:00
Jaex adb2fdc713 Move confirm button to left, wider buttons 2017-12-12 20:18:43 +03:00
Jaex e7d3aabb2a Added crop cancel button 2017-12-12 20:06:06 +03:00
Jaex 2c4943234f Added mouse events to DrawableObject, if object clicked then handle mouse input, crop confirm button works now 2017-12-12 19:12:25 +03:00
Jaex e1a86be0fa Moved DrawableObjects to ShapeManager, adding confirm button to crop tool 2017-12-12 18:50:02 +03:00
Jaex b6755df7af Added BaseTool which will limit only single tool to be visible on screen and auto clear it when changing tool 2017-12-12 18:17:38 +03:00
Jaex 439ce0c2ed Change font size unit 2017-12-07 23:21:55 +03:00
Jaex d37fc01726 Added font size option to step tool 2017-12-07 23:17:36 +03:00
Jaex b86a9d6bcc Added resampling option to image size dialog 2017-12-06 10:05:17 +03:00
Jimin Park 0dfd2dd40d Modified and added some Korean Translations
Also moved two Editor UI literals into a resx file.
2017-12-06 00:44:38 +09:00
Jaex 57302f58bf Use Click event instead of MouseDown 2017-12-01 11:08:32 +03:00
Jaex de420e7319 Added paste button to image editor edit menu 2017-12-01 10:58:53 +03:00
Jaex fd5bdaa9ea fixed #2963: Make sure to set initial size on shape paste so proportional resizing can work 2017-12-01 09:33:08 +03:00
Jaex 3215de1fda fixed #2757: Added auto crop image support to image editor 2017-11-28 22:10:45 +03:00
Jaex a74d510365 Show image pan tip in image editor until first time panned 2017-11-24 17:07:39 +03:00
L1Q 7398833c2d Improve translation support
- "Editor start mode"
- ImageEditorStartMode enum
2017-11-21 12:22:55 +02:00
Jaex 96b1301e3f Don't use proportional resizing for side nodes 2017-11-20 22:31:53 +03:00
Jaex 64cdf85b8d Revert position assignment 2017-11-20 22:31:16 +03:00
Jaex 8d41315c47 Added proportional resizing with resize node support 2017-11-20 21:25:18 +03:00
Jaex 1ba381e251 Interim commit for proportional resizing with resize node 2017-11-20 20:57:47 +03:00
Jaex 68b62f7bde When canvas modified update effect cache 2017-11-18 19:09:10 +03:00
Jaex 7b4204df10 If shape deleted when processing then queue dispose to be executed after processing is finished 2017-11-18 12:33:51 +03:00
Jaex baf77a4069 Make sure effect only cached when all arrow keys released and make sure to not cache when moving with mouse 2017-11-18 11:35:19 +03:00
Jaex 782099c5c8 Avoid effect flicker when moving with keyboard 2017-11-18 10:49:46 +03:00
Jaex 5d1c347644 Fix cache related issues 2017-11-18 10:04:13 +03:00
Jaex 011b587cec Keyboard shape movement also gonna use real time effect preview now 2017-11-17 19:47:11 +03:00
L1Q 87a0c958cf Queue ClearCache 2017-11-17 18:15:20 +02:00
Jaex 8e671348ae Queue processing if it is requested while already processing 2017-11-17 18:50:14 +03:00
Jaex 7f90c61a9d Improvements to async effect processing 2017-11-17 17:57:15 +03:00
Jaex 7df6f6c4f5 Implementing async image effect processing for image editor 2017-11-17 16:35:59 +03:00
Jaex 5aefb10de4 Refactor effect shapes 2017-11-16 16:00:11 +03:00
Jaex b73ac79e4d Fix line panning 2017-11-16 13:42:13 +03:00
Jaex 165548f376 Use Points in arrow drawing shape too 2017-11-16 12:40:56 +03:00
Jaex d8cf9f1d17 Fix resize node issues 2017-11-16 12:21:05 +03:00
Jaex 920916c4ff Line drawing shape refactoring 2017-11-16 11:47:26 +03:00
Jaex 20fe02f41c More rectangle usage 2017-11-16 09:36:21 +03:00
Jaex 6a072fa079 Set rectangle instead of start/end positions 2017-11-16 09:02:27 +03:00
Jaex 7766ba374e Rectangle will also set start and end positions 2017-11-15 09:54:19 +03:00
Jaex 59f17da0a8 Show overlay when moving effect with keyboard 2017-11-15 08:48:27 +03:00
Jaex fbc335afcd Update effect cache on setting change 2017-11-15 02:37:17 +03:00
Jaex 09f6edce4a Force cached effect to be inside canvas 2017-11-14 15:27:32 +03:00
Jaex d3295a412a Fix OnDrawFinal issues 2017-11-14 15:15:28 +03:00
Jaex 18cbe0b72c Added RectangleInsideCanvas property 2017-11-14 15:05:12 +03:00
Jaex 147a4efac7 Fixed OnResizing issue 2017-11-14 14:21:36 +03:00
Jaex 13bf678f63 Added OnResizing and OnResized methods, so resize nodes can update effect cache 2017-11-14 13:55:05 +03:00
Jaex 100cc47585 Added real time blur, pixelate, highlight preview in image editor 2017-11-14 12:12:49 +03:00
Jaex 4ca85ec96f Use combo box for image editor start modes 2017-11-12 23:44:18 +03:00
Jaex 763eb85d3c TopMost false for text input form, image size form, canvas size form 2017-11-12 10:32:55 +03:00
L1Q e93c57541c Move "Editor background color" to resx 2017-11-10 03:20:52 +02:00
Jaex 69d57b07bd Only draw two arrows if two arrows not collide with each other to avoid GDI related bug 2017-11-09 19:55:37 +03:00
Jaex 2b5c9c7b11 Show editor background color on menu icon 2017-11-08 21:24:25 +03:00
L1Q 4b6d40ca20 Prevent panning from moving canvas offscreen 2017-11-08 19:09:36 +02:00
Jaex f0e5416e0d In image editor show FPS on title bar 2017-11-08 03:47:22 +03:00
L1Q b9d1b150c6 Fix image from file shape created with 0 size 2017-11-07 19:08:52 +02:00
L1Q b902e33593 Fix shapes being 1px bigger 2017-11-07 19:06:35 +02:00