73 Commits

Author SHA1 Message Date
MikeBeaton
bcd2558686 OcAudio: Convert from int ids to string ids 2022-05-05 04:33:54 +01:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
MikeBeaton
01fcc28d21 OpenCanopy: Modify blit order to reduce visible graphics tearing 2021-11-17 09:40:25 +00:00
MikeBeaton
1ec9d18212 OpenCanopy: Remove outdated TPL comment 2021-11-02 07:57:28 +00:00
MikeBeaton
82a0813b24 OpenCanopy: Revert a97de9c1a4dfe7c11e7ddc8ae4a825ec816feba3
Was unintentionally causing redraw of all of screen right and below mouse position every frame.
Found in https://github.com/acidanthera/bugtracker/issues/1737 .
2021-08-18 15:19:36 +01:00
Marvin Häuser
a97de9c1a4 OpenCanopy: Fix incorrect cursor crop code 2021-05-01 17:18:45 +02:00
Marvin Häuser
fa2e072d35 OpenCanopy: Require minimum resolution 2021-05-01 17:18:16 +02:00
Marvin Häuser
2e8dbb1229 OpenCanopy: Improve ShutDown/Restart audio assist 2021-04-02 22:39:08 +02:00
Marvin Häuser
9af9dc1343 OpenCanopy: Support VoiceOver for TAB navigation 2021-04-02 12:42:21 +02:00
Marvin Häuser
37865f71cb OpenCanopy: Change default cursor position 2021-03-27 16:39:22 +01:00
Marvin Häuser
742d8e3e97 OpenCanopy: Import multiple features and fixes
- Fixed flicker when refreshing the entry view
- Added TAB navigation support
- Added graphical password interface
- Added pulsing animation to signal timeout
- Added 'set default' indicator
- Integrate opacity into the drawing pipeline
- Share button handling logics
- Fixed not aborting timeout on pointer click
- Fixed OpenCanopy intro animation not scaling with UIScale
2021-03-26 14:55:42 +01:00
MikeBeaton
31b645f176 OpenCanopy: Restore boot timeout logic after recent kb changes 2021-03-23 15:21:02 +00:00
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
c47ed0785c OpenCanopy: Simplify pointer code 2021-03-22 19:01:09 +01:00
Marvin Häuser
324eae102d OpenCanopy: Fix cursor redraw inconsistency 2021-03-22 17:16:31 +01:00
Marvin Häuser
74c37dc153 OpenCanopy: Remove DEBUG-only code to really silence Coverity 2021-03-20 16:56:01 +01:00
Marvin Häuser
5cff4aa0a5 OpenCanopy: Silence Coverity uninit warning 2021-03-20 15:54:44 +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
6925d74d08 OpenCanopy: Fix pointer event propagation
Resolves issue where clicking on selected boot entries would not work.
2021-03-18 19:22:16 +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
cc61bd7ee9 OpenCanopy: Do not disable interrupts
On some systems, disabling interrupts will severely limit the input quality as it disables the KeySupport and AppleEvent timers. Furthermore, the mechanism barely mitigated tearing, so it was ineffective anyway.
2021-03-17 19:53:16 +01:00
Marvin Häuser
fa75245727 OpenCanopy: Simplify draw request merging 2021-03-16 20:02:38 +01:00
Marvin Häuser
c7ba611e49 OpenCanopy: Fix child clipping
Width and Height may have exceeded the dimensions of the current object.
2021-03-11 01:22:44 +01:00
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