Commit graph

318 commits

Author SHA1 Message Date
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 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 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 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 1b5f446a6d Added MouseEnter, MouseLeave events to DrawableObject, show hand cursor for buttons 2017-12-15 03:32:41 +03:00
Jaex 8eaa3b198e Auto crop won't automatically crop without user confirmation 2017-12-13 01:19:52 +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 b86a9d6bcc Added resampling option to image size dialog 2017-12-06 10:05:17 +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
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 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 011b587cec Keyboard shape movement also gonna use real time effect preview now 2017-11-17 19:47:11 +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 d8cf9f1d17 Fix resize node issues 2017-11-16 12:21:05 +03:00
Jaex 20fe02f41c More rectangle usage 2017-11-16 09:36:21 +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 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 763eb85d3c TopMost false for text input form, image size form, canvas size form 2017-11-12 10:32:55 +03:00
L1Q 4b6d40ca20 Prevent panning from moving canvas offscreen 2017-11-08 19:09:36 +02:00
Jaex 70635461d5 Rename variables 2017-11-06 19:01:02 +03:00
Jaex e96acf05d9 Remember last editor tool separate from last annotation tool 2017-11-06 18:36:52 +03:00
Jaex 0c30cb832f Don't use static custom node image 2017-10-30 11:20:03 +03:00
Jaex 21ef3a4d1a Rename ImageRectangle to CanvasRectangle 2017-10-30 09:06:04 +03:00
Jaex f5231613b8 Fix shape move all related issues 2017-10-28 03:26:29 +03:00
Jaex a19e6afe63 Improve shape positioning for ChangeImageSize 2017-10-25 09:31:52 +03:00
L1Q ce32d0bb26 Fix ChangeCanvasSize moving shapes incorrectly 2017-10-25 09:16:29 +03:00
L1Q e802b05043 Fix crop moving shapes incorrectly 2017-10-25 09:01:59 +03:00
Jaex 6dd07cb846 Made InputManager non static 2017-10-24 00:40:37 +03:00
Jaex 009ee9d294 Initial work to convert screen rectangle and mouse position to client 2017-10-23 23:32:44 +03:00
Jaex 8dbbcad272 Added image size form 2017-10-22 02:26:47 +03:00
Jaex 46e86d91d2 Added ChangeImageSize method 2017-10-22 01:33:00 +03:00
Jaex 240a8ceb6c Added rotate and flip functions, removed RemoveOutsideShapes usage 2017-10-22 01:04:18 +03:00
Jaex da2c9844da Added canvas size form 2017-10-21 23:43:39 +03:00
Jaex 1191f1b2d5 Adding canvas size option to image annotate 2017-10-21 02:15:23 +03:00
Jaex eee34635de Show SizeAll cursor on shape move 2017-10-17 22:39:22 +03:00
Jaex fddd843f79 On crop remove outside shapes 2017-10-17 21:34:06 +03:00
Jaex 1c84e7308e When panning set SizeAll cursor 2017-10-17 17:54:19 +03:00
Jaex 096ab1c74d Small changes 2017-10-17 17:44:46 +03:00
L1Q aeec1ad4ad Fix cropping and panning at the same time
Hopefully increase performance
- not updating backgroundBrush when panning
- move backgroundBrush instead
- draw backgroundBrush ony in ImageRectangle
- clear only when ImageRectangle does not cover whole screen
2017-10-17 14:13:21 +03:00
L1Q 522b52a8f8 Add panning to image annotate 2017-10-17 02:53:54 +03:00
Jaex 4f6e969c88 Add regions to UploadersConfigForm.cs 2017-10-05 23:54:06 +03:00
Mahdi a9cb5a2346 Fixed an issue with touch screens not being able to select region/draw/select drawing correctly 2017-10-05 22:03:26 +03:30
L1Q 3841eacd2a Fix error when pressing F1 during image editing
The proper condition should've been
    if(form.IsAnnotationMode && !form.IsEditorMode)
but I guess checking for null is more robust here
2017-10-05 06:00:59 +03:00
L1Q b32ac9ab16 Fix error when pressing F1 in non-Annotation mode
tsmiTips is only initialised in AnnotationMode
2017-09-22 03:58:33 +03:00
Jaex 60aa000217 Workaround for after capture task annotate issue 2017-08-11 15:32:29 +03:00
Jaex f83816d19a Store cursor as bitmap because masking already not working 2017-07-20 23:27:03 +03:00
Jaex a4dabaea44 When cursor tool selected, show borders around all cursors to make it obvious those cursors moveable 2017-07-18 14:59:59 +03:00
Jaex 7f5b138548 #1009: Adding cursor tool to region capture toolbar which gonna allow moving/deleting cursor 2017-07-17 21:48:42 +03:00
Jaex f7bb2f8aff Limit crop and image (screen) region selection to image rectangle 2017-05-28 12:32:09 +03:00
Jaex a79f44156f Decrease quality of image rendering on region capture but use high quality while rendering output image 2017-05-24 01:53:57 +03:00
Jaex 84d8997cfd Fix crop image in multi monitor 2017-05-23 17:29:02 +03:00
Jaex 83645f5445 #2438: In region capture if result is annotated then ignore after capture task "Annotate image" 2017-05-15 19:54:04 +03:00
Jaex 46156d612b Use ImageRectangle in CropImage method 2017-05-07 01:22:26 +03:00
Jaex ec86bd5bdf Added "Image (Screen)" drawing tool which allows duplicating image from screen 2017-05-06 23:53:46 +03:00
Jaex a2e98147f2 Handle invalid FTP URL preview, update FTP account names on host text change 2017-05-02 17:03:28 +03:00
Jaex 67a218bee9 fixed #2479: Added crop tool to annotation 2017-04-30 15:54:11 +03:00
Jaex 47166451e6 Hover animation improvement 2017-04-07 15:09:18 +03:00
Jaex dcd99194aa Added hover region animation 2017-04-03 10:55:54 +03:00
Jaex 55410b32ce In TaskEditor mode right click will continue task 2017-03-07 17:47:44 +03:00
Jaex 8e31a87a46 Adding TaskEditor mode to region capture form 2017-03-07 16:49:01 +03:00
Jaex fd5ffbfab4 Added Text (Outline) to toolbar 2017-02-16 03:49:13 +03:00
Jaex 4d7006b359 Update year 2017-01-11 11:39:40 +03:00
Jaex 2e48e2c27a Shift+Del to delete all shapes 2016-12-14 19:38:07 +03:00
Jaex b74d1085f0 Added hotkey Ctrl + Shift + Del to delete all shapes 2016-12-01 18:15:45 +03:00
Jaex f8cbf0da94 Added hotkey string to remaining menu items 2016-12-01 18:11:26 +03:00
Jaex 65c2c4106d Added edit drop down menu to region capture toolbar 2016-12-01 15:24:19 +03:00
Jaex c4d7098751 Added move shape top (home), bottom (end), up (page up), down (page down) hotkeys 2016-11-30 18:51:23 +03:00
Jaex e07d4cb036 Removed rounded rectangle region and drawing instead rectangle have corner radius option
Changes to annotation options default values
2016-11-30 18:17:12 +03:00
Jaex c5687ce3dd Update menu on shape created 2016-11-19 03:03:44 +03:00
Jaex d3736e4565 Move and reorganize form events to regions 2016-11-01 16:16:44 +03:00
Jaex e2a6e5fba3 Update region capture tips 2016-10-31 14:30:05 +03:00
Jaex 9880f87fc8 Reset show tips and click action settings to new default values 2016-10-31 13:53:45 +03:00
Jaex 463a705f93 Remove custom crosshair drawing because it not working properly in high DPI and with new menu it is less useful anyway 2016-10-04 19:08:50 +03:00
Jaex ed7a5e2abe Delete OpenOptionsMenu method 2016-10-03 16:50:43 +03:00
Jaex 75cd1e5d20 UpdateMenu on shape delete 2016-10-02 16:47:26 +03:00
Jaex c4725ec668 Remove tool text animations because not necessary anymore 2016-10-01 12:51:16 +03:00
Jaex 43d5c78ae2 Added ShapeManagerMenu partial class to separate menu logic from ShapeManager 2016-10-01 10:58:59 +03:00
Jaex d3d8e2dd1c Change Enabled of controls instead of Visible, so menu size won't change 2016-10-01 10:51:11 +03:00
Jaex 3b9122b326 Auto hide shape options menu when not needed 2016-10-01 10:05:39 +03:00
Jaex 48aaa5f56e Fix toolstrip visual artifact in right side 2016-09-30 22:05:26 +03:00
Jaex 81a124453f Added custom drag grips to each side 2016-09-30 21:57:16 +03:00
Jaex eff05bc15c Rename NativeConstants class 2016-09-30 21:21:48 +03:00
Jaex 4d515d2a9e Allow dragging menu using toolstrip grip 2016-09-30 21:18:30 +03:00
Jaex ca1d2b6e38 Removed right click menu from region capture and moved all buttons to toolbar 2016-09-30 20:37:01 +03:00
Jaex a9eca34158 Added editor mode and capture buttons 2016-09-30 19:31:59 +03:00
Jaex f0f8d0711c Adding menu form inside ShapeManager 2016-09-30 19:11:59 +03:00
Jaex 5f9ad5ad3b Adding region capture menu form 2016-09-30 17:48:31 +03:00
Jaex a7b93af654 Execute editor tasks after region capture window is closed 2016-09-18 21:35:15 +03:00
Jaex ad1236b2fd Editor events working now 2016-09-18 19:05:19 +03:00
Jaex eec447e011 Interim commit for region capture editor events 2016-09-18 18:28:57 +03:00
Jaex 837db296b5 If region capture context menu closed because of right click then don't show context menu on mouse up, that way user can close context menu with right click 2016-09-09 21:14:37 +03:00
Jaex 801fbca5c3 Adding save, copy, upload, print buttons to editor mode 2016-09-07 17:28:16 +03:00
Jaex 05bba15599 Added run after capture tasks button 2016-09-05 14:04:28 +03:00
Jaex a9cbc5647d Class name changes 2016-09-04 19:22:27 +03:00
Jaex c26ea73efc Adding RegionCaptureMode.Editor which gonna allow annotating image inside region capture 2016-09-04 14:23:21 +03:00
Jaex 84b25135fb Removed corner radius setting from rectangle drawing, don't override OnDraw in rounded rectangle shape to use rectangle shape with corner radius assigned, don't show corner radius setting for speech balloon until it can be resolved 2016-09-03 11:26:02 +03:00
Jaex c483491611 Added corner radius setting to rectangle and text drawing, dynamic pixel offset mode depending on border size to fix anti aliasing issues 2016-09-02 18:48:03 +03:00
Jaex e3232dee70 Rename effect enum names 2016-09-02 09:16:52 +03:00
Jaex 9f6b3cf63a fixed #1778: Swap ctrl + mouse wheel with mouse wheel that way people can't accidentally change tool 2016-08-31 14:55:30 +03:00
Jaex 3eb7ffbea8 Show tool options for speech balloon 2016-08-25 02:01:07 +03:00
Jaex 146f6eca53 Added speech balloon icon 2016-08-24 21:00:19 +03:00
Jaex 871b583da2 Draw tail in speech balloon but still unable to figure out how to union both rectangle and tail 2016-08-24 19:23:49 +03:00
Jaex 25460cb4b9 Added ShowNodes virtual function to BaseShape instead of using ShowResizeNodes property 2016-08-24 16:59:53 +03:00
Jaex d74892f883 Added extra node to be used for speech balloon tail in future 2016-08-24 15:52:09 +03:00
Jaex b454f2e7f7 In text tool automatically resize rectangle to fit text so won't need to drag rectangle, when text input box is canceled remove shape 2016-08-24 01:04:48 +03:00
Jaex a3b8eb88a8 Added centerText parameter to SetText method 2016-08-23 21:02:52 +03:00
Jaex f432754b87 Added support to paste text with ctrl + v in region capture 2016-08-23 20:33:48 +03:00
Jaex f9ec01a2c1 If image dialog is canceled then remove image shape 2016-08-23 16:39:15 +03:00
Jaex 59f0b43c18 Change SetImage method to allow centering image to cursor 2016-08-23 16:30:59 +03:00
Jaex 8469f3065d Added OnCreating function to BaseShape 2016-08-23 16:03:48 +03:00
Jaex 603ca595c1 On image shape created or double clicked open image file dialog 2016-08-19 16:16:40 +03:00
Jaex 0b0efdc129 Added icon to image drawing 2016-08-19 13:50:52 +03:00
Jaex e60556cdaf Add enum description 2016-08-19 13:32:27 +03:00
Jaex 2a115ed205 Added IDisposable to ShapeManager and BaseShape 2016-08-19 13:22:12 +03:00
Jaex 72693d46d1 Adding image paste (ctrl + v) support to region capture 2016-08-19 12:59:46 +03:00
Jaex 0017bbfc73 Rename classes 2016-08-17 11:35:06 +03:00
Jaex c5a68e9945 Create node inside ShapeManager 2016-08-17 09:35:38 +03:00
Jaex a38c79e46c Added undo shape keybind (ctrl + z) 2016-08-15 23:48:27 +03:00
Jaex 4c3a8c3dd4 Before open options menu select intersect shape 2016-08-15 22:29:48 +03:00
Jaex 9258a20533 Show border color and size options for freehand drawing 2016-08-15 03:42:23 +03:00
Jaex 5100580601 Added icon for freehand drawing 2016-08-15 02:43:33 +03:00
Jaex 84c3a977d6 Adding freehand drawing support 2016-08-15 02:11:21 +03:00
Jaex 2497875b0a Added ShowResizeNodes to BaseShape 2016-08-15 02:02:27 +03:00
Jaex 5762b08e5e Q press will change check state of control 2016-08-15 00:58:10 +03:00