NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
mColor Struct Reference

#include <game/mLib/m_color.hpp>

Inheritance diagram for mColor:
[legend]

Description

A 32-bit RGBA color.

Definition at line 6 of file m_color.hpp.

Public Member Functions

 mColor (nw4r::ut::Color color)
 
- Public Member Functions inherited from nw4r::ut::Color
 Color (ulong color)
 
 Color (int red, int green, int blue, int alpha)
 
 Color (const GXColor &rColor)
 
void Set (int red, int green, int blue, int alpha)
 
Coloroperator= (ulong color)
 
Coloroperator= (const GXColor &rColor)
 
Color operator| (ulong color) const
 
Color operator& (ulong color) const
 
ulong & Toulongref ()
 
const ulong & Toulongref () const
 
ulong Toulong () const
 
 operator ulong () const
 

Additional Inherited Members

- Public Attributes inherited from _GXColor
u8 r
 
u8 g
 
u8 b
 
u8 a
 
- Static Public Attributes inherited from nw4r::ut::Color
static const ulong RED = 0xFF0000FF
 
static const ulong GREEN = 0x00FF00FF
 
static const ulong BLUE = 0x0000FFFF
 
static const ulong CYAN = 0x00FFFFFF
 
static const ulong MAGENTA = 0xFF00FFFF
 
static const ulong YELLOW = 0xFFFF00FF
 
static const ulong BLACK = 0x000000FF
 
static const ulong GRAY = 0x808080FF
 
static const ulong WHITE = 0xFFFFFFFF
 

Constructor & Destructor Documentation

◆ mColor() [1/2]

mColor::mColor ( )
inline

Definition at line 8 of file m_color.hpp.

◆ mColor() [2/2]

mColor::mColor ( nw4r::ut::Color color)
inline

Definition at line 9 of file m_color.hpp.