Commit graph

380 commits

Author SHA1 Message Date
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 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 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 5fdf8547f2 Rename RegionCaptureHelpers to RegionCaptureTasks 2016-09-05 13:31:49 +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 c26ea73efc Adding RegionCaptureMode.Editor which gonna allow annotating image inside region capture 2016-09-04 14:23:21 +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
L1Q 64782b52bb Updated russian translation 2016-08-29 11:46:29 +03:00
Jaex 6f91a6c629 Ignore key timer for Esc in region capture 2016-08-25 16:32:45 +03:00
Sneer 128b42f319 Update Simplified Chinese 2016-08-25 06:15:06 +08:00
Jaex 28502fdc50 fixed #1818: Handle invalid font and reset to Arial 2016-08-24 17:24:21 +03:00
Jaex 94d1ee5c41 Pressing Ctrl + Enter will accept text in text drawing input box 2016-08-24 16:18:00 +03:00
Jaex 394aa60699 Added RegionCaptureOptions parameter to each function in RegionCaptureHelpers class 2016-08-22 22:39:38 +03:00
Jaex 2a115ed205 Added IDisposable to ShapeManager and BaseShape 2016-08-19 13:22:12 +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 ff629719ea Added undo and fps tips 2016-08-17 00:15:08 +03:00
Jaex 4c3a8c3dd4 Before open options menu select intersect shape 2016-08-15 22:29:48 +03:00
Jaex cc4d9c4bcc Update tips for freehand drawing 2016-08-15 03:47:54 +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 90307fe841 Region capture F1 tips update 2016-08-08 12:00:06 +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 0834ca540c Make ShapeManager and NodeManager internal 2016-08-05 15:10:05 +03:00
Jaex d33b19e3c7 When region capture opened show current region shape type 2016-08-04 14:18:21 +03:00
Jaex a89a58cf34 Revert "Removed freehand region form"
This reverts commit d94e714479.
2016-08-03 12:51:16 +03:00
Jaex d94e714479 Removed freehand region form 2016-08-03 09:42:32 +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 c57c643d79 Making Screenshot class non static 2016-07-21 17:23:45 +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 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
L1Q e2a2ae62aa Updated russian translation 2016-07-06 06:46:41 +03:00
Jaex 37c4749cd0 Added CreateCursor method 2016-07-04 13:27:31 +03:00
Alexandre Oliveira b03b3c0f32
Update brazilian translation 2016-07-01 22:46:27 -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 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 b09576ddfe Update region capture tips 2016-06-12 19:32:33 +03:00
Shadorc a7a31548ef Update French translation 2016-06-12 13:34:01 +02: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 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 f8d4eb2220 resx updates 2016-05-30 10:04:07 +03:00
Jaex 39dfd0cc88 Disable annotation hotkeys in non annotation mode 2016-05-26 23:55:10 +03:00
Jaex 3604a1a48a Added hotkey for step label 2016-05-25 23:04:46 +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 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 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 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 55c3087892 Added UpdateShapeConfig method so shapes can update their own config 2016-05-20 20:01:00 +03:00
Jaex c52eb0cdc8 Don't save text inside options 2016-05-20 18:45:55 +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 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 df60c24b0e Added fading text animation for current shape type change 2016-05-18 13:35:17 +03:00
Jaex 941dfee3ea Removed unused DrawBorder option 2016-05-16 12:48:53 +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 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 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
Jaex c5e601a34d Added BaseEffectShape 2016-05-11 01:17:51 +03:00
Jaex 8c30b78987 Show tips in active monitor 2016-05-09 23:22:28 +03:00
Jaex fada785368 RectangleRegion Draw improvements, draw hover rectangle for drawing shapes too 2016-05-09 22:41:04 +03:00
Jaex 8289dc21ea Rename AreaManager to ShapeManager 2016-05-09 21:57:40 +03:00
Jaex 5aef55152b Added "Show FPS" to options sub menu 2016-05-08 22:23:47 +03:00
Jaex 7eaac502c7 Apply drawings to all capture methods inside region capture 2016-05-08 21:32:53 +03:00
Jaex a1175b13b6 Fix menu monitor capture 2016-05-08 19:48:15 +03:00
Jaex 81d7fddf25 Fix tips for drawing 2016-05-08 19:08:35 +03:00
Jaex d102c40ff9 Added "Square shape magnifier" to options sub menu 2016-05-08 18:58:37 +03:00
Jaex 66f88eb19e Show menu tip on top, in first menu open tip will be hidden permanently 2016-05-08 01:02:12 +03:00
Jaex 6b9d0bf379 Add context menu to surface container, update menu items on current shape style changed event so it can be updated when menu is already open 2016-05-07 23:31:43 +03:00
Jaex cd2cbbabc2 Added corner radius, blur radius, pixel size options to menu. Removed corner radius hotkey because now it is changeable from menu. Numpad hotkey changes to fit all drawings. 2016-05-07 16:24:32 +03:00
Jaex 431b733fae Give previous result to DrawOutput instead of SurfaceImage so effects can be applied to top of each other 2016-05-07 03:28:58 +03:00
Jaex d7d65a3946 Added highlight drawing 2016-05-07 03:11:31 +03:00
Jaex 7cfc326f79 Added simple blur drawing shape which renders blur only in output 2016-05-06 19:55:16 +03:00
Jaex afa3f75213 Mouse wheel will change tool type instead of changing magnifier size 2016-05-06 18:01:23 +03:00
Jaex 67643f5b0f Two point node dragging support 2016-05-06 01:52:16 +03:00
Jaex 1633d4100e Removed triangle and diamond region capture, added hotkey for rest of drawing types 2016-05-05 21:14:44 +03:00
Jaex a9b446e15e Added line drawing 2016-05-05 20:03:57 +03:00
Jaex 18feef96c7 Added arrow drawing support, it is not possible to resize with nodes yet 2016-05-05 19:43:42 +03:00
Jaex 3672146681 Resx updates 2016-05-04 17:01:03 +03:00
Jaex bda1e342f4 Added cancel capture button, menu will open centered to cursor 2016-05-04 15:53:18 +03:00
Jaex b82ec96b95 Menu will open with right click instead of space bar now, space bar will do fullscreen ss instead, right click can still cancel region drawing 2016-05-04 15:35:34 +03:00
Jaex d5c21ebdf2 Removed region capture option hotkeys because now with menu easy to change them 2016-05-04 15:18:41 +03:00
Jaex 9531740b2d Added options sub menu to region capture 2016-05-04 14:04:26 +03:00
Jaex b31d94399a Added monitor capture buttons 2016-05-04 12:32:09 +03:00
Jaex a6e840f766 Use space bar to open menu instead of mouse 3 2016-05-04 12:23:07 +03:00
Jaex 81a11f94b8 File naming changes 2016-05-04 11:28:29 +03:00
Jaex d5e1d1ef73 Added border color, border size, fill color to context menu 2016-05-03 17:29:37 +03:00
Jaex d9b606e6c0 Added shape menu to region capture window which is openable with middle mouse button 2016-05-03 16:28:15 +03:00
Jaex 7a41290dad Render drawing shapes to result image 2016-05-03 14:54:02 +03:00
Jaex a568e98617 Show nodes on drawing shapes, added border size 2016-05-03 13:48:37 +03:00
Jaex db15ee55cb Interim commit for shape drawing 2016-05-03 13:06:58 +03:00
Jaex 1672ee3f5c Region capture functionality now working same as before with new shape system 2016-05-03 12:35:10 +03:00
Jaex 43843cefc7 Replaced all index used codes with shape references 2016-05-03 11:24:01 +03:00
Jaex 109d876c41 AddShapePath function moved inside BaseRegionShape 2016-05-03 10:57:49 +03:00
Jaex 0709035daf Interim commit for region capture drawing support and shape system, currently just made it compile and will require many changes to support drawing shapes 2016-05-03 10:46:45 +03:00
Enzo 2b2fc5b697 final update! \o/ 2016-04-29 17:38:54 +02:00
Jaex 664291c696 #1487 Used SystemColors.Window in BackColor of every single form also removed BackColor Color.White usage completely in all controls 2016-04-25 21:00:46 +03:00
Jaex 83f998c576 Proper event usage in WebpageCaptureForm 2016-04-01 13:11:43 +03:00
Shadorc 7d52949b80 Update French Translation
Fix typo and add missing translations
ShareX.IndexerLib\Properties\Resources.fr.resx needs to be referenced (I
don't know how to do this sorry :( )
2016-03-26 15:36:02 +01:00
Jaex 52100685b4 WebpageCaptureForm moved to ScreenCaptureLib 2016-03-21 15:16:33 +02:00
Jaex 3455590ea5 fixed #1388: Added ForceActivate to AfterCapture and BeforeUpload forms shown event 2016-03-09 18:37:54 +02:00
Jaex 944fb121f5 fixed #1350: Added checks for every single numeric up down value assigns 2016-02-29 23:09:22 +02:00
Jaex 225b7fe3a7 Recent max count changes to fix loading incorrect amount of recent items in main window 2016-02-27 08:37:11 +02:00
Jaex fa3c84d68c Removed BaseForm.cs because it was causing bug with vs designer resx 2016-02-25 22:55:54 +02:00
Jeffiy 2e210fcf6a Update chinese translation(part 2) 2016-01-21 10:58:50 +08:00
Jaex 836bfa6b1b fixed #1258: Scrolling capture picture box issue in second capture 2016-01-18 15:43:40 +02:00