Commit graph

572 commits

Author SHA1 Message Date
Jaex 3f9df9b990 fixed #3136: Hide FFmpeg test button on Windows Store build 2018-03-04 02:12:17 +03:00
Jaex c33bc4844f CodeMaid cleanup 2018-03-01 01:52:11 +03:00
Jaex 29886ecba1 In editor startup form also check for image files in clipboard 2018-02-15 14:09:58 +03:00
Jaex db98bf7321 Keep aspect ratio while resizing sticker 2018-02-08 11:16:19 +03:00
Jaex 98d2ad63eb Use absolute folder path 2018-02-08 10:03:28 +03:00
Jaex bf8a826f77 When searching make sure there is any stickers 2018-02-08 09:46:18 +03:00
Jaex 9589820ae5 Only add sticker pack if folder is selected 2018-02-08 09:33:49 +03:00
Jaex db1c8c978b UpdateStickerPacks changes 2018-02-07 15:15:20 +03:00
Jaex 7b6b40d112 Remember selected sticker pack 2018-02-07 15:03:45 +03:00
Jaex 30c339dc9e Update control enabled states 2018-02-07 14:45:31 +03:00
Jaex fa04134a00 Sticker pack form is now functional 2018-02-07 14:22:47 +03:00
Jaex 025d0ccbe7 Adding sticker pack form 2018-02-07 14:09:28 +03:00
Jaex 9df4ad0a82 While searching if enter pressed then select first sticker 2018-02-06 13:52:08 +03:00
Jaex b595db0e30 Focus search box on shown 2018-02-06 13:23:23 +03:00
Jaex 9536a37dbc Added sticker packs option 2018-02-06 13:16:42 +03:00
Jaex 4e7b076719 Remember sticker size 2018-02-06 12:39:42 +03:00
Jaex 026e2fa9c9 Added sticker tool 2018-02-06 11:25:15 +03:00
Jaex d10bfb6f11 Added search functionality 2018-02-06 09:49:08 +03:00
Jaex 556d6b100f Added ToolStripNumericUpDown control 2018-02-06 03:56:46 +03:00
Jaex 4cdf93b755 Interim work for sticker form 2018-02-06 03:15:06 +03:00
Jaex 574fcefb01 Fix FFmpeg path 2018-01-28 15:29:39 +03:00
Jaex afa273d884 fixed #3074: First crop then apply shapes 2018-01-14 01:17:05 +03:00
L1Q 7bdbd5980b Update Russian translation 2018-01-13 15:43:47 +02:00
L1Q 9ac637242c Improve localization support
Add to resx:
- ImageEditorInterpolationMode enum
- Cplipboard image notice text
- Image editor toolbar items

Move OCR attribution notice to back to prevent overlapping
2018-01-13 15:43:06 +02:00
Jaex 06ca3f9974 fixed #3053: Add Ctrl + A support to textbox 2018-01-04 00:39:10 +03:00
Jaex 0ecfe7fe52 Fix line endings 2018-01-02 18:58:27 +03:00
Jaex b463a16567 Update year 2018-01-01 17:59:14 +03:00
Jaex eaad524a89 Show area info text in crop tool 2017-12-31 01:57:13 +03:00
Jaex bb4f2420bc Replace "public" ACL text with "public-read" ACL in S3 tab 2017-12-26 18:01:03 +03:00
Jaex c27c9e2d3a Added cancel button to editor startup form 2017-12-26 17:22:35 +03:00
Jaex 08579e83bd Use form for ShowDialog 2017-12-26 16:54:10 +03:00
Jaex 4f307fce28 Show new image form in startup form 2017-12-26 16:40:36 +03:00
Jaex df8e174d8c Added image editor startup dialog when editor is opened from tools menu 2017-12-26 14:46:29 +03:00
Jaex 54b8d85e87 If editor image is null then show new image dialog 2017-12-25 19:48:41 +03:00
Jaex b4d512374b Draw cross center of crop tool area 2017-12-25 13:37:25 +03:00
Jaex a34c2087ea Remember new image dialog options 2017-12-24 21:13:06 +03:00
Jaex 5d94a9a6dd Added "New" button to editor image menu 2017-12-24 21:02:08 +03:00
Jaex 9a8d8f0fc5 Added "Auto close editor on task" option 2017-12-24 12:01:16 +03:00
Jaex 762422d71f
Merge branch 'master' into master 2017-12-23 17:24:11 +03:00
Jaex 328ca6b61d fixed #3015: Removed SevenZipSharp library instead using 7-Zip CLI 2017-12-18 11:20:37 +03:00
Jaex 865fd0bcf9 #3008: Added image editor events 2017-12-17 10:30:39 +03:00
Jaex e1a86be0fa Moved DrawableObjects to ShapeManager, adding confirm button to crop tool 2017-12-12 18:50:02 +03:00
Jaex b6755df7af Added BaseTool which will limit only single tool to be visible on screen and auto clear it when changing tool 2017-12-12 18:17:38 +03:00
Jaex 0a9a479264 Small DrawableObject changes 2017-12-10 15:44:02 +03:00
Jaex 4085e5a5e4 Added position to mouse methods 2017-12-10 13:49:16 +03:00
Jaex 5ce01cd2be Added mouse pressed/released methods to DrawableObject 2017-12-10 13:27:49 +03:00
Jaex 6c1047eab8 Added ScrollbarManager 2017-12-08 17:21:44 +03:00
Jaex fbf5f88ce1
Merge pull request #2987 from L1Q/master
Improve panning scrollbars
2017-12-08 16:43:06 +03:00
L1Q 35b4f3765f Improve panning scrollbars
- fix rounding errors
- change padding method
2017-12-08 15:40:52 +02:00
Jaex d9200a6fb1 Change scroll bar colors 2017-12-08 15:03:50 +03:00
L1Q e554c819ce Limit panning based on 25% of client area instead of 100px 2017-12-08 12:44:01 +02:00
Jaex c0fda0ab3e fixed #2974: Allow non URL clipboard text input for QR code form 2017-12-07 16:36:01 +03:00
Jaex 2fa3480b79 Return if scroll bar not necessary 2017-12-07 14:57:18 +03:00
Jaex b29dcf39c2 Few changes to scroll bars to improve visibility 2017-12-07 14:34:29 +03:00
L1Q 71fec869f7 Refactor panning scrollbars
- refactor variable names
- make pens and brushes dispose
2017-12-07 11:17:04 +02:00
L1Q 4275a16f28 Add visual scroll bars for panning 2017-12-06 22:05:02 +02:00
Jaex 96956a0fb9 Fixed small canvas size window centering 2017-12-06 16:05:50 +03:00
Jaex b86a9d6bcc Added resampling option to image size dialog 2017-12-06 10:05:17 +03:00
Jaex 5d57bc40dd Update Mega lib 2017-12-05 20:44:57 +03:00
Jaex 4a965181b4 Use built in FFmpeg in Windows Store builds 2017-12-05 09:53:04 +03:00
Jaex 8c8134a823
Merge pull request #2972 from 123jimin/autoscale-fix
Removed AutoScaleDimensions assigns for four fullscreen forms
2017-12-04 14:16:59 +03:00
Jimin Park 0495d8d8bc Changed AutoScaleMode of four fullscreen forms to None 2017-12-04 20:16:03 +09:00
Jaex 1aeae40c6a Change editor minimum size 2017-12-04 03:32:38 +03:00
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