Commit graph

306 commits

Author SHA1 Message Date
Jaex 1d9b1a07c8 Added faster pixelate method 2016-11-13 16:59:06 +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 fc1e464e50 Remember menu state option also gonna remember collapsed state of menu 2016-10-13 11:47:26 +03:00
Jaex f94ec6d6b9 Update icons 2016-10-13 10:36:25 +03:00
Jaex c8ac26d8dd Change tooltip times 2016-10-12 11:17:01 +03:00
Jaex 47899781d9 Activate curve drawing only when center node dragged once that way if center node is not dragged then it will work same as before 2016-10-11 14:52:08 +03:00
Jaex c43ccd9ac5 Adding curve drawing support to line and arrow tools 2016-10-11 14:28:22 +03:00
Jaex b3261335f9 Added fade in animation support to TextAnimation 2016-10-07 01:20:35 +03:00
Jaex 610e5d5791 Make grip spacing equal 2016-10-05 23:30:03 +03:00
Jaex 83f1909eef Fix visual problem of toolstrip drop down menus and corners 2016-10-05 23:22:57 +03:00
Jaex 48f4ec9056 In menu form handle esc press 2016-10-05 22:32:01 +03:00
Jaex 407b8e231c Added remember menu position setting 2016-10-05 18:37:11 +03:00
Jaex 640a4b67d0 Right clicking menu grip will collapse menu 2016-10-05 16:00:33 +03:00
Jaex d1d6ef0513 Fix weird incorrect menu position problem 2016-10-05 01:40:22 +03:00
Jaex 3f5f01804e Move highlight color to menu too 2016-10-05 01:05:55 +03:00
Jaex cdd85e2354 Move color options to menu 2016-10-04 20:38:30 +03:00
Jaex 825d46f69b Show size cursor when hovered menu drag labels 2016-10-04 19:24:29 +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 2041cbb62c Make child form TopMost 2016-10-03 17:24:12 +03:00
Jaex ed7a5e2abe Delete OpenOptionsMenu method 2016-10-03 16:50:43 +03:00
Jaex 4e66c387b2 ToolStrip high DPI support 2016-10-03 16:10:30 +03:00
Jaex c5a1426853 Capture button not exists in editor mode 2016-10-03 15:21:59 +03:00
Jaex ce51a63586 Added capture region button if multi region is enabled and there is regions on screen 2016-10-03 15:13:53 +03:00
Jaex e32d8d6fc4 Move capture buttons to sub menu to save space because capture buttons not frequently used 2016-10-03 14:56:30 +03:00
Jaex e1efffa9a5 Fix multi monitor menu location 2016-10-03 14:31:23 +03:00
Jaex 892deb11fa fixed #1969: In freehand region if there is only two points then use AddLine instead of AddPolygon 2016-10-03 00:50:51 +03:00
Jaex d71c2c62e5 Make sure tooltips close when button become disabled 2016-10-02 21:58:37 +03:00
Jaex 0a6cdb3f27 Show tooltip for all ToolStripItems which have text 2016-10-02 19:08:45 +03:00
Jaex e9f5ea2694 Added custom tooltips for tool menu 2016-10-02 19:01:55 +03:00
Jaex 75cd1e5d20 UpdateMenu on shape delete 2016-10-02 16:47:26 +03:00
Jaex 5f25be3e2c Replace delete current object button with undo object button because user can delete object using right click anyway 2016-10-02 16:29:37 +03:00
Jaex 5600d69936 Only limit menu position if menu width smaller than screen width 2016-10-01 19:08:08 +03:00
Jaex df9a99b264 Don't allow menu to be moved outside screen bounds 2016-10-01 18:55:59 +03:00
Jaex 2a28884d8a Don't show region separator in editor mode 2016-10-01 16:41:17 +03:00
Jaex f39c309664 Removed close button from menu because right click more easier 2016-10-01 15:21:48 +03:00
Jaex b7bdd40115 Add separator between region and drawing tools 2016-10-01 14:19:53 +03:00
Jaex 56cf767ab7 If screen smaller than toolbar width then move menu to top left corner 2016-10-01 14:13:54 +03:00
Jaex 10227b3aca On startup activate parent form so key input won't go to menu 2016-10-01 14:00:15 +03:00
Jaex c4725ec668 Remove tool text animations because not necessary anymore 2016-10-01 12:51:16 +03:00
Jaex e62634a5e8 Position toolbar to active monitor top center 2016-10-01 12:28:37 +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 8fd061e4c8 Fix blur, pixelate and highlight to crop only inside image rectangle 2016-09-05 19:55:36 +03:00
Jaex e4d388c61f Use Move to shift all shapes, override move method to move speech balloon tail 2016-09-05 19:27:35 +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 3132461219 Fix line, arrow anti aliasing issue when doing horizontal or vertical lines 2016-09-03 12:06:51 +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 1d24e205b2 Use AddPolygon method instead of AddLine loop 2016-09-02 20:02:06 +03:00
Jaex 749bf6e3f0 Use DrawLines method instead of AddLine loop 2016-09-02 19:53:53 +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 d3271e597b Added shape category 2016-09-02 10:09:24 +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 b0b4cf86d2 Store tail position separately 2016-08-31 03:14:24 +03:00
Jaex 9e645c07fb Instead of using static tail width for speech balloon, using multiplier so it can scale correctly 2016-08-31 02:45:15 +03:00
Jaex e14b6f20ea Fix border issue 2016-08-25 02:57:02 +03:00
Jaex 3eb7ffbea8 Show tool options for speech balloon 2016-08-25 02:01:07 +03:00
Jaex 6c29817c50 Handle speech balloon border drawing issues 2016-08-24 22:18:54 +03:00
Jaex 146f6eca53 Added speech balloon icon 2016-08-24 21:00:19 +03:00
Jaex 053745a66b Only draw tail if it is required 2016-08-24 20:11:09 +03:00
Jaex ee5849ec53 Clip balloon rectangle while drawing tail 2016-08-24 19:50:27 +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 141993b5db Adding SpeechBalloonDrawingShape interim commit 2016-08-24 18:34:02 +03:00
Jaex 25460cb4b9 Added ShowNodes virtual function to BaseShape instead of using ShowResizeNodes property 2016-08-24 16:59:53 +03:00
Jaex 5b7cd4063d Show nodes for image and text drawing OnCreating 2016-08-24 16:41:40 +03:00
Jaex 4577ac9673 Ignore extra node in BaseShape 2016-08-24 16:29:50 +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 029d63f457 Use round cap for line drawing 2016-08-19 07:55:47 +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 b6a54e0979 Use LineJoin.Round in freehand pen 2016-08-17 02:47:32 +03:00