Commit graph

905 commits

Author SHA1 Message Date
Jaex
e64135f94d Show image size and file name in title bar 2017-10-30 14:33:12 +03:00
Jaex
eb7992e36d Run image editor on STA thread that way multiple editors can be opened without block main thread 2017-10-30 14:14:13 +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
255f9f99e2 Allow creating empty text box 2017-10-30 10:43:21 +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
f3244a979c Fix remember menu state in region capture 2017-10-29 13:25:30 +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
L1Q
6544e1285f Allow toolbar dragging when image editor is fullscreen 2017-10-28 18:04:45 +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
afd81c2181 Center region capture toolbar to active monitor 2017-10-27 11:54:19 +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
a19e6afe63 Improve shape positioning for ChangeImageSize 2017-10-25 09:31:52 +03:00
L1Q
ce32d0bb26 Fix ChangeCanvasSize moving shapes incorrectly 2017-10-25 09:16:29 +03:00
L1Q
e802b05043 Fix crop moving shapes incorrectly 2017-10-25 09:01:59 +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
1f5931815e Fix toolbar animation and button tooltip positions 2017-10-24 03:22:10 +03:00
Jaex
1a9888e003 Toolbar should be TopMost on region capture 2017-10-24 03:11: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
46e86d91d2 Added ChangeImageSize method 2017-10-22 01:33:00 +03:00