Commit graph

520 commits

Author SHA1 Message Date
Jaex df3b8b4a59 Removed annotation enabled setting because it is possible to configure each mouse button actions now 2016-06-17 21:31:12 +03:00
Jaex 5bab479325 Added configurable mouse click actions for region capture 2016-06-13 19:48:41 +03:00
Jaex b10eba0950 Hold Alt to resize from bottom right corner 2016-06-12 20:04:06 +03:00
Jaex b09576ddfe Update region capture tips 2016-06-12 19:32:33 +03:00
Jaex 1cd5ce9956 Merge pull request #1633 from Shadorc/master
Update French translation
2016-06-12 14:37:53 +03:00
Jaex f0876a151c Mouse 4 click will swap shape type too 2016-06-12 14:37:03 +03:00
Shadorc a7a31548ef Update French translation 2016-06-12 13:34:01 +02:00
Jaex dd746bf6e1 Remember last region and annotation tool, also open region capture with last region tool selected 2016-06-12 14:28:01 +03:00
Jaex 3f2a15ded9 Use home button for left top resizing, end button for right bottom resizing 2016-06-12 13:48:56 +03:00
Jaex 040445791d Swap tab button with alt for resize location 2016-06-12 13:42:09 +03:00
Jaex f025d32c06 "Tab" button will swap between last region tool and last annotation tool 2016-06-12 12:52:47 +03:00
Jaex d254bb3613 Added minimum rectangle size 3 to rectangle region transparent too 2016-06-11 15:18:38 +03:00
Jaex 5d1a53063a fixed #1620: Added minimum size 3 for rectangle region light 2016-06-11 14:57:54 +03:00
Jaex a14aef320e Without dash style draw speed increases greatly for snap lines 2016-06-11 13:54:19 +03:00
Jaex 0f9ee0be33 Swap ctrl and shift actions for selected shape moving/resizing that way it will be consistent with create moving hotkey (ctrl when creating shape) 2016-06-11 13:38:47 +03:00
Jaex ba04944c9e When region capture form focus lost disable modifier actions 2016-06-11 13:34:27 +03:00
Jaex 6dbcae7b42 Removed CurrentPosition variable, using shape.EndPosition instead 2016-06-11 13:28:59 +03:00
Jaex da5f614273 Removed PositionOnClick variable, using shape.StartPosition instead 2016-06-11 13:23:02 +03:00
Jaex 70d959da89 Added shape move support when creating (hold ctrl when dragging region) 2016-06-11 12:48:58 +03:00
Jaex ad21a0bad2 Fix double click empty area issue 2016-06-10 16:54:54 +03:00
Jaex d48913093c If current shape and hover area is not valid then cancel shape 2016-06-09 03:33:12 +03:00
Jaex f8d4eb2220 resx updates 2016-05-30 10:04:07 +03:00
Jaex 1050a6c583 Added Intersects method to BaseShape 2016-05-29 13:10:48 +03:00
Jaex 39dfd0cc88 Disable annotation hotkeys in non annotation mode 2016-05-26 23:55:10 +03:00
Jaex 8688e9e0d7 Added IgnoreSeparatorClick extension for context menu strip, using it on annotation context menu 2016-05-26 03:18:13 +03:00
Jaex 3d8c76b493 Escape will close context menu in key up so form won't receive it 2016-05-26 02:40:44 +03:00
Jaex 55cda0b140 Added show tips to options menu 2016-05-25 23:07:34 +03:00
Jaex 3604a1a48a Added hotkey for step label 2016-05-25 23:04:46 +03:00
Jaex 4db775f8e0 Decrease font size for 3 digits step label 2016-05-25 22:34:30 +03:00
Jaex e23f10deb2 Use border color for step label text color 2016-05-25 22:29:25 +03:00
Jaex 1b67c9e2b9 Show nodes for fixed size region too 2016-05-25 21:42:46 +03:00
Jaex a87b4d48a4 If fixed size and region mode then show hover area for fixed size 2016-05-25 21:23:02 +03:00
Jaex dda1f78f36 Added fixed size mode to options menu 2016-05-25 20:56:27 +03:00
Jaex b2bc0a634d Changed step label font because with Arial text was not centered correctly 2016-05-25 00:11:24 +03:00
Jaex cb7a621b73 Replace all string.Empty with "" 2016-05-24 21:15:45 +03:00
Jaex add923d914 Use int instead of float for nodes 2016-05-24 20:31:40 +03:00
Jaex 13bde6b875 Snap line to every 45 degrees 2016-05-24 01:30:23 +03:00
Jaex 9f7f66d56e Use checked bold renderer in region capture menu 2016-05-24 00:49:27 +03:00
Jaex 3201c05643 Arrow will inherit Line, Text will inherit Rectangle 2016-05-23 19:34:41 +03:00
Jaex e98ef03b9e Line and arrow IsValidShape override 2016-05-23 19:18:09 +03:00
Jaex 8af49b0a51 Added default colors for step tool 2016-05-23 18:31:22 +03:00
Jaex ebdcc7273d Fit two digit numbers to step label 2016-05-23 02:53:10 +03:00
Jaex c7a7a45fe4 Don't show hover with line, arrow, step tools 2016-05-23 02:30:25 +03:00
Jaex 6fdf5eee97 Move shape rectangle validation to BaseShape 2016-05-23 02:18:29 +03:00
Jaex 5271a82b3f EndRegionSelection improvements to fix hover issues 2016-05-23 01:42:52 +03:00
Jaex eb8a9e5a90 Order step shapes before draw 2016-05-22 23:43:19 +03:00
Jaex b131585a9d Step label create with default size and move it 2016-05-22 23:19:13 +03:00
Jaex 70300cdd8f Adding step drawing 2016-05-22 22:19:25 +03:00
Jaex 63c685bf1d Use anti aliasing for text drawing 2016-05-22 22:11:34 +03:00
Jaex 1a7379cc03 Add mouse wheel tip 2016-05-21 17:23:02 +03:00
Jaex c3ce5da6b8 Show cancel capture tip when creating region too 2016-05-21 16:30:29 +03:00
Jaex 1233a7e29c Removed DrawFinal from BaseDrawing, renamed Draw to OnDraw 2016-05-21 15:26:49 +03:00
Jaex ea9f3f2312 Change default text colors 2016-05-21 01:20:56 +03:00
Jaex d4aadafd58 Text color settings independent from other shapes now 2016-05-21 00:56:18 +03:00
Jaex ec18026d9c Added UpdateContextMenu method 2016-05-21 00:31:16 +03:00
Jaex c6aa3c2ce1 Show border color, border size, fill color options for text drawing 2016-05-21 00:13:00 +03:00
Jaex 50a715daba Fix text drawing 2016-05-21 00:09:31 +03:00
Jaex de14669306 In context menu updated selected control options properly 2016-05-21 00:09:09 +03:00
Jaex fa2c5c73c3 Adding border color, border size, fill color specific to text drawing 2016-05-20 23:19:07 +03:00
Jaex 67f69559fc Don't draw text if rectangle is too small 2016-05-20 21:34:20 +03:00
Jaex fec6e8429a TextDrawingInputBox localizable 2016-05-20 20:56:04 +03:00
Jaex 6cf94d9cf8 base.UpdateShapeConfig needed in RoundedRectangleDrawingShape 2016-05-20 20:41:49 +03:00
Jaex 9e35ee9591 Created AnnotationOptions class 2016-05-20 20:34:45 +03:00
Jaex 55c3087892 Added UpdateShapeConfig method so shapes can update their own config 2016-05-20 20:01:00 +03:00
Jaex 428dabe972 Clone text options for each new text drawing and when text options changed apply it to main options 2016-05-20 19:07:29 +03:00
Jaex 110d1eede0 Allow border size 0 for fill color only shapes 2016-05-20 18:49:38 +03:00
Jaex c52eb0cdc8 Don't save text inside options 2016-05-20 18:45:55 +03:00
Jaex e0dc853c6f Trigger shape created on hover creation 2016-05-20 18:33:23 +03:00
Jaex 26f2b99d71 Save text drawing options 2016-05-20 18:20:43 +03:00
Jaex cfcb879172 If text color not visible in white background then use dark gray background color 2016-05-20 17:48:01 +03:00
Jaex b47a69c8bb Removed cancel button because options class edited directly now, assign style checked states 2016-05-20 17:23:11 +03:00
Jaex 93caa9a549 Created TextDrawingOptions class 2016-05-20 17:11:48 +03:00
Jaex 42cd1e36a5 Added horizontal and vertical alignment options to text drawing 2016-05-20 16:44:56 +03:00
Jaex eb533343b8 Added hotkey for text drawing 2016-05-20 15:42:21 +03:00
Jaex 60016ecd9f Added font selection to input box 2016-05-20 03:47:04 +03:00
Jaex 54d4633f0f Added bold, italic, underline options to input box 2016-05-20 02:53:45 +03:00
Jaex 29189deb38 Added custom input box for text drawing 2016-05-20 01:57:49 +03:00
Jaex f2c7257a36 Use border color for text color, before double click event stop moving 2016-05-20 01:30:20 +03:00
Jaex 18dc27b166 Added text drawing support to region capture 2016-05-20 01:13:19 +03:00
Jaex 8d3bb831da Middle click to cancel capture 2016-05-19 18:32:25 +03:00
Jaex 858ef85a4d Slight arrow image change 2016-05-19 18:15:53 +03:00
Jaex dab01f00b4 Blur, pixelate, highlight changes to improve visibility of region 2016-05-19 17:44:32 +03:00
Jaex df60c24b0e Added fading text animation for current shape type change 2016-05-18 13:35:17 +03:00
Jaex 00bc51eccb Fix mouse wheel magnifier change 2016-05-18 12:12:05 +03:00
Jaex 941dfee3ea Removed unused DrawBorder option 2016-05-16 12:48:53 +03:00
Jaex 4e05c6748b Ctrl + mouse wheel will change magnifier pixel count 2016-05-16 11:55:32 +03:00
Jaex 11c6f43f9e If not AnnotationEnabled then right click should also delete intersect shapes 2016-05-16 11:06:13 +03:00
Jaex 4c3f0efd1f Moved all region capture related helpers to RegionCaptureHelpers class 2016-05-15 10:34:02 +03:00
Jaex 8ddf91f57c Renaming and tidying region capture codes 2016-05-15 10:12:53 +03:00
Jaex a57be07c66 Capture fullscreen inside region capture prepare method and dispose that image when form disposed 2016-05-15 09:49:24 +03:00
Jaex e639111778 Added AnnotationEnabled setting so people can disable it to get old behavior 2016-05-14 12:19:31 +03:00
Jaex 2913b4b781 Added RectangleRegionMode 2016-05-14 11:58:24 +03:00
Jaex 2eaf62b83d Added AnnotationEnabled property to region form so in non region capture tasks right click won't open menu and instead close form 2016-05-14 10:03:16 +03:00
Jaex ecd9cdcb59 Improvements to main window capture icons, removed unused icons 2016-05-11 23:56:23 +03:00
Jaex d1140b6b15 Update fullscreen icon 2016-05-11 23:28:30 +03:00
Jaex 03e0a59a5d Added remained icons 2016-05-11 23:16:34 +03:00
Jaex 82f798e538 Adding icons to menu 2016-05-11 22:12:34 +03:00
Jaex 5b3b7636e9 Added delete selected and delete all to context menu 2016-05-11 20:16:29 +03:00
Jaex 572868bd02 GetOutputImage moved inside ShapeManager 2016-05-11 01:38:35 +03:00
Jaex 0ddc63a670 Fix output image 2016-05-11 01:25:07 +03:00