Commit graph

229 commits

Author SHA1 Message Date
L1Q df90adf874 Improve localization support
Move lines to resx
2020-10-22 05:18:00 +01:00
Jaex c4a76746bf Make sure annotation toolbar is not bigger than editor window 2020-10-08 16:18:32 +03:00
Jaex ad2727a555 Added screen color picker info text option 2020-10-01 02:11:57 +03:00
Jaex dc21005e74 fixed #5061: Support region capture hover area with Enter key and handle missing path 2020-09-22 15:51:20 +03:00
Jaex 31c94623da In image editor show menu tooltips for task status 2020-09-20 02:26:53 +03:00
Jaex eabb0c8b23 Change size of color box 2020-08-28 21:55:15 +03:00
Jaex df87861c0d Fix info tooltip position for screen color picker 2020-08-13 14:32:55 +03:00
Jaex 01cbb02740 Change design of screen color picker tooltip color box 2020-08-12 11:20:51 +03:00
Jaex a1f079d674 In region capture form apply custom theme to text tooltips 2020-08-01 16:08:00 +03:00
Michael Delpach 50f86ee79a Revert "Revert "Merge branch 'master' of https://github.com/ShareX/ShareX""
This reverts commit 85fdab3c56.
2020-07-06 06:37:56 +08:00
Michael Delpach 85fdab3c56 Revert "Merge branch 'master' of https://github.com/ShareX/ShareX"
This reverts commit 2903ca1082, reversing
changes made to 195c0f2f8a.
2020-07-06 06:27:50 +08:00
Jaex 4a444ca164 Added area and perimeter info to ruler tool 2020-07-05 08:12:55 +03:00
Jaex 3af880d940 fixed #4733: Region capture "Enable animations" option also gonna affect ants animation 2020-04-09 21:11:12 +03:00
Jaex 9bf2f26e25 fixed #4732: If theme checker size is lower than 1 then use solid color for backgrounds 2020-04-09 19:54:18 +03:00
Jaex ef0d5a89cb In region capture when moving or panning use grab cursor 2020-03-31 21:55:55 +03:00
Jaex 335972455a More Bitmap usage 2020-03-23 22:33:26 +03:00
Jaex cfdad2c27c Use bitmap in drawing image effects 2020-03-22 00:16:55 +03:00
Jaex b8c10a7067 Decrease unnecessary bitmap casts 2020-03-21 04:41:34 +03:00
Jaex f49c345ffd Smart eraser tool gonna use dimmed background color in region capture but output result gonna use proper color 2020-03-20 23:22:08 +03:00
Jaex 42e1067412 Return bitmap instead of image 2020-03-20 22:02:26 +03:00
Jaex 4f0234fe74 Added smart eraser annotation tool 2020-03-11 15:19:04 +03:00
Jaex df9ee1aef8 Removed bmpBackgroundImage 2020-03-11 11:48:40 +03:00
Jaex acd262737b Rename UseDarkTheme to UseCustomTheme 2020-02-05 11:13:55 +03:00
Jaex 803a4e567c Update year 2020-02-05 10:19:48 +03:00
Jaex 8d51d7eec0 Removed redundant awaits 2019-11-19 04:02:51 +03:00
Kamil Monicz c9bff5c70f Updated regionAnimation.FromRectangle to use the last current rectangle for smooth animation 2019-11-18 20:18:19 +01:00
Jaex 35fa16a659 Added ShareXTheme class for preparation of customizable theme colors 2019-09-06 11:18:30 +03:00
Jaex f937a5d093 fixed #4170: Only allow monitor capture keybinds in region capture mode 2019-06-14 19:18:39 +03:00
Jaex 0755698b08 Checker changes 2019-06-02 22:45:15 +03:00
Jaex 35d6f5aaed Support dark theme color in image editor background 2019-06-01 00:19:37 +03:00
Jaex 132ebafa9c Rename Between extension to Clamp 2019-05-23 22:59:16 +03:00
Daniel Kuschny 056f17cbc7 Added select tool to image editor 2019-04-04 18:32:58 +02:00
Jaex 469fc29b87 Update year 2019-01-02 10:43:52 +03:00
Jaex 4642091372 fixed #3741: After use image editor task buttons, modified should be set to false 2018-11-17 12:20:59 +03:00
Jaex f270c59190 No need TaskEx.Run anymore 2018-08-03 14:01:12 +03:00
Jaex 894e6a6433 #3530: Save buttons in image editor will use task settings to generate name if file name is not supplied yet, that way user can save without use "save as..." dialog first 2018-07-16 12:44:23 +03:00
Jaex ec1d942cf5 Rename IsAnnotated to IsModified 2018-06-04 18:47:38 +03:00
Jaex cb3711632c Fix "Use of implied arithmetic operator precedence" 2018-05-16 16:27:11 +03:00
L1Q 8a4afdbdfc Improve translation support
- resize color picker form for better compatibility
- move strings to resources
- mark strings invariant
2018-05-13 06:19:16 +03:00
Jaex 62dc5ff676 Allow to hide magnifier with mouse wheel if magnifier size reach below minimum pixel size 2018-04-30 19:45:35 +03:00
Ivan Bidolakh f2e5b2b5ba Remove unnecessary parameter check
IsEditorMode is always false, look first "if" block
2018-04-29 02:11:44 +03:00
Jaex a9bcb02e0e On screen color picker add color box near cursor tooltip 2018-04-26 20:17:02 +03:00
Jaex 5bfbc07818 #3304: After move image if image is outside canvas then resize canvas to fit image 2018-04-13 14:56:35 +03:00
L1Q 276a3a504f Add OnMouseDown interaction to scrollbars 2018-04-04 14:51:32 +03:00
Jaex 6185385c9b Move ScrollbarManager to ShapeManager 2018-04-03 23:46:38 +03:00
Jaex a36b948fa1 #3221: When focus lost stop updating image editor form 2018-04-03 01:43:10 +03:00
Jaex 6b4a7002f3 Added confirmation message box for unsaved changes when user close image editor by pressing X button, Esc key or right click 2018-03-27 17:35:00 +03:00
Jaex a68245bffd Removed region capture F1 tips, removed unused region capture simple annotate form 2018-03-26 18:31:48 +03:00
Charles Milette a893f905dd
Add more shortcuts 2018-03-25 15:23:17 -04:00
Charles Milette 85353751bd
Add greenshot-like shortcuts to the region capture mode and image editor 2018-03-25 11:00:16 -04:00
Jaex afa273d884 fixed #3074: First crop then apply shapes 2018-01-14 01:17:05 +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 4f307fce28 Show new image form in startup form 2017-12-26 16:40:36 +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 9a8d8f0fc5 Added "Auto close editor on task" option 2017-12-24 12:01:16 +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 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
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
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 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
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