libGumball
0.0.1
C23-Based, libGimbal-powered UI Library
Loading...
Searching...
No Matches
gumball_color.h
Go to the documentation of this file.
1
#
ifndef
GUM_COLOR_H
2
#
define
GUM_COLOR_H
3
4
// View this file's documentation online: https://libgumball.psyops.studio/gumball__color_8h.html
5
6
/*! \file
7
* \ingroup types
8
*
9
* GUM_Color is a simple RGBA color structure
10
*
11
* \author 2025 AgustÃn Bellagamba
12
* \copyright MIT License
13
*/
14
15
#
include
<
gimbal
/
gimbal_meta
.
h
>
16
17
GBL_DECLS_BEGIN
18
19
/*! \struct GUM_Color
20
* \brief GUM_Color structure
21
*/
22
typedef
struct
{
23
uint8_t r;
//!< Red component
24
uint8_t g;
//!< Green component
25
uint8_t b;
//!< Blue component
26
uint8_t a;
//!< Alpha component
27
} GUM_Color;
28
29
#
define
GUM_COLOR_TYPE
(
GBL_TYPEID
(
GUM_Color
)
)
//!< Returns the GUM_Color Type UUID
30
31
//! \cond
32
GblType GUM_Color_type(
void
);
33
//! \endcond
34
35
GBL_DECLS_END
36
37
#
endif
// GUM_COLOR_H
lib
api
gumball
types
gumball_color.h
Generated by
1.15.0