49 Commits

Author SHA1 Message Date
Marvin Häuser
7372f6d2e4 OpenCanopy: Simplify background colour drawing 2021-03-08 16:13:47 +01:00
Marvin Häuser
c3c3508ae0 OpenCanopy: Properly offset pointer image 2021-03-08 15:06:55 +01:00
Marvin Häuser
99d0262211 OpenCanopy: Reset FrameTime per GUI loop
Animations beyond GUI loop iterations are not supported.
2021-03-07 15:17:07 +01:00
Marvin Häuser
6fab23fb94 OpenCanopy: Do not delegate past pointer events 2021-03-07 15:10:41 +01:00
Marvin Häuser
06a0374352 OpenCanopy: Do not crop draw requests for always-on-screen elements 2021-03-07 13:41:39 +01:00
Marvin Häuser
90a1dbd828 OpenCore: Simplify screen crop code 2021-03-06 22:57:50 +01:00
Marvin Häuser
c352bd4f31 OpenCanopy: Overlay pointer late to further reduce input lag 2021-03-06 22:57:50 +01:00
Marvin Häuser
addabab242 OpenCanopy: Delay drawing based on draw requests 2021-03-06 22:57:50 +01:00
Marvin Häuser
28eb1cc675 OpenCanopy: Simplify draw requests 2021-03-06 11:46:05 +01:00
Marvin Häuser
71536e6d85 OpenCanopy: Merge draw requests iff not more area is drawn 2021-03-06 11:45:13 +01:00
Marvin Häuser
879f0e5c3c OpenCanopy: Restore the old cursor rectangle early 2021-03-05 17:53:24 +01:00
Marvin Häuser
626bb17d65 OpenCanopy: Fix potential crash on exit 2021-03-05 12:33:26 +01:00
Marvin Häuser
ca0b337f5b OpenCanopy: Remove unused parameter 2021-03-03 14:28:52 +03:00
Marvin Häuser
fac607bf94 OpenCanopy: Refactor pointer code to remove unnecessary abstractions 2021-03-03 14:28:52 +03:00
Marvin Häuser
4008e31d1b OpenCanopy: Re-poll coordinates on cursor draw to reduce input lag 2021-03-03 14:28:52 +03:00
Marvin Häuser
c2f30dc7f6 OpenCanopy: Simplify pointer state code 2021-03-03 14:28:52 +03:00
Marvin Häuser
a8522cc3a5 OpenCanopy: Optimise cursor (re)drawing 2021-03-03 14:28:52 +03:00
Marvin Häuser
d97fde1d27 OpenCanopy: Remove redundant ASSERTs 2021-03-03 14:28:52 +03:00
Marvin Häuser
da80bd038c OpenCanopy: Slightly optimise child clipping 2021-03-03 14:28:52 +03:00
Marvin Häuser
1e0ae75d7a OpenCanopy: Separate code paths for additional opaque blending 2021-03-03 14:28:52 +03:00
Marvin Häuser
cb998a2c2b OpenCanopy: Separate functions to draw images and fill 2021-03-03 14:28:52 +03:00
Marvin Häuser
7456a41d42 OpenCanopy: Allow redraw requests only from top-level 2021-03-03 14:28:52 +03:00
Marvin Häuser
2b4ee6ad96 OpenCanopy: Simplify code 2021-03-03 14:28:52 +03:00
Marvin Häuser
31bbb23776 OpenCanopy: Do not blend background colour 2021-03-03 14:28:52 +03:00
Marvin Häuser
dc0d11245b OpenCanopy: Slightly simplify blending control flow 2021-03-03 14:28:52 +03:00
vit9696
ec525758e8 OpenCanopy: Fix abort timeout sound on key press
closes acidanthera/bugtracker#1499
2021-02-21 12:13:07 +03:00
Marvin Häuser
6698ee9c36 OpenCanopy: Do not draw children outside their parent's bounds 2021-01-06 17:13:15 +01:00
Marvin Häuser
31c82e3bc0 OpenCanopy: Small optimisations 2021-01-06 17:13:15 +01:00
vit9696
c23174e701 OpenCanopy: Fix timeout sound in audio assistant 2021-01-02 16:19:56 +03:00
Michael Belyaev
d815a83be0
OpenCanopy: Basic audio assist support (#74)
Co-authored-by: Michael Belyaev <usrsse2@me.com>
Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
2020-12-16 23:03:11 +03:00
vit9696
8de0843341 OpenCanopy: Do not try to draw cursor when pointer control is disabled 2020-12-06 05:13:58 +03:00
vit9696
b480c025ed OpenCanopy: Fix assertion with disabled mouse pointer 2020-12-06 05:04:29 +03:00
vit9696
5c9e826cc7 OpenCanopy: Made pointer control optional via PickerAttributes 2020-12-06 03:38:20 +03:00
dakanji
3be03979a8
OcPngLib: Use Standard OpenCore Function Name Format (#156) 2020-11-22 11:01:17 +03:00
vit9696
8ee217afbc OcSerializeLib: Fix potential compiler warning 2020-10-04 07:06:23 +03:00
Michael Belyaev
df50d19093 OpenCanopy: change VOID* to explicit BOOT_PICKER_GUI_CONTEXT* 2020-05-17 20:30:46 +03:00
vit9696
bd0cc2f54f OpenCanopy: Added partial hotkey support (e.g. Ctrl+Enter) 2020-05-11 02:55:25 +03:00
vit9696
76e889f89a OpenCanopy: Fix black splash with non-black bg 2020-05-10 23:03:45 +03:00
vit9696
77b1445353 OpenCanopy: Fixed showing internal icons for external drives 2020-05-10 20:28:43 +03:00
Michael Belyaev
b4e2820be3
OpenCanopy: Improve font support (#43)
- Fix various issues during BMF font loading.
- Add 2x font support (requires the height to be 12*Scale, like bless-generated).
- Add fonts without kerning support.
- Rename `Light` to `LightBackground` and fix color comparison direction.
- Add support loading images that already have premultiplied alpha (use it for font).
- Improve font/label size assertion messages
- Draw font-rendered labels and image lebels with alpha to fix background blending.
- Update Xcode project to work with indexing.
- OcAppleDiskImageLibInternal: fix error handling issues.
2020-05-05 18:46:21 +03:00
Michael Belyaev
610a57f83f
OpenCanopy: Support HiDPI in fontless mode (#39)
Co-authored-by: Michael Belyaev <usrsse2@me.com>
2020-04-27 20:32:36 +03:00
TaiPhamD
aaabecacb6
OpenCanopy: Add timeout support (#36)
Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
2020-04-24 18:52:55 +03:00
vit9696
3ec848da3d Build: Replace RETURN_ macros with EFI_ 2020-04-18 15:55:05 +03:00
vit9696
20fa82da42 OpenCanopy: Added AppleEvent mouse support 2020-04-14 06:20:50 +03:00
vit9696
14f50ad9b2 OcCompressionLib: Implement alpha premultiplication for RLE24 2020-04-10 00:51:19 +03:00
vit9696
219fdc47c4 OpenCanopy: Fixed rendering macOS installer icons 2020-04-10 00:07:45 +03:00
vit9696
35e1b5be67 OpenCanopy: Switch to icns and support more icons and labels 2020-04-06 03:42:08 +03:00
vit9696
aac39637f6
OpenCanopy: Various improvements (#28)
- Implemented disk label support
- Implemented volume icon support
- Separated PickerAttrbutes from ConsoleAttributes

Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
Co-authored-by: Michael Belyaev <usrsse2@me.com>
2020-04-06 00:39:17 +03:00
vit9696
63735d449b Build: Rename some tools and drivers 2020-03-15 17:27:29 +03:00