Commit graph

1141 commits

Author SHA1 Message Date
Jaex
f1a5f77ccc Also hide line/arrow resize nodes 2017-05-12 10:36:20 +03:00
Jaex
ad3edb71bd If resize node collide with another node, hide them 2017-05-12 10:13:50 +03:00
Jaex
a9529b1802 Check for valid rectangle 2017-05-09 02:38:37 +03:00
Jaex
46156d612b Use ImageRectangle in CropImage method 2017-05-07 01:22:26 +03:00
Jaex
c7c44280f7 Added label and icon for "Image (Screen)" drawing tool 2017-05-07 00:34:03 +03:00
Jaex
ec86bd5bdf Added "Image (Screen)" drawing tool which allows duplicating image from screen 2017-05-06 23:53:46 +03:00
Jaex
378ae2125a Add missing WindowsStore constants 2017-05-03 16:56:11 +03:00
Jaex
c7309a442b Hide "Install recorder devices" button in Windows Store build 2017-05-03 16:48:32 +03:00
Jaex
9b1d14672f Move FFmpegOptionsForm to Forms folder 2017-05-03 11:14:55 +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
David
d435fae749 Update French Translation 2017-04-30 17:45:43 +02:00
Jaex
67a218bee9 fixed #2479: Added crop tool to annotation 2017-04-30 15:54:11 +03:00
Sneer
a7ee0cea71 Chinese update
Chinese update
2017-04-30 02:17:07 +08:00
Jaex
c58b96e088 Use static ants border instead of blinking border for non active regions 2017-04-28 07:23:20 +03:00
Jaex
e53275a3e9 URL related refactoring 2017-04-24 17:01:35 +03:00
Jaex
99cc700c7d Added WindowsStoreDebug configuration 2017-04-21 18:22:15 +03:00
Jaex
602c756a2c Added WindowsStore build configuration 2017-04-21 01:59:19 +03:00
Jaex
6cd580f627 fixed #2435: Added region capture animation option 2017-04-17 17:19:23 +03:00
L1Q
c13a2aad9b Updating russian translation 2017-04-14 03:05:49 +03:00
Jaex
47166451e6 Hover animation improvement 2017-04-07 15:09:18 +03:00
Jaex
375248790f Make toolstrip vertical space equal 2017-04-04 11:05:35 +03:00
Jaex
c553733735 Use duration in ColorBlinkAnimation 2017-04-03 14:14:06 +03:00
Jaex
77d42d6b57 Use duration instead of speed 2017-04-03 13:49:00 +03:00
Jaex
dcd99194aa Added hover region animation 2017-04-03 10:55:54 +03:00
Jaex
5ad7cabca4 Added RectangleAnimation class 2017-04-03 03:57:37 +03:00
Jaex
d5dd455498 Move animations to separate folder 2017-04-03 03:45:57 +03:00
Jaex
75918e2f97 Animation improvements 2017-04-03 03:44:03 +03:00
Jaex
c6ee8a11e7 Added animation under region capture toolbar 2017-04-02 00:56:53 +03:00
Jaex
f7c0a9f934 CodeMaid cleanup 2017-03-30 00:03:08 +03:00
Jaex
b3af07a951 Use dark background on editor mode and only draw checkers behind image 2017-03-25 00:16:44 +03:00
Jaex
18d77cfa35 Update links and credits 2017-03-24 14:41:57 +03:00
Alan Tsai
189b6dae51 [Translate]zh-Tw for Sharex.ScreenCaptureLib project 2017-03-21 23:42:12 +08:00
Jaex
bcc09ca8d6 Use correct editor mode 2017-03-18 03:07:59 +03:00
Jaex
bcc7c814ad Pressing space will also continue task 2017-03-07 19:08:05 +03:00
Jaex
55410b32ce In TaskEditor mode right click will continue task 2017-03-07 17:47:44 +03:00
Jaex
8761536fc3 Annotation task buttons works now 2017-03-07 17:27:05 +03:00
Jaex
8e31a87a46 Adding TaskEditor mode to region capture form 2017-03-07 16:49:01 +03:00
Jaex
1ade3b957c Use file name for annotation because file path empty before save image 2017-02-27 23:35:01 +03:00
Jaex
d8ab18ba42 Pressing enter will accept annotation too 2017-02-26 19:38:56 +03:00
David
9f3bcb9802 Update French Translation 2017-02-23 22:40:05 +01:00
L1Q
f73d2e85bd Updating russian translation 2017-02-23 18:31:17 +02:00
Jaex
f833bbda49 Declare default font 2017-02-22 16:30:51 +03:00
Jaex
2a7e190a83 Decrease default font size 2017-02-22 15:59:52 +03:00
Jaex
01682b0e3e Calculate proper font size for AddString 2017-02-17 23:23:19 +03:00
Jaex
b66f09f9dc Add resource text for ShapeType 2017-02-17 23:06:20 +03:00
Jaex
5ca3c3c4b5 Added cancel button to text input box and escape key will also cancel input 2017-02-17 02:37:45 +03:00
Jaex
7fe3cc777e Enter will close Text input box and Ctrl + Enter will add new line 2017-02-17 02:27:12 +03:00
Jaex
d5fd63411c Modify icon to show borders 2017-02-17 01:49:49 +03:00
Jaex
7ae251470e Change text icon colors to blue 2017-02-17 01:45:01 +03:00
Jaex
fd5ffbfab4 Added Text (Outline) to toolbar 2017-02-16 03:49:13 +03:00
Jaex
d6755cd1f9 Adding text drawing outline mode 2017-02-15 00:12:38 +03:00
Jaex
4031f2d794 Changed pencil icon 2017-02-08 14:16:40 +03:00
Jaex
4d7006b359 Update year 2017-01-11 11:39:40 +03:00
Jaex
0468bd7227 fixed #2193: Workaround to redirect keyboard input from menu form to region capture form 2017-01-10 21:56:37 +03:00
Jaex
2e4f136377 Custom arrow cap for arrow drawing tool 2017-01-05 02:12:19 +03:00
Jaex
ee5fabd6a2 fixed #2177: Removed auto close option from scrolling capture window 2017-01-02 19:44:34 +03:00
Jaex
b9f8407ea3 #2144: Work in progress simple actions edit window 2016-12-29 21:17:16 +03:00
L1Q
cc30b3143e Updating russian translation 2016-12-15 00:16:44 +02:00
Jaex
2e48e2c27a Shift+Del to delete all shapes 2016-12-14 19:38:07 +03:00
Jaex
3252d5dddb Set low latency high performance preset as default for NVENC 2016-12-02 21:44:04 +03:00
Jaex
25014f55ab Added NVENC preset and bitrate options 2016-12-02 19:35:34 +03:00
Jaex
17629d3d5d #2124: Adding H.264 NVENC & HEVC (H.265) NVENC screen recording support 2016-12-02 17:30:42 +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
3c21c208b4 Change enabled state of edit menu items automatically 2016-12-01 17:34:53 +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
b417d31c0c Show color picker crosshair by default 2016-11-30 16:01:12 +03:00
Jaex
35335e0d43 Added drop shadow option to region capture toolbar 2016-11-30 00:11:39 +03:00
Jaex
9000cf31a7 Added speech balloon shadow 2016-11-29 23:23:34 +03:00
Jaex
58a6707635 Added step & speech balloon text shadow 2016-11-29 23:06:54 +03:00
Jaex
a6192aa76a Added step shadow 2016-11-29 22:47:53 +03:00
Jaex
37c3b7aa18 Added text shadow 2016-11-29 21:48:19 +03:00
Jaex
678ef0b1b0 Added line & arrow shadow 2016-11-29 21:32:52 +03:00
Jaex
5e14b35eb7 Added freehand shadow 2016-11-29 20:02:01 +03:00
Jaex
efe88bde57 Added ellipse shadow 2016-11-29 19:52:07 +03:00
Jaex
f28e913a11 Added rectangle & rounded rectangle drawing drop shadow support 2016-11-29 19:24:41 +03:00
Jaex
ea5fd4cea1 Change default value of border size and rounded rectangle radius 2016-11-29 18:36:51 +03:00
Jaex
1dc9ce44c6 Allow higher pixelate size for one color rectangle fill 2016-11-28 16:08:17 +03:00
Jaex
06c29e2d33 Few NativeMethods changes 2016-11-21 08:37:42 +03:00
Jaex
c5687ce3dd Update menu on shape created 2016-11-19 03:03:44 +03:00
Jaex
316e9a4388 Added capture last region button to region capture menu 2016-11-19 02:36:14 +03:00
Jaex
3adc1de4e1 Change values of blur radius numeric up down to enforce odd numbers 2016-11-14 02:27:24 +03:00
Jaex
2c15b7f434 Added another box blur method 2016-11-14 02:00:55 +03:00
Jaex
56815698ec TrimTransparent methods moved to ImageHelpers class as AutoCropImage 2016-11-13 22:53:58 +03:00
Jaex
cab2ec0b2b Added fast box blur method 2016-11-13 19:33:53 +03:00
Jaex
1d9b1a07c8 Added faster pixelate method 2016-11-13 16:59:06 +03:00
Jaex
14cde29c05 ImageHelpers refactoring 2016-11-12 20:22:49 +03:00
Jaex
cefae849df Show region capture FPS in active monitor 2016-11-11 14:19:27 +03:00
Jaex
7ce22b566a Merge pull request #2042 from Shadorc/master
Update French translation
2016-11-06 07:13:11 +02:00
David
2459cf2156 Update French translation 2016-11-05 12:37:12 +01:00
L1Q
b6dc1a1708 Updating russian translation 2016-11-04 23:27:22 +02: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
466bf954a1 If image file not exists then show message box 2016-10-18 16:30:08 +03:00
Julius Vitkauskas
f008cde808 Fix trim edge checking 2016-10-16 20:51:47 +03:00
Jaex
1a097036d9 Make info text background more transparent 2016-10-16 20:00:45 +03:00
Jaex
a948c6f793 #1960: Also ignore cloaked windows in region capture 2016-10-16 01:12:15 +03:00
Alexandre Oliveira
b9de7e49f2 Update Brazilian Portuguese translation 2016-10-13 12:25:38 -03:00
Jaex
c6b4db04e0 Use blue colors on info box for consistency with menu tooltips 2016-10-13 17:11:14 +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
67e1c69631 Change default mouse actions 2016-10-01 15:33:38 +03:00
Jaex
f39c309664 Removed close button from menu because right click more easier 2016-10-01 15:21:48 +03:00
Jaex
8473342778 Edit polygon icon to look more similar to other region icons 2016-10-01 14:41:55 +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
b243116c75 Don't show region capture tips by default 2016-10-01 14:01:27 +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
d73e6beffb Remove unused RegionCaptureMenuForm 2016-10-01 10:52:14 +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
9badbe7fdb Menu designer update 2016-09-30 18:14:50 +03:00
Jaex
5f9ad5ad3b Adding region capture menu form 2016-09-30 17:48:31 +03:00
Jaex
25207ed2cf Update region capture tips 2016-09-28 00:30:41 +03:00
Jaex
844677b6b5 In editor mode move shapes to previous position after get output 2016-09-18 23:21:30 +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
1aa169fb6a Remove unused resx fields 2016-09-17 11:33:27 +03:00
Jaex
5d73236c29 Adding region capture editor events 2016-09-10 00:33:36 +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
76d4f85f5f Merge pull request #1885 from Sneer-Cat/master
Update Simplified Chinese
2016-09-08 15:49:26 +03:00
Sneer
52f3bbead6 Update Simplified Chinese 2016-09-08 15:46:17 +08: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
30ee623852 In editor mode center image to active monitor 2016-09-05 17:58:03 +03:00
Jaex
05bba15599 Added run after capture tasks button 2016-09-05 14:04:28 +03:00
Jaex
5fdf8547f2 Rename RegionCaptureHelpers to RegionCaptureTasks 2016-09-05 13:31:49 +03:00
Jaex
68d0ad1413 Use after capture tasks on annotate image result 2016-09-05 12:21:32 +03:00
Jaex
e9ad46700b Move few classes inside ScreenCaptureLib 2016-09-05 12:03:10 +03:00
Jaex
8251f7d88e In editor mode before output image move all shapes to match centered image position 2016-09-04 20:36:26 +03:00
Jaex
6bcdd1b564 RegionCaptureForm refactor 2016-09-04 20:17:09 +03:00
Jaex
a9cbc5647d Class name changes 2016-09-04 19:22:27 +03:00
Jaex
643ef4a19e Removed BaseRegionForm and moved its codes to RegionForm 2016-09-04 18:11:25 +03:00
Jaex
306c1adb2c Show checkers behind image 2016-09-04 15:51:03 +03:00
Jaex
f175960e00 Center image in editor mode 2016-09-04 15:09:24 +03:00
Jaex
8c5a07f4a8 AnnotateImage config related changes 2016-09-04 14:44:01 +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
44601e4e10 Remove unnecessary stuffs to draw fps counter faster for it to not affect fps much 2016-09-01 11:07:36 +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
d811ae9767 Include resx 2016-08-31 02:08:57 +03:00
L1Q
64782b52bb Updated russian translation 2016-08-29 11:46:29 +03:00
Jaex
e91a916677 Move FFmpegDownloader to MediaLib 2016-08-27 19:51:20 +03:00
Jaex
6f91a6c629 Ignore key timer for Esc in region capture 2016-08-25 16:32:45 +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
Sneer
128b42f319 Update Simplified Chinese 2016-08-25 06:15:06 +08: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
28502fdc50 fixed #1818: Handle invalid font and reset to Arial 2016-08-24 17:24:21 +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
94d1ee5c41 Pressing Ctrl + Enter will accept text in text drawing input box 2016-08-24 16:18:00 +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
394aa60699 Added RegionCaptureOptions parameter to each function in RegionCaptureHelpers class 2016-08-22 22:39:38 +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
168e57c96b Remove unused classes 2016-08-17 09:27:59 +03:00
Jaex
b6a54e0979 Use LineJoin.Round in freehand pen 2016-08-17 02:47:32 +03:00
Jaex
952312662e If freehand only have one point then draw ellipse to that point using border size 2016-08-17 02:41:13 +03:00
Jaex
51d72b6a4e Use round caps for freehand pen 2016-08-17 02:33:53 +03:00
Jaex
ff629719ea Added undo and fps tips 2016-08-17 00:15:08 +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
4b0a323c9c Allow moving freehand drawing 2016-08-15 03:55:44 +03:00
Jaex
cc4d9c4bcc Update tips for freehand drawing 2016-08-15 03:47:54 +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
Jaex
937643a8a6 fixed #1776: Added Q key bind to change multi region setting 2016-08-14 23:32:01 +03:00
Jaex
5b077d4871 fixed #1714: Center resize nodes to cursor that way magnifier can show exact pixel 2016-08-09 19:16:48 +03:00
Jaex
2537316a33 Using expression bodies in few properties 2016-08-09 01:24:17 +03:00
Jaex
ecbd01a923 Store hover area as BaseShape to be able to hover freehand etc. properly 2016-08-09 01:05:01 +03:00
Jaex
14ecc618e9 Added IsRegionShape to BaseShape 2016-08-09 00:15:52 +03:00
Jaex
36b460dfda Added AddRoundedRectangleProper extension 2016-08-08 21:59:09 +03:00
Jaex
2d6853029c Fix rounded rectangle region 1 off issue 2016-08-08 21:31:07 +03:00
Jaex
90307fe841 Region capture F1 tips update 2016-08-08 12:00:06 +03:00
Jaex
4eee080b59 On freehand region & step drawing resize call move method so arrow keys can move without require holding ctrl key 2016-08-08 11:46:45 +03:00
Jaex
e07351fc6c Resize line from end position by default 2016-08-08 11:44:03 +03:00
Jaex
fac18cb04e Removed polygon capture because region capture freehand can work same when shift hold 2016-08-06 17:23:54 +03:00
Jaex
c62e374620 Don't show snap areas on freehand region 2016-08-06 16:53:29 +03:00
Jaex
08d1d85df8 Removed NodeType, Changed ShowNodes to FixedSize 2016-08-05 17:20:08 +03:00
Jaex
05490a90e5 Added ShowNodes property so shape can disable nodes 2016-08-05 16:48:46 +03:00
Jaex
5829085cb6 Moved node logic to BaseShape 2016-08-05 16:35:44 +03:00
Jaex
282d543a91 Removed NodeManager and moved its codes to ShapeManager for preparation to have node logic inside BaseShape 2016-08-05 16:17:53 +03:00
Jaex
4d01f94cb7 Start resizing from bottom right instead of top left 2016-08-05 15:24:29 +03:00
Jaex
0834ca540c Make ShapeManager and NodeManager internal 2016-08-05 15:10:05 +03:00
Jaex
1409c72716 Rename ResizeManager to NodeManager 2016-08-05 14:43:57 +03:00
Jaex
2622c2469c Move key move/resize methods to ShapeManager from ResizeManager, Removed Show/Hide methods from ResizeManager instead using Visible property 2016-08-05 14:37:20 +03:00
Jaex
7be1c5e519 Move/resize key code changes to be more easily understandable 2016-08-05 13:44:47 +03:00
Jaex
883f725d80 Added node to last point of freehand region to be able to continue drawing 2016-08-05 13:13:16 +03:00
Jaex
7ac883e8b9 Allow moving all freehand points while creating it using ctrl 2016-08-05 11:43:52 +03:00
Jaex
d33b19e3c7 When region capture opened show current region shape type 2016-08-04 14:18:21 +03:00
Jaex
a51c132828 If shift hold when creating first point then create two points that way polygon mode can create line 2016-08-04 13:37:57 +03:00
Jaex
3b2d2d3045 When shift pressed create new point once to move for polygon mode 2016-08-04 13:19:42 +03:00
Jaex
1315f47340 When drawing freehand region you can hold "Shift" to draw direct lines which will act like polygon region 2016-08-04 04:13:57 +03:00
Jaex
efa8704879 CloseFigure already adds line from end to start so no need to add it manually 2016-08-04 03:07:00 +03:00
Jaex
a89a58cf34 Revert "Removed freehand region form"
This reverts commit d94e714479.
2016-08-03 12:51:16 +03:00
Jaex
f95afed046 Ignore region freehand for hover 2016-08-03 12:31:15 +03:00
Jaex
881a3c22da Don't allow freehand resize 2016-08-03 12:19:01 +03:00
Jaex
eacac76a75 Shape resize logic moved to BaseShape from ResizeManager 2016-08-03 12:15:26 +03:00
Jaex
4dbaa392e6 Override Move in freehand region shape 2016-08-03 12:08:06 +03:00
Jaex
4414ed888e Shape move logic moved to BaseShape from ResizeManager 2016-08-03 12:01:39 +03:00
Jaex
b367bcb747 Disable resize nodes for freehand region 2016-08-03 11:45:12 +03:00
Jaex
fc01094172 Added drag move support to freehand region 2016-08-03 10:09:21 +03:00
Jaex
664b8d1889 Fix freehand quick capture 2016-08-03 09:54:00 +03:00
Jaex
d94e714479 Removed freehand region form 2016-08-03 09:42:32 +03:00
Jaex
8eb62bcb0d Added resx text and icon to freehand region 2016-08-03 09:38:40 +03:00
Jaex
6358f04a31 Removed freehand capture hotkey 2016-08-03 09:32:35 +03:00
Jaex
3a7510d2a2 Calculate freehand rectangle on update, close figure on shape path requested 2016-08-03 08:59:52 +03:00
Jaex
c0ab0507f3 BaseShape refactor, shape update logic moved to BaseShape 2016-08-03 08:35:34 +03:00
Jaex
5c80ba8b94 Adding freehand region support to region capture 2016-08-03 03:48:11 +03:00
Jaex
7eaf8e3cee Dispose regionFillPath in PolygonRegionForm 2016-08-02 11:55:29 +03:00
Jaex
24ada5cc9a Apply region path to image with anti aliasing 2016-08-02 11:29:17 +03:00
Jaex
0a78019274 CodeMaid cleanup 2016-07-30 04:21:18 +03:00
Jaex
6c0849ed5d Added static parse method to CodeMenuEntryPixelInfo class 2016-07-29 20:32:01 +03:00
Jaex
35363e7ac9 Fix magnifier ellipse one off issue, set magnifier pixel size minimum 3 2016-07-27 05:23:35 +03:00
Jaex
651d1601d0 Only draw white square to center pixel in magnifier if pixel is big enough 2016-07-27 05:05:38 +03:00
Jaex
35e0a826b6 Added constant settings to RegionCaptureOptions 2016-07-27 04:56:20 +03:00
Jaex
c57c643d79 Making Screenshot class non static 2016-07-21 17:23:45 +03:00
Jaex
4ccc050e97 fixed #1716: Region capture WASD move/resize support 2016-07-17 09:25:53 +03:00
Jaex
d4a066e77a fixed #1350: Use extension to assign value to numeric up down to respect min/max values 2016-07-14 23:35:23 +03:00
Jaex
6a605705f6 Added more enum descriptions to resources 2016-07-13 19:23:34 +03:00
Jaex
7d465b00b8 Moved enum descriptions to resources 2016-07-13 19:11:47 +03:00
Jaex
abc69b51ee Added remaining strings to resources 2016-07-13 04:14:54 +03:00
Jaex
be5e42d35e Resx update 2016-07-12 03:16:53 +03:00
Jaex
aa72322c9a Don't draw square to cursor if border size is 0 2016-07-07 10:58:04 +03:00
Jaex
ff9584d613 Removed translation link 2016-07-06 12:34:25 +03:00
L1Q
e2a2ae62aa Updated russian translation 2016-07-06 06:46:41 +03:00
Jaex
a2c905a0c8 When switched to drawing mode, draw small square in cursor using border color and size 2016-07-05 08:52:49 +03:00
Jaex
f237ea6255 When drawing shape is selected show border color inside cursor 2016-07-04 14:26:19 +03:00
Jaex
37c4749cd0 Added CreateCursor method 2016-07-04 13:27:31 +03:00
Jaex
b19521bba6 Move WindowInfo to HelpersLib 2016-07-04 08:50:41 +03:00
Alexandre Oliveira
b03b3c0f32
Update brazilian translation 2016-07-01 22:46:27 -03:00
Jaex
40923d9364 Added img-load.de 2016-06-27 17:12:49 +03:00
Jaex
fa89cd660a Don't store snap distance in region capture options 2016-06-25 11:30:32 +03:00
Jaex
8926d113cc Don't store move speed in region capture options 2016-06-25 10:55:32 +03:00
Jaex
b166fe2ef6 Proper way to check snap distance 2016-06-25 10:44:39 +03:00
Jaex
e7723e48f6 fixed #1638: If double clicked in same frame was causing issue 2016-06-24 22:38:23 +03:00
Jaex
8b8eacda66 Don't close region capture when double clicked and there is no region 2016-06-24 22:09:31 +03:00
Jaex
228622a64e Add Close() after each DialogResult because otherwise form won't close if Show() used instead of ShowDialog() 2016-06-23 17:53:26 +03:00
Jaex
a60f961cce Check for palette file before start gif encoding 2016-06-23 14:34:04 +03:00
Jaex
fd9d52dc91 Adding rest of region capture settings to task settings form 2016-06-23 09:48:22 +03:00
Jaex
fefcf2cf26 In region capture menu key will open right click menu 2016-06-22 16:09:15 +03:00
Jaex
d41cc5f18f Adding region capture settings without use property grid 2016-06-22 13:15:50 +03:00
Jaex
3f68b4ea77 Use $n for new line in region capture custom info text 2016-06-22 12:09:48 +03:00
Jaex
0b71daed4e RegionCaptureOptions rename and changes 2016-06-22 10:51:57 +03:00
Jaex
1b9a39b42b Added class to temporary increase graphics quality and then restore back to previous values 2016-06-18 03:32:23 +03:00
Jaex
de55be0420 Allow drawing info near cursor even when not drawing magnifier 2016-06-17 23:58:04 +03:00
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