C-Menu 0.2.9
A User Interface Toolkit
Loading...
Searching...
No Matches
RGB Struct Reference

#include </usr/local/src/C-Menu/src/ui/ui_notcurses_internal.h>

Collaboration diagram for RGB:
[legend]

Data Fields

union { 
   struct { 
      uint8_t   a 
      uint8_t   b 
      uint8_t   g 
      uint8_t   r 
   } 
   uint32_t   color 
}; 
int32_t a
unsigned int b
int32_t b
unsigned int g
int32_t g
unsigned int r
int32_t r

Detailed Description

Definition at line 150 of file ui_notcurses_internal.h.

Field Documentation

◆ [union]

union { ... } RGB

◆ a [1/2]

int32_t RGB::a

Definition at line 122 of file ui_ncurses_internal.h.

◆ a [2/2]

uint8_t RGB::a

Definition at line 153 of file ui_notcurses_internal.h.

◆ b [1/3]

unsigned int RGB::b

Definition at line 32 of file nckeys.c.

Referenced by hex_clr_str_to_rgb(), plane_new(), and surface_new().

◆ b [2/3]

int32_t RGB::b

Definition at line 122 of file ui_ncurses_internal.h.

◆ b [3/3]

unsigned int RGB::b

Definition at line 153 of file ui_notcurses_internal.h.

◆ color

uint32_t RGB::color

Definition at line 155 of file ui_notcurses_internal.h.

Referenced by ui_chg_color().

◆ g [1/3]

unsigned int RGB::g

Definition at line 32 of file nckeys.c.

Referenced by hex_clr_str_to_rgb(), plane_new(), and surface_new().

◆ g [2/3]

int32_t RGB::g

Definition at line 122 of file ui_ncurses_internal.h.

◆ g [3/3]

unsigned int RGB::g

Definition at line 153 of file ui_notcurses_internal.h.

◆ r [1/3]

unsigned int RGB::r

Definition at line 32 of file nckeys.c.

Referenced by hex_clr_str_to_rgb(), plane_new(), and surface_new().

◆ r [2/3]

int32_t RGB::r

Definition at line 122 of file ui_ncurses_internal.h.

◆ r [3/3]

unsigned int RGB::r

Definition at line 153 of file ui_notcurses_internal.h.


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