Commit graph

470 commits

Author SHA1 Message Date
Jaex b73ac79e4d Fix line panning 2017-11-16 13:42:13 +03:00
Jaex 165548f376 Use Points in arrow drawing shape too 2017-11-16 12:40:56 +03:00
Jaex d8cf9f1d17 Fix resize node issues 2017-11-16 12:21:05 +03:00
Jaex 920916c4ff Line drawing shape refactoring 2017-11-16 11:47:26 +03:00
Jaex 20fe02f41c More rectangle usage 2017-11-16 09:36:21 +03:00
Jaex 6a072fa079 Set rectangle instead of start/end positions 2017-11-16 09:02:27 +03:00
Jaex 7766ba374e Rectangle will also set start and end positions 2017-11-15 09:54:19 +03:00
Jaex 59f17da0a8 Show overlay when moving effect with keyboard 2017-11-15 08:48:27 +03:00
Jaex fbc335afcd Update effect cache on setting change 2017-11-15 02:37:17 +03:00
Jaex 09f6edce4a Force cached effect to be inside canvas 2017-11-14 15:27:32 +03:00
Jaex d3295a412a Fix OnDrawFinal issues 2017-11-14 15:15:28 +03:00
Jaex 18cbe0b72c Added RectangleInsideCanvas property 2017-11-14 15:05:12 +03:00
Jaex 147a4efac7 Fixed OnResizing issue 2017-11-14 14:21:36 +03:00
Jaex 13bf678f63 Added OnResizing and OnResized methods, so resize nodes can update effect cache 2017-11-14 13:55:05 +03:00
Jaex 100cc47585 Added real time blur, pixelate, highlight preview in image editor 2017-11-14 12:12:49 +03:00
Jaex 4ca85ec96f Use combo box for image editor start modes 2017-11-12 23:44:18 +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 e93c57541c Move "Editor background color" to resx 2017-11-10 03:20:52 +02:00
Jaex 69d57b07bd Only draw two arrows if two arrows not collide with each other to avoid GDI related bug 2017-11-09 19:55:37 +03:00
Jaex 2b5c9c7b11 Show editor background color on menu icon 2017-11-08 21:24:25 +03: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
L1Q b9d1b150c6 Fix image from file shape created with 0 size 2017-11-07 19:08:52 +02:00
L1Q b902e33593 Fix shapes being 1px bigger 2017-11-07 19:06:35 +02:00
L1Q eaac08413c Fix resizing some shapes with keyboard 2017-11-07 19:05:27 +02:00
L1Q ec030b1fc2 Fix shape moving twice when moving and panning at the same time
Fix resizing while panning.
2017-11-07 08:24:58 +02: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 e96acf05d9 Remember last editor tool separate from last annotation tool 2017-11-06 18:36:52 +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
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
L1Q acb130d072 Make editor check for fullscreen on startup only 2017-10-28 17:09:21 +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 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 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 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 48681af900 Automatically move toolbar to snap top of annotate window 2017-10-24 02:24:50 +03:00
Jaex 6dd07cb846 Made InputManager non static 2017-10-24 00:40:37 +03:00
Jaex 009ee9d294 Initial work to convert screen rectangle and mouse position to client 2017-10-23 23:32:44 +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
Jaex 240a8ceb6c Added rotate and flip functions, removed RemoveOutsideShapes usage 2017-10-22 01:04:18 +03:00
Jaex cb91274d00 Added resize, rotate, flip buttons 2017-10-22 00:51:18 +03:00
Jaex 08d91a2540 Added image menu and moved canvas size to there, that way menu will only show in editor mode 2017-10-22 00:28:20 +03:00
Jaex f7eda15a77 Canvas size icon 2017-10-22 00:18:56 +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 6d324d3f1a Increase text padding because resize nodes are bigger now 2017-10-17 21:39:23 +03:00
Jaex fddd843f79 On crop remove outside shapes 2017-10-17 21:34:06 +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 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 4f6e969c88 Add regions to UploadersConfigForm.cs 2017-10-05 23:54:06 +03:00
Mahdi a9cb5a2346 Fixed an issue with touch screens not being able to select region/draw/select drawing correctly 2017-10-05 22:03:26 +03:30
L1Q 3841eacd2a Fix error when pressing F1 during image editing
The proper condition should've been
    if(form.IsAnnotationMode && !form.IsEditorMode)
but I guess checking for null is more robust here
2017-10-05 06:00:59 +03:00
Jaex 4ee76af0ea Added custom circle resize node 2017-09-30 17:08:40 +03:00
L1Q b32ac9ab16 Fix error when pressing F1 in non-Annotation mode
tsmiTips is only initialised in AnnotationMode
2017-09-22 03:58:33 +03:00
Jaex a320b962e6 Added ToolStripLabeledComboBox control to be used for cursor type 2017-08-28 09:26:24 +03:00
Jaex e207c181e0 Added cursor type option to cursor drawing tool 2017-08-20 21:10:47 +03:00
Jaex 898daf4cc5 Revert "Added cursor type option to cursor drawing tool"
This reverts commit 92ff416ab6.
2017-08-14 09:46:54 +03:00
Jaex 92ff416ab6 Added cursor type option to cursor drawing tool 2017-08-13 14:07:52 +03:00
Jaex 60aa000217 Workaround for after capture task annotate issue 2017-08-11 15:32:29 +03:00
Jaex b0811bf11d Change arrow heads text 2017-08-05 23:04:21 +03:00
Jaex 8f1f41d23f fixed #2661: Added arrow heads in both side option to arrow drawing tool 2017-08-02 19:11:12 +03:00
Jaex c40e77298b Added center points option to toolbar 2017-08-02 18:32:51 +03:00
Jaex 3de63379f8 Adding multiple center node support to line and arrow tools 2017-08-02 15:04:30 +03:00
Jaex f83816d19a Store cursor as bitmap because masking already not working 2017-07-20 23:27:03 +03:00
Jaex e3175ba48e Removed resize nodes from cursor tool to make moving cursor more easier 2017-07-18 15:58:07 +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 0a0d43d4c6 Added cursor tool text and image 2017-07-18 14:43:45 +03:00
Jaex a77159db51 Allow resizing cursor, create arrow cursor when clicked on empty space 2017-07-17 22:07:29 +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
Jaex 19a56571a8 Change default annotation options 2017-06-16 13:30:38 +03:00
Jaex ca6a600898 Merge pull request #2575 from L1Q/master
Translation improvements and updates
2017-06-16 08:53:11 +03: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 038575582a Draw shadow even when border is not visible 2017-06-14 17:28:22 +03:00
Jaex f7bb2f8aff Limit crop and image (screen) region selection to image rectangle 2017-05-28 12:32:09 +03:00
Jaex 15e63e8a92 Use PickColor static method and show old color by default 2017-05-28 01:29:33 +03:00
Jaex ca4e4ce09e Removed button padding 2017-05-28 00:07:02 +03:00
Jaex c0febe8ed2 Revert "Fix padding related issue"
This reverts commit 5e97210afe.
2017-05-27 14:21:22 +03:00