Commit graph

559 commits

Author SHA1 Message Date
Jaex b077ea9221 Added image editor auto size start mode which resizing image editor to fit image, if image is too big then window will be maximized 2017-12-03 14:40:16 +03:00
Jaex 525a603cf4 Added canvas parameter to RegionCaptureForm constructor that way no need to use Prepare method 2017-12-03 13:46:19 +03:00
Jimin Park a8e2004f9f Removed AutoscaleDimensions assigns for four fullscreen forms
This fixes the annoying incorrect capture region problem, and I think that this will not cause any significant layout problems for different DPIs.

However, while this works well on my laptop with different text scale settings, it should be checked on different computers as well.
2017-12-03 02:24:06 +09:00
Jimin Park 93ac1fc055 Added more Korean Translations for ShareX.ScreenCaptureLib 2017-12-01 21:05:32 +09:00
RedMser 1c6ab9f984 Set BackColor of all TabPages to "Window" (used to be Transparent) to fix rendering issues for certain themes. 2017-11-27 20:14:31 +01:00
L1Q 8f8a9e5a1f Translate the panning tip 2017-11-27 04:54:47 +02:00
Jaex a74d510365 Show image pan tip in image editor until first time panned 2017-11-24 17:07:39 +03:00
Jaex 4ca85ec96f Use combo box for image editor start modes 2017-11-12 23:44:18 +03:00
Jaex e08543abaf Fixed center canvas toolbar height 2017-11-12 12:11:20 +03:00
Jaex 4d0c8c5a6f Added border around canvas area,
Changed default image editor background color to gray
2017-11-12 11:51:45 +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 db56792472 Fix moving canvas offscreen when resizing
Also fix canvas jumpling once when resizing
2017-11-09 06:35:26 +02:00
L1Q 27f790d862 Fix AutomaticPan 2017-11-09 05:00:27 +02:00
L1Q 4b6d40ca20 Prevent panning from moving canvas offscreen 2017-11-08 19:09:36 +02:00
Jaex f0e5416e0d In image editor show FPS on title bar 2017-11-08 03:47:22 +03:00
Jaex 13a3dc14fb Added editor background color option 2017-11-06 22:10:46 +03:00
Jaex 70635461d5 Rename variables 2017-11-06 19:01:02 +03:00
Jaex b85454bf7e AcceptButton was causing issue in few forms 2017-11-04 20:32:59 +03:00
Luke Anderson 81f5868232 Use Accept and Cancellation buttons where appropriate 2017-11-02 20:07:27 +10:30
Jaex e64135f94d Show image size and file name in title bar 2017-10-30 14:33:12 +03:00
Jaex 8f97e5896e Make sure to not update toolbar when ShareX closing 2017-10-30 11:48:58 +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 2faaf4d981 Removed toolbar animation 2017-10-29 17:24:27 +03:00
Jaex 97b4b343b0 When centering canvas start offset from toolbar height 2017-10-29 17:06:44 +03:00
Jaex 9f72d07164 Center image editor to active monitor 2017-10-29 12:49:25 +03:00
Jaex 7cae61c18c
Merge pull request #2890 from L1Q/master
Translation improvements and updates
2017-10-29 10:10:12 +03:00
Jaex 8e1d8cf6a2 Image size form must be top most 2017-10-29 09:58:28 +03:00
L1Q 31868467c1 Update russian translation 2017-10-28 23:44:48 +03:00
L1Q 179500cb90 Improve translation support 2017-10-28 23:40:50 +03:00
Jaex 7ef8f374d7 Rename "Annotate image" to "Image editor" 2017-10-28 17:36:28 +03:00
L1Q acb130d072 Make editor check for fullscreen on startup only 2017-10-28 17:09:21 +03:00
L1Q eaf5d8fc80 Fix FPS indicator in windowed annotate
It should not take multiple monitors into account there
2017-10-28 15:45:16 +03:00
Jaex 0c29e23d53 In editor mode show canvas relative position under magnifier 2017-10-28 08:49:09 +03:00
Jaex f5231613b8 Fix shape move all related issues 2017-10-28 03:26:29 +03:00
Jaex ff41e13e52 Make padding space equal in each side 2017-10-27 10:56:32 +03:00
Jaex b6ef6487bc Don't show drag nodes on editor toolbar 2017-10-27 10:42:57 +03:00
Jaex 360cfab74c Fixed fullscreen annotate toolbar not visible 2017-10-27 08:37:37 +03:00
Jaex ec9298fd75 Fixed when remember state is selected it not updates positions 2017-10-27 04:08:06 +03:00
Jaex c042e77c2f Added editor mode fullscreen option so it can work same as before
If ShareX closing while editor is open then make sure to not update toolbar
2017-10-27 03:25:30 +03:00
Jaex 8c2073570f Added option to remember editor window state, position and size 2017-10-27 02:49:59 +03:00
Jaex 9798c9bb29 Added option to start image editor window maximized 2017-10-27 02:25:57 +03:00
Jaex fefca5eef2 Fixed crop issue 2017-10-25 04:24:40 +03:00
Jaex 308e20be21 Show options menu in editor mode and hide region capture related settings
Use options reference in editor mode instead of options clone to be able to save settings
2017-10-25 03:53:53 +03:00
Jaex 4ea6ce887b Added extra null checks 2017-10-25 01:47:40 +03:00
Jaex cadd9c7fca Improvements to panning 2017-10-24 21:53:31 +03:00
L1Q 226ccd9a82 Fix floating errors when resize panning 2017-10-24 07:59:45 +03:00
L1Q 3741435f19 Pan editor on resize 2017-10-24 05:31:02 +03:00
Jaex 6ee3e305d6 Added MinimumSize so toolbar always fits 2017-10-24 02:50:42 +03:00
Jaex 0c36f82302 Also move toolbar when annotate form moved 2017-10-24 02:43:37 +03:00
Jaex 48681af900 Automatically move toolbar to snap top of annotate window 2017-10-24 02:24:50 +03:00
Jaex 2a5370c101 Center canvas if window state changed 2017-10-24 01:40:20 +03:00
Jaex 2f15401d6f Start editor maximized, added center canvas method and using it on form shown event 2017-10-24 01:22:48 +03:00
Jaex 6dd07cb846 Made InputManager non static 2017-10-24 00:40:37 +03:00
Jaex b2cbc03593 Removed ScreenRectangle because it was only used in one place, update coordinates before InitBackground 2017-10-24 00:08:26 +03:00
Jaex 009ee9d294 Initial work to convert screen rectangle and mouse position to client 2017-10-23 23:32:44 +03:00
Jaex 757e4b0e1d Added maintain aspect ratio to image resize dialog 2017-10-22 03:33:30 +03:00
Jaex 8dbbcad272 Added image size form 2017-10-22 02:26:47 +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 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 815cc3ee53 Fix panning image bigger than screen 2017-10-17 16:41:08 +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 05578e71fd fixed #2798: Check cursor position to make sure it is valid 2017-09-27 09:51:07 +03:00
Jaex 639da385c4 Draw transparent white rectangle to selected ruler area so black ruler lines will be visible on dark backgrounds 2017-08-30 12:09:03 +03:00
Jaex 60aa000217 Workaround for after capture task annotate issue 2017-08-11 15:32:29 +03:00
pjammo 8758819aa9 Updated Italian Translation
Fixed typos and too long strings
2017-08-07 11:20:38 +02:00
Jaex 790de136c3 .editorconfig changed files 2017-07-23 19:39:25 +03:00
pjammo 1f574ba827 Added Italian Translation 2017-07-23 10:41:55 +02: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
Sneer adf84b7db7 Updating Chinese
Updating Chinese
2017-07-07 04:04:44 +08:00
L1Q 958aff82a5 Improving translation support
- added strings to resx
- made "Edit actions tollbar" form translatable
- marked windows store "Status" and AboutForm "Build" strings as @Invariant
2017-06-16 01:57:39 +03:00
Jaex fbbcf2dfe6 Resx cleanup 2017-06-10 03:08:17 +03:00
Jaex 1b49768f45 50ms faster region animation 2017-05-30 08:52:07 +03:00
Jaex 15e63e8a92 Use PickColor static method and show old color by default 2017-05-28 01:29:33 +03:00
Jaex 173a4f2ebd Changed toolbar animation 2017-05-27 14:01:01 +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 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 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 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 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 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 b3af07a951 Use dark background on editor mode and only draw checkers behind image 2017-03-25 00:16:44 +03:00
Alan Tsai 189b6dae51 [Translate]zh-Tw for Sharex.ScreenCaptureLib project 2017-03-21 23:42:12 +08:00
Jaex 8e31a87a46 Adding TaskEditor mode to region capture form 2017-03-07 16:49:01 +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 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 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 0468bd7227 fixed #2193: Workaround to redirect keyboard input from menu form to region capture form 2017-01-10 21:56:37 +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
Jaex f8cbf0da94 Added hotkey string to remaining menu items 2016-12-01 18:11:26 +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 316e9a4388 Added capture last region button to region capture menu 2016-11-19 02:36:14 +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 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 c6b4db04e0 Use blue colors on info box for consistency with menu tooltips 2016-10-13 17:11:14 +03:00
Jaex e9f5ea2694 Added custom tooltips for tool menu 2016-10-02 19:01:55 +03:00
Jaex c4725ec668 Remove tool text animations because not necessary anymore 2016-10-01 12:51:16 +03:00
Jaex d73e6beffb Remove unused RegionCaptureMenuForm 2016-10-01 10:52:14 +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 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