OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
OcAppleUserInterfaceThemeLib.c File Reference
#include <Guid/AppleVariable.h>
#include <Library/DebugLib.h>
#include <Library/OcMiscLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/OcAppleUserInterfaceThemeLib.h>
#include <Protocol/UserInterfaceTheme.h>

Go to the source code of this file.

Functions

STATIC EFI_STATUS EFIAPI UserInterfaceThemeGetColor (OUT UINT32 *Color)
 
EFI_USER_INTERFACE_THEME_PROTOCOLOcAppleUserInterfaceThemeInstallProtocol (IN BOOLEAN Reinstall)
 

Variables

STATIC UINT32 mCurrentColor
 
STATIC EFI_USER_INTERFACE_THEME_PROTOCOL mAppleUserInterfaceThemeProtocol
 

Detailed Description

AppleUserInterfaceTheme protocol

Copyright (c) 2016-2018, vit9696. All rights reserved.
Portions copyright (c) 2018, savvas. All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file OcAppleUserInterfaceThemeLib.c.

Function Documentation

◆ OcAppleUserInterfaceThemeInstallProtocol()

EFI_USER_INTERFACE_THEME_PROTOCOL * OcAppleUserInterfaceThemeInstallProtocol ( IN BOOLEAN Reinstall)

Install and initialise the Apple User Interface Theme protocol.

Parameters
[in]ReinstallReplace any installed protocol.
Returns
Installed or located protocol.
Return values
NULLThere was an error locating or installing the protocol.

Definition at line 47 of file OcAppleUserInterfaceThemeLib.c.

◆ UserInterfaceThemeGetColor()

STATIC EFI_STATUS EFIAPI UserInterfaceThemeGetColor ( OUT UINT32 * Color)

Definition at line 29 of file OcAppleUserInterfaceThemeLib.c.

Variable Documentation

◆ mAppleUserInterfaceThemeProtocol

STATIC EFI_USER_INTERFACE_THEME_PROTOCOL mAppleUserInterfaceThemeProtocol
Initial value:
= {
}
STATIC EFI_STATUS EFIAPI UserInterfaceThemeGetColor(OUT UINT32 *Color)
#define USER_THEME_INTERFACE_PROTOCOL_REVISION

Definition at line 41 of file OcAppleUserInterfaceThemeLib.c.

◆ mCurrentColor

STATIC UINT32 mCurrentColor

Definition at line 24 of file OcAppleUserInterfaceThemeLib.c.