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 }
Definition: Color.hpp:17
u8 B
Definition: Color.hpp:25
u8 G
Definition: Color.hpp:24
u8 A
Definition: Color.hpp:26
u8 R
Definition: Color.hpp:23
Definition: Color.hpp:19