Commit graph

482 commits

Author SHA1 Message Date
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
Jaex 5e97210afe Fix padding related issue 2017-05-27 14:11:21 +03:00
Jaex 173a4f2ebd Changed toolbar animation 2017-05-27 14:01:01 +03:00
Jaex 1896448513 Increased region capture toolbar button paddings that way it will be more easier to click them 2017-05-27 01:52:33 +03:00
Jaex 2766db8daf In freehand drawing only use high quality when rendering output 2017-05-26 09:10:37 +03:00
Jaex a79f44156f Decrease quality of image rendering on region capture but use high quality while rendering output image 2017-05-24 01:53:57 +03:00
Jaex 84d8997cfd Fix crop image in multi monitor 2017-05-23 17:29:02 +03:00
Jaex b85a1b3efa Don't change position of duplicated image to allow blur outside of region type of effects 2017-05-19 08:53:18 +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 f1a5f77ccc Also hide line/arrow resize nodes 2017-05-12 10:36:20 +03:00
Jaex ad3edb71bd If resize node collide with another node, hide them 2017-05-12 10:13:50 +03:00
Jaex a9529b1802 Check for valid rectangle 2017-05-09 02:38:37 +03:00
Jaex 46156d612b Use ImageRectangle in CropImage method 2017-05-07 01:22:26 +03:00
Jaex c7c44280f7 Added label and icon for "Image (Screen)" drawing tool 2017-05-07 00:34:03 +03:00
Jaex ec86bd5bdf Added "Image (Screen)" drawing tool which allows duplicating image from screen 2017-05-06 23:53:46 +03:00
Jaex a2e98147f2 Handle invalid FTP URL preview, update FTP account names on host text change 2017-05-02 17:03:28 +03:00
Jaex 67a218bee9 fixed #2479: Added crop tool to annotation 2017-04-30 15:54:11 +03:00
Jaex 6cd580f627 fixed #2435: Added region capture animation option 2017-04-17 17:19:23 +03:00
Jaex 47166451e6 Hover animation improvement 2017-04-07 15:09:18 +03:00
Jaex 375248790f Make toolstrip vertical space equal 2017-04-04 11:05:35 +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 f7c0a9f934 CodeMaid cleanup 2017-03-30 00:03:08 +03:00
Jaex bcc7c814ad Pressing space will also continue task 2017-03-07 19:08:05 +03:00
Jaex 55410b32ce In TaskEditor mode right click will continue task 2017-03-07 17:47:44 +03:00
Jaex 8761536fc3 Annotation task buttons works now 2017-03-07 17:27:05 +03:00
Jaex 8e31a87a46 Adding TaskEditor mode to region capture form 2017-03-07 16:49:01 +03:00
Jaex 1ade3b957c Use file name for annotation because file path empty before save image 2017-02-27 23:35:01 +03:00
Jaex f833bbda49 Declare default font 2017-02-22 16:30:51 +03:00
Jaex 2a7e190a83 Decrease default font size 2017-02-22 15:59:52 +03:00
Jaex 01682b0e3e Calculate proper font size for AddString 2017-02-17 23:23:19 +03:00
Jaex b66f09f9dc Add resource text for ShapeType 2017-02-17 23:06:20 +03:00
Jaex fd5ffbfab4 Added Text (Outline) to toolbar 2017-02-16 03:49:13 +03:00
Jaex d6755cd1f9 Adding text drawing outline mode 2017-02-15 00:12:38 +03:00
Jaex 4031f2d794 Changed pencil icon 2017-02-08 14:16:40 +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 2e4f136377 Custom arrow cap for arrow drawing tool 2017-01-05 02:12:19 +03:00
Jaex 2e48e2c27a Shift+Del to delete all shapes 2016-12-14 19:38:07 +03:00
Jaex b74d1085f0 Added hotkey Ctrl + Shift + Del to delete all shapes 2016-12-01 18:15:45 +03:00
Jaex f8cbf0da94 Added hotkey string to remaining menu items 2016-12-01 18:11:26 +03:00
Jaex 3c21c208b4 Change enabled state of edit menu items automatically 2016-12-01 17:34:53 +03:00
Jaex 65c2c4106d Added edit drop down menu to region capture toolbar 2016-12-01 15:24:19 +03:00
Jaex c4d7098751 Added move shape top (home), bottom (end), up (page up), down (page down) hotkeys 2016-11-30 18:51:23 +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 b417d31c0c Show color picker crosshair by default 2016-11-30 16:01:12 +03:00
Jaex 35335e0d43 Added drop shadow option to region capture toolbar 2016-11-30 00:11:39 +03:00
Jaex 9000cf31a7 Added speech balloon shadow 2016-11-29 23:23:34 +03:00
Jaex 58a6707635 Added step & speech balloon text shadow 2016-11-29 23:06:54 +03:00
Jaex a6192aa76a Added step shadow 2016-11-29 22:47:53 +03:00
Jaex 37c3b7aa18 Added text shadow 2016-11-29 21:48:19 +03:00
Jaex 678ef0b1b0 Added line & arrow shadow 2016-11-29 21:32:52 +03:00
Jaex 5e14b35eb7 Added freehand shadow 2016-11-29 20:02:01 +03:00
Jaex efe88bde57 Added ellipse shadow 2016-11-29 19:52:07 +03:00
Jaex f28e913a11 Added rectangle & rounded rectangle drawing drop shadow support 2016-11-29 19:24:41 +03:00
Jaex ea5fd4cea1 Change default value of border size and rounded rectangle radius 2016-11-29 18:36:51 +03:00
Jaex 1dc9ce44c6 Allow higher pixelate size for one color rectangle fill 2016-11-28 16:08:17 +03:00
Jaex c5687ce3dd Update menu on shape created 2016-11-19 03:03:44 +03:00
Jaex 316e9a4388 Added capture last region button to region capture menu 2016-11-19 02:36:14 +03:00
Jaex 3adc1de4e1 Change values of blur radius numeric up down to enforce odd numbers 2016-11-14 02:27:24 +03:00
Jaex 2c15b7f434 Added another box blur method 2016-11-14 02:00:55 +03:00
Jaex cab2ec0b2b Added fast box blur method 2016-11-13 19:33:53 +03:00
Jaex 1d9b1a07c8 Added faster pixelate method 2016-11-13 16:59:06 +03:00
Jaex d3736e4565 Move and reorganize form events to regions 2016-11-01 16:16:44 +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 fc1e464e50 Remember menu state option also gonna remember collapsed state of menu 2016-10-13 11:47:26 +03:00
Jaex f94ec6d6b9 Update icons 2016-10-13 10:36:25 +03:00
Jaex c8ac26d8dd Change tooltip times 2016-10-12 11:17:01 +03:00
Jaex 47899781d9 Activate curve drawing only when center node dragged once that way if center node is not dragged then it will work same as before 2016-10-11 14:52:08 +03:00
Jaex c43ccd9ac5 Adding curve drawing support to line and arrow tools 2016-10-11 14:28:22 +03:00
Jaex b3261335f9 Added fade in animation support to TextAnimation 2016-10-07 01:20:35 +03:00
Jaex 610e5d5791 Make grip spacing equal 2016-10-05 23:30:03 +03:00
Jaex 83f1909eef Fix visual problem of toolstrip drop down menus and corners 2016-10-05 23:22:57 +03:00
Jaex 48f4ec9056 In menu form handle esc press 2016-10-05 22:32:01 +03:00
Jaex 407b8e231c Added remember menu position setting 2016-10-05 18:37:11 +03:00
Jaex 640a4b67d0 Right clicking menu grip will collapse menu 2016-10-05 16:00:33 +03:00
Jaex d1d6ef0513 Fix weird incorrect menu position problem 2016-10-05 01:40:22 +03:00
Jaex 3f5f01804e Move highlight color to menu too 2016-10-05 01:05:55 +03:00
Jaex cdd85e2354 Move color options to menu 2016-10-04 20:38:30 +03:00
Jaex 825d46f69b Show size cursor when hovered menu drag labels 2016-10-04 19:24:29 +03:00
Jaex 463a705f93 Remove custom crosshair drawing because it not working properly in high DPI and with new menu it is less useful anyway 2016-10-04 19:08:50 +03:00
Jaex 2041cbb62c Make child form TopMost 2016-10-03 17:24:12 +03:00
Jaex ed7a5e2abe Delete OpenOptionsMenu method 2016-10-03 16:50:43 +03:00
Jaex 4e66c387b2 ToolStrip high DPI support 2016-10-03 16:10:30 +03:00
Jaex c5a1426853 Capture button not exists in editor mode 2016-10-03 15:21:59 +03:00