63 Commits

Author SHA1 Message Date
MikeBeaton
e69e28cb69 BootPickers: Apple Event kb handling + typing; Apple Key Map non-repeat key handling; CTRL indicator in Builtin. 2021-03-23 12:26:46 +00:00
Marvin Häuser
3aed828870 OpenCanopy: Use ResetSystemLib for resets 2021-03-20 11:19:08 +01:00
Marvin Häuser
29b6a69845 OpenCanopy: Initial double-click support 2021-03-20 11:17:27 +01:00
Marvin Häuser
6e13160e22 OpenCanopy: Pull KeyEvent out of GUI objects
Key events cannot abstractly be propagated, hence there is no point to the abstraction.
2021-03-19 22:42:11 +01:00
Marvin Häuser
bfe091c0e6 OpenCanopy: Fix ASSERT on timeout 2021-03-18 11:06:14 +01:00
Marvin Häuser
8f84ad21f1 OpenCanopy: Move selector to BootPickerContainer 2021-03-17 20:04:46 +01:00
Marvin Häuser
747be85475 OpenCanopy: Change child structure layout for no-op casts 2021-03-17 20:04:46 +01:00
Marvin Häuser
7b7d36a866 OpenCanopy: Replace linked lists with arrays for GUI object children 2021-03-17 20:04:46 +01:00
Marvin Häuser
8ff1642bab OpenCanopy: Swap Restart/ShutDown buttons 2021-03-16 20:05:35 +01:00
Marvin Häuser
b7ba490e1f OpenCanopy: Shift cut-off entries right rather than left 2021-03-14 20:20:17 +01:00
Marvin Häuser
b0530eae93 OpenCanopy: Do not include padding for the first boot entry
Fixes https://github.com/acidanthera/bugtracker/issues/1564
2021-03-14 20:13:02 +01:00
Marvin Häuser
ba8eb0e185 OpenCanopy: Detect click-ability by opacity 2021-03-08 23:28:55 +01:00
Marvin Häuser
b173d50526 OpenCanopy: Add shutdown/restart buttons 2021-03-08 23:28:51 +01:00
Marvin Häuser
7372f6d2e4 OpenCanopy: Simplify background colour drawing 2021-03-08 16:13:47 +01:00
Marvin Häuser
52d30eef56 OpenCanopy: Fix regression from last commit
Non-overflowing picker may be left-aligned instead of centered.
2021-03-07 21:51:33 +01:00
Marvin Häuser
446ce70f12 OpenCanopy: Prevent cut-off entries entirely 2021-03-07 20:48:40 +01:00
Marvin Häuser
5079a14275 OpenCanopy: Use view over draw context screen 2021-03-07 19:33:47 +01:00
Marvin Häuser
daf222e4e7 OpenCanopy: Assume view is at (0, 0) 2021-03-07 19:32:47 +01:00
Marvin Häuser
cfbf298ece OpenCanopy: Do not set dimensions for global GUI objects 2021-03-07 13:41:43 +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
9733d3ce96 OpenCanopy: Apply intro animation to the BootPicker container
May improve performance with an overfull list. Implicitly fixes a regression where the default entry may end up being cut off.
2021-03-07 13:20:01 +01:00
Marvin Häuser
684ab9cbb8 OpenCanopy: Remove unnecessary child abstraction for scroll buttons 2021-03-07 11:37:53 +01:00
Marvin Häuser
addabab242 OpenCanopy: Delay drawing based on draw requests 2021-03-06 22:57:50 +01:00
Marvin Häuser
6f3329a2f1 OpenCanopy: Merge the intro animations 2021-03-06 11:46:08 +01:00
Marvin Häuser
8fe2f8051d OpenCanopy: Remove unused variable 2021-03-05 19:02:23 +01:00
Marvin Häuser
d308a1c7e2 OpenCanopy: Simplify intro animation 2021-03-05 18:01:37 +01:00
Marvin Häuser
c493a4f621 OpenCanopy: Remove pointless ASSERTs 2021-03-05 17:53:24 +01:00
Marvin Häuser
b1990b1e72 OpenCanopy: Do not draw the entry selection twice each frame on intro 2021-03-05 17:53:24 +01:00
Marvin Häuser
fac607bf94 OpenCanopy: Refactor pointer code to remove unnecessary abstractions 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
c4b2f06bb2 OpenCanopy: Fix buggy ASSERT
Fixes https://github.com/acidanthera/bugtracker/issues/1439
2021-01-18 11:19:18 +01:00
Marvin Häuser
a655f60e93 OpenCanopy: Fix re-entrance initialisation 2021-01-06 17:13:15 +01:00
Marvin Häuser
aeb0fb4cd6 OpenCanopy: Fix broken selector click event 2021-01-06 17:13:15 +01:00
Marvin Häuser
20b4db3322 OpenCanopy: Support variably-sized selector 2021-01-06 17:13:15 +01:00
Marvin Häuser
4f9f186e32 OpenCanopy: Center picker by icons and labels 2021-01-06 17:13:15 +01:00
Marvin Häuser
a377110df6 OpenCanopy: Add scroll buttons for mouse and touch usage 2021-01-06 17:13:15 +01:00
Marvin Häuser
31c82e3bc0 OpenCanopy: Small optimisations 2021-01-06 17:13:15 +01:00
Marvin Häuser
378fb8ab2d OpenCanopy: Support centred background images 2021-01-06 17:13:15 +01:00
Marvin Häuser
0ddb54a6b0 OpenCanopy: Support basic keyboard-based scrolling 2021-01-06 17:13:15 +01:00
PMheart
e7f7360076 OpenCanopy: Implement PickerVariant support 2021-01-02 16:34:10 +03:00
vit9696
9f1cee637a OpenCanopy: Fix double-click regression introduced in 0.6.5
closes acidanthera/bugtracker#1386
2020-12-23 20:15:23 +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
816e82188f OpenCanopy: Reduce size by restricting boot management access 2020-08-11 18:03:10 +03:00
vit9696
f5528850ac OpenCanopy: Fixed incorrect volume icon dimension requirements
closes acidanthera/bugtracker#1011
2020-06-29 07:23:12 +03:00
vit9696
9d5aa267a9 OpenCanopy: Fixed icon choice for Apple FW update 2020-06-02 03:57:54 +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
77b1445353 OpenCanopy: Fixed showing internal icons for external drives 2020-05-10 20:28:43 +03:00
Download-Fritz
9440cd057b OcBootManagementLib: Use static functions for Boot Policy
Includes fixing an issue where generic booters were added for file systems that already had a primary booter by the use of "core" Apple Boot Policy predefined paths.
2020-05-07 17:34:53 +02:00