Commit graph

133 commits

Author SHA1 Message Date
Robin Krom
26fe579d31
Improved the support for dragging and dropping images from a website, now also parsing HTML img src information, to be able to download that image. For this we need the HtmlAgilityPack.dll (#294)
Removed a lot of dead code, and remove the old OCR code as we don't even know if it still works.
2021-03-21 22:34:17 +01:00
Robin Krom
aff8ba2109 Fixed copyright, fixed some spelling and updated some of the code to a newer syntax. 2021-03-08 22:26:10 +01:00
Robin Krom
c8ade4258b
Fixed formatting 2021-02-19 23:12:15 +01:00
k41c
d9a6922310
Update ImageEditorForm.cs 2021-02-19 13:57:38 +01:00
Robin Krom
94c778d82c
Improve DPI support (#254)
* Improving the DPI handling for most forms, there are still issues with:
* the AboutForm.Designer.cs where the title with the version scales differently.
* the destination picker doesn't seem to scale the font correctly.
Some parts are not tested yet...

* Solved the issue with the destination picker font, and some other small issues.
There still is an issue when using Powertoys (the feature which is experimental), that the capture is somehow skipping.
2020-10-23 00:28:50 +02:00
jklingen
f159a871ca
Propagate DPI Changes down to Drawable Containers and Adorners and Resize Grippers Accordingly (#200)
* Propagate DPI Changes down to Drawable Containers and Adorners and Resize Grippers Accordingly
* Make Grippers Slightly Larger
* Add White Border to Grippers for Better Contrast on Dark Backgrounds
2020-08-06 21:29:55 +02:00
Killy
79ea558dbb Fix: zoom-in when selection is out of sight 2020-05-02 01:52:05 +03:00
Killy
ef5b5deb7a Smarter zoom - keep selected elements in sight 2020-05-01 18:16:33 +03:00
Killy
f494385ef7 Naming consistency - not a percentage value anymore 2020-04-30 19:16:05 +03:00
Killy
dcf75fd081 Use Fractions to represent zoom factor
The goal is to be able to get as close as possible to perfect 66.(6)% (2/3) zoom factor, and also remove types mismatch between the editor form and the surface.
2020-04-30 17:57:36 +03:00
Killy
464e5e872f Fix weird scroll position when going from no scroll zoom value
Also prefer top left corner in that situation - it is less disorienting when working with screenshots.
2020-04-30 17:39:03 +03:00
Killy
99742ad05a Fix for Best Fit on images bigger than 4 times the available space 2020-04-29 23:23:29 +03:00
Killy
e6e2ed523a Keep center of visible area static on zoom when possible 2020-04-28 21:43:01 +03:00
MXI
5fe700bc84
Fix GetAvailableScreenSpace on secondary screens
Co-Authored-By: jklingen <jklingen@users.noreply.github.com>
2020-04-27 21:00:59 +03:00
Killy
ec2c46daa8 GetOptimalWindowSize - bound by available screen space
Limiting by working area size was not good enough - having whole chrome on screen is important.
2020-04-27 01:23:23 +03:00
Killy
95c759e3fd Changed shortcuts - Ctrl+0, Ctrl+9 2020-04-27 01:19:38 +03:00
Killy
8b45489b11 Zoom feature for the editor 2020-04-26 16:50:17 +03:00
Robin Krom
7e96c99b3d Updates for the notification service, now an icon is shown and it now follows the configuration settings. [skip ci] 2020-03-10 22:06:47 +01:00
Robin Krom
bc2e991a2d Updated the Dapplo.Jira dependency, as this finally was usable without getting a huge list of dependencies with it. 2020-02-23 20:11:28 +01:00
Krom, Robertus
d81d0ad4f1 More DPI fixes, now supporting windows with different DPI settings. 2020-02-19 13:51:36 +01:00
Krom, Robertus
42cd533862 A bit of refactoring to be able to find some issue... 2020-02-18 16:32:51 +01:00
Krom, Robertus
80d8f51fc5 Introduced a very simple "singleton" service-locator, which allowed for a removal of specific implementations which were very limited. With this it's easier to access dependencies. 2020-02-18 13:48:40 +01:00
Krom, Robertus
57e2044839 Making the initial stuff working, getting an installer, when running from VS. 2020-02-04 15:29:10 +01:00
Robin
e620cb93ec BUG-2114 / BUG-2095 / FEATURE-998 : Some more consolidation of the code. 2017-01-27 20:46:26 +01:00
Robin
b01eae3794 BUG-2081: Fixed that only the + and - of the numpad worked for the canvas resizing. 2017-01-13 22:09:03 +01:00
Robin
eabe6a18be FEATURE-992: Fixing a problem with the editor not becoming the foreground window. [skip ci] 2016-12-26 21:00:15 +01:00
Robin
e654a60629 FEATURE-863: Fixed storing of the start value.
Updated SVG dependency, which fixes a few small issues with the Jira plug-in.
2016-11-22 10:23:46 +01:00
Robin
dc29ef0a27 FEATURE-863: Fixed counter to work with a flag, still the starting value is not serialized / deserialized? 2016-11-22 07:31:11 +01:00
Robin
f2f37700b3 FEATURE-863: Trying to get it working in 1.2.9 2016-11-21 23:47:10 +01:00
Robin
610f45d082 Code quality changes 2016-09-22 20:40:13 +02:00
Robin
e18951569d BUG-1762, FEATURE-964, FEATURE-860: Add right click on drop-shadow or torn-edge brings up the settings, left-click or the hotkey (Ctrl + Q for Dropshadow, Ctrl + T for Torn-Edge) will apply directly with the previous/default settings. 2016-08-18 09:28:08 +02:00
Robin
1294036a56 Fixed copyright for this year. 2016-08-17 14:38:41 +02:00
Robin
789334c193 BUG-1812 storing a windows placement and than using this later causes issues when the location is actually outside of the screen. This should fix it. 2016-07-03 21:59:20 +02:00
Robin
b04be588e5 FEATURE-919: Added increase and reduce size (Ctrl + & Ctrl -) 2016-05-24 15:23:45 +02:00
Robin
0323705513 Merge remote-tracking branch 'remotes/origin/master' into release/1.2.9 2016-05-24 13:15:16 +02:00
Robin
45615275cf Made the re/undo code from the branch work in this, this is a manual copy as something went horribly wrong with the repository. Before building I first want to check if everything is there.[skip ci] 2016-05-24 12:48:11 +02:00
Robin
98e6be5eb6 Small cleanups [skip ci] 2016-04-17 23:32:22 +02:00
jklingen
e409392f32 Revert "Revert "Removed most references to SF"" 2016-03-24 23:04:47 +01:00
jklingen
2599ff5b7c Revert "Removed most references to SF" 2016-03-24 22:54:16 +01:00
Robin
fe176a2da4 Removed most references to Sourceforge, need to check with a file-searcher if something is left. P.S. The help files still have references... 2016-03-23 16:54:57 +01:00
Robin
7938ab5dad This commit is made due to BUG-1775. Although it might not fix it, it ensures that every window has an icon and only than when it loaded. Also added improved error handling. 2015-04-17 11:06:57 +02:00
Robin
ec5930ed41 Updated Copyright notice 2015-03-13 10:31:52 +01:00
RKrom
b4b6c6546d Fix for Windows-Capture exception, which was unfortunately added when fixing a focus issue. 2014-12-22 21:03:56 +01:00
RKrom
018324d4c4 BUG-1709: Suggestion for StringAlignment conversion issue. 2014-12-02 16:51:07 +01:00
RKrom
c8b8c04b06 FEATURE-777 BUG-1699: Changes for having a border around the Font-Family dropdown, and hopefully increasing the toolstrip width with 1px stops the jumping on Windows Vista. Tried to make the dropdown height less, this doesn't work! [skip ci] 2014-11-19 11:47:16 +01:00
RKrom
8cb2dedb87 Next step for having the settings of effects stored in the greenshot.ini, using a TypeConverter this seems to work. An important change to the IniValue.cs: here a default value is created when the ini doesn't have a value yet. This used to be just "null". Next step would be that settings forms get a reset/default button. [skip ci] 2014-11-17 12:49:06 +01:00
JKlingen
d3dce880dd added shortcut keys and menu items for speech bubble and counter label tools 2014-11-04 21:12:14 +01:00
RKrom
634a4cf262 Replaced the EnableButtonScaling with the possibility to specify the ButtonIconSize directly. Also removed a lot of the fixed size, as they are calculated correctly. Changed the background of the Toolstrips to System.Drawing.SystemColors.Control. 2014-11-03 11:19:28 +01:00
RKrom
7d28b6a3a5 Enhanced the external command plug-in to capture the first Uri in the output, and places this on the clipboard. Additionally the Uri is linked in the notify bubble or when started from the editor. The behaviour can only be modified via the greenshot.ini and is for all commands. 2014-09-09 17:35:51 +02:00
RKrom
cc7f303e08 Changed the destination picker behavior to not sort, this makes it possible to do the sorting in the destinations itself. OneNote places the current page on top, the printer list also starts with the default... etc. 2014-07-29 16:13:12 +02:00