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

15 lines
308 B
C

/** @file
This file is part of OpenCanopy, OpenCore GUI.
Copyright (c) 2021, Marvin Häuser. All rights reserved.<BR>
SPDX-License-Identifier: BSD-3-Clause
**/
#ifndef BLENDING_H_
#define BLENDING_H_
#define RGB_APPLY_OPACITY(Rgba, Opacity) \
(((Rgba) * (Opacity)) / 0xFF)
#endif // BLENDING_H_