Commit graph

196 commits

Author SHA1 Message Date
Jaex
94e45b5cb8 Update year 2023-01-09 23:31:02 +03:00
L1Q
7f7139f15c
Make resize nodes more stable 2022-07-31 04:26:49 +03:00
Jaex
22c2179796 #5883: Also support active monitor mode in light and transparent region captures 2022-02-23 14:15:45 +03:00
Eric Tetz
28ff51c082 Fix panning regression, where panning at limit accumulates invisible changes. 2022-02-20 14:59:29 -07:00
Eric Tetz
5f7c9096e0
Switch to floating point internally. Panning fixes. (#6108)
* Switch to floating point internally. Panning fixes.

* Fix panning/zoom coordination errors.
2022-02-20 09:30:39 +03:00
Jaex
1ea1dacb0f Code refactoring 2022-02-15 11:01:29 +03:00
Eric Tetz
6fdc7cb768 Fix centering, add hotkeys, add zoom to fit.
Don't zoom during capture.

Performance: don't apply ScaleTransform when zoom is 100%. Draw background using SourceCopy rather than SourceOver.

Fix scaled centering.

Add hotkeys CTRL -, CTRL + to zoom in/out.

Add "Zoom To Fit" (CTRL+ALT+0) and "Zoom to fit on startup" editor option.
2022-02-12 18:43:37 -07:00
Eric Tetz
468d6ed3d6 Hide 100% zoom. CTRL+0 to reset. Fix magnifier and info text. Center zoom on mouse. Use GraphicsQualityManager. 2022-02-08 23:10:15 -07:00
Eric Tetz
2ee7843393 First pass at adding zoom to image editor, via CTRL+mouse wheel. 2022-01-31 18:01:18 -07:00
Jaex
8c3dc0b78c Update year 2022-01-11 19:32:17 +03:00
Jaex
837ef0a7fc Update year 2021-07-29 06:22:51 +03:00
Jaex
e8ad4b8553 Code refactoring 2021-06-10 01:14:01 +03:00
Jaex
803a4e567c Update year 2020-02-05 10:19:48 +03:00
Jaex
79bcce9623 Ignore desktop when checking for fullscreen 2019-04-20 23:23:30 +03:00
Jaex
469fc29b87 Update year 2019-01-02 10:43:52 +03:00
Jaex
dcbe2ab4fe #2955: Support old resize node style 2018-08-23 13:20:55 +03:00
Chris Pilcher
c37ed09cd2 Fixed multiple capitalization errors which prevented building. 2018-07-17 09:49:53 -04:00
Jaex
cb3711632c Fix "Use of implied arithmetic operator precedence" 2018-05-16 16:27:11 +03:00
Jaex
0dbaa2e676 Removed ScreenColorPicker.cs instead using ColorPickerForm for both 2018-04-18 19:29:02 +03:00
Jaex
bc0918337d NuGet update, rename few classes 2018-04-08 12:12:52 +03:00
Jaex
8ef3d84d65 Added AutoHide property 2018-04-04 23:27:22 +03:00
Jaex
57cb894ce2 Increase version for beta 2018-04-04 23:05:53 +03:00
Jaex
7c47e96ca1 Fix pixel offset 2018-04-04 22:16:52 +03:00
Jaex
240f381d6e Update scroll bar style 2018-04-04 22:06:11 +03:00
Jaex
f429dc1051 Show scroll bar when dragging 2018-04-04 19:08:07 +03:00
Jaex
98f26fa25a Use IsDragging that way people can drag scroll bar 2018-04-04 19:00:38 +03:00
L1Q
276a3a504f Add OnMouseDown interaction to scrollbars 2018-04-04 14:51:32 +03:00
Jaex
935492e008 Added TrackColor and ThumbColor 2018-04-04 04:26:06 +03:00
Jaex
a991401253 Added IsCapsule option 2018-04-04 04:21:21 +03:00
L1Q
77adaed264 Fix scrollbar thumbs
- refactor scrollbar code
2018-04-04 03:35:05 +03:00
Jaex
d69fd99854 Fix track margin 2018-04-04 02:01:32 +03:00
Jaex
58397d982d If scroll bar needed then show it always with transparency, when hovered with cursor or panning then show it solid 2018-04-04 00:39:56 +03:00
Jaex
6185385c9b Move ScrollbarManager to ShapeManager 2018-04-03 23:46:38 +03:00
Jaex
d7e369a210 Added UpdateOpacity method 2018-04-03 23:27:33 +03:00
Jaex
37a6127e57 Added ScrollBar class to support mouse input 2018-04-03 23:08:24 +03:00
Jaex
c33bc4844f CodeMaid cleanup 2018-03-01 01:52:11 +03:00
Jaex
b463a16567 Update year 2018-01-01 17:59:14 +03:00
Jaex
4f1b2f16c0 Use darker button color for depth color instead of black 2017-12-17 08:56:58 +03:00
Jaex
1b5f446a6d Added MouseEnter, MouseLeave events to DrawableObject, show hand cursor for buttons 2017-12-15 03:32:41 +03:00
Jaex
f2bb4d7f6f If crop buttons out of client area then move them to inside crop rectangle 2017-12-13 23:03:06 +03:00
Jaex
4fb70e864a Added button hover state 2017-12-13 00:37:38 +03:00
Jaex
e7d3aabb2a Added crop cancel button 2017-12-12 20:06:06 +03:00
Jaex
2c4943234f Added mouse events to DrawableObject, if object clicked then handle mouse input, crop confirm button works now 2017-12-12 19:12:25 +03:00
Jaex
e1a86be0fa Moved DrawableObjects to ShapeManager, adding confirm button to crop tool 2017-12-12 18:50:02 +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
fa6b20a8fd Refactor ScrollbarManager class 2017-12-10 12:45:39 +03:00
L1Q
b90d4885ec Add scrollbar fade effect 2017-12-09 22:44:49 +02:00
Jaex
6c1047eab8 Added ScrollbarManager 2017-12-08 17:21:44 +03:00