Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
nw4hbm::ut::Color Struct Reference

#include <Color.h>

+ Inheritance diagram for nw4hbm::ut::Color:
+ Collaboration diagram for nw4hbm::ut::Color:

Public Member Functions

 Color ()
 
 Color (u32 color)
 
 Color (const GXColor &color)
 
 Color (int red, int green, int blue, int alpha)
 
 ~Color ()
 
Coloroperator= (u32 color)
 
Coloroperator= (const GXColor &color)
 
Color operator| (u32 color) const
 
Color operator& (u32 color) const
 
u32ToU32ref ()
 
const u32ToU32ref () const
 
u32 ToU32 () const
 
 operator u32 () const
 
void Set (int red, int green, int blue, int alpha)
 

Static Public Attributes

static const u32 RED = 0xFF0000FF
 
static const u32 GREEN = 0x00FF00FF
 
static const u32 BLUE = 0x0000FFFF
 
static const u32 CYAN = 0x00FFFFFF
 
static const u32 MAGENTA = 0xFF00FFFF
 
static const u32 YELLOW = 0xFFFF00FF
 
static const u32 BLACK = 0x000000FF
 
static const u32 GRAY = 0x808080FF
 
static const u32 WHITE = 0xFFFFFFFF
 
static const u32 NOCOLOR = 0x00000000
 
static const u32 MAXCOLOR = 0xFFFFFFFF
 

Additional Inherited Members

- Public Attributes inherited from _GXColor
u8 r
 
u8 g
 
u8 b
 
u8 a
 

Constructor & Destructor Documentation

◆ Color() [1/4]

nw4hbm::ut::Color::Color ( )
inline

◆ Color() [2/4]

nw4hbm::ut::Color::Color ( u32 color)
inline

◆ Color() [3/4]

nw4hbm::ut::Color::Color ( const GXColor & color)
inline

◆ Color() [4/4]

nw4hbm::ut::Color::Color ( int red,
int green,
int blue,
int alpha )
inline

◆ ~Color()

nw4hbm::ut::Color::~Color ( )
inline

Member Function Documentation

◆ operator u32()

nw4hbm::ut::Color::operator u32 ( ) const
inline

◆ operator&()

Color nw4hbm::ut::Color::operator& ( u32 color) const
inline

◆ operator=() [1/2]

Color & nw4hbm::ut::Color::operator= ( const GXColor & color)
inline

◆ operator=() [2/2]

Color & nw4hbm::ut::Color::operator= ( u32 color)
inline

◆ operator|()

Color nw4hbm::ut::Color::operator| ( u32 color) const
inline

◆ Set()

void nw4hbm::ut::Color::Set ( int red,
int green,
int blue,
int alpha )
inline

◆ ToU32()

u32 nw4hbm::ut::Color::ToU32 ( ) const
inline

◆ ToU32ref() [1/2]

u32 & nw4hbm::ut::Color::ToU32ref ( )
inline

◆ ToU32ref() [2/2]

const u32 & nw4hbm::ut::Color::ToU32ref ( ) const
inline

Member Data Documentation

◆ BLACK

const u32 nw4hbm::ut::Color::BLACK = 0x000000FF
static

◆ BLUE

const u32 nw4hbm::ut::Color::BLUE = 0x0000FFFF
static

◆ CYAN

const u32 nw4hbm::ut::Color::CYAN = 0x00FFFFFF
static

◆ GRAY

const u32 nw4hbm::ut::Color::GRAY = 0x808080FF
static

◆ GREEN

const u32 nw4hbm::ut::Color::GREEN = 0x00FF00FF
static

◆ MAGENTA

const u32 nw4hbm::ut::Color::MAGENTA = 0xFF00FFFF
static

◆ MAXCOLOR

const u32 nw4hbm::ut::Color::MAXCOLOR = 0xFFFFFFFF
static

◆ NOCOLOR

const u32 nw4hbm::ut::Color::NOCOLOR = 0x00000000
static

◆ RED

const u32 nw4hbm::ut::Color::RED = 0xFF0000FF
static

◆ WHITE

const u32 nw4hbm::ut::Color::WHITE = 0xFFFFFFFF
static

◆ YELLOW

const u32 nw4hbm::ut::Color::YELLOW = 0xFFFF00FF
static

The documentation for this struct was generated from the following file: