Plutonium framework API
0.1
Simple UI framework for libnx and SDL2
Color.hpp
Go to the documentation of this file.
1
2
/*
3
4
Plutonium library
5
6
@file Color.hpp
7
@brief A Color is used for basic RGBA drawing in all kind of elements.
8
@author XorTroll
9
10
@copyright Plutonium project - an easy-to-use UI framework for Nintendo Switch homebrew
11
12
*/
13
14
#pragma once
15
#include <switch.h>
16
17
namespace
pu::draw
18
{
19
struct
Color
20
{
21
Color
();
22
Color
(u8
R
, u8
G
, u8
B
, u8
A
);
23
u8
R
;
24
u8
G
;
25
u8
B
;
26
u8
A
;
27
};
28
}
pu::draw
Definition:
Color.hpp:17
pu::draw::Color::B
u8 B
Definition:
Color.hpp:25
pu::draw::Color::G
u8 G
Definition:
Color.hpp:24
pu::draw::Color::Color
Color()
pu::draw::Color::A
u8 A
Definition:
Color.hpp:26
pu::draw::Color::R
u8 R
Definition:
Color.hpp:23
pu::draw::Color
Definition:
Color.hpp:19
Plutonium
Include
pu
draw
Color.hpp
Generated by
1.8.15