OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
AppleDiskLabel.h File Reference

Go to the source code of this file.

Data Structures

struct  APPLE_DISK_LABEL_
 

Macros

#define APPLE_DISK_LABEL_PALETTED   1
 
#define APPLE_DISK_LABEL_BGRA   2
 
#define APPLE_DISK_LABEL_MAX_WIDTH   340U
 
#define APPLE_DISK_LABEL_MAX_HEIGHT   12U
 

Typedefs

typedef struct APPLE_DISK_LABEL_ APPLE_DISK_LABEL
 

Detailed Description

Copyright (C) 2020, vit9696. 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 AppleDiskLabel.h.

Macro Definition Documentation

◆ APPLE_DISK_LABEL_BGRA

#define APPLE_DISK_LABEL_BGRA   2

Image contains 8-bit values, which are BGRA sequences. For alpha 0xFF is fully transparent and 0x00 is fully opaque.

Definition at line 26 of file AppleDiskLabel.h.

◆ APPLE_DISK_LABEL_MAX_HEIGHT

#define APPLE_DISK_LABEL_MAX_HEIGHT   12U

Definition at line 32 of file AppleDiskLabel.h.

◆ APPLE_DISK_LABEL_MAX_WIDTH

#define APPLE_DISK_LABEL_MAX_WIDTH   340U

Maximum disk label width and height for 1x scale.

Definition at line 31 of file AppleDiskLabel.h.

◆ APPLE_DISK_LABEL_PALETTED

#define APPLE_DISK_LABEL_PALETTED   1

Image contains 8-bit values, which are indices in the opacity palette. Colour is black.

Definition at line 20 of file AppleDiskLabel.h.

Typedef Documentation

◆ APPLE_DISK_LABEL

Apple disk label structure, all fields are Big Endian.