summaryrefslogtreecommitdiff
path: root/pages/develop/api/efl/gfx/color32.txt
blob: b15034de5f82a1fd6c015cb56c8e973c64dbbb2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
~~Title: Efl.Gfx.Color32~~
===== Description =====

%%32 bit color data structure%%

{{page>:develop:api-include:efl:gfx:color32:description&nouser&nolink&nodate}}

===== Fields =====

{{page>:develop:api-include:efl:gfx:color32:fields&nouser&nolink&nodate}}

  * **r** - %%Red component of the color%%
  * **g** - %%Green component of the color%%
  * **b** - %%Blue component of the color%%
  * **a** - %%Translucent component of the color%%

===== Signature =====

<code>
struct Efl.Gfx.Color32 {
    r: uint8;
    g: uint8;
    b: uint8;
    a: uint8;
}
</code>

===== C signature =====

<code c>
typedef struct _Efl_Gfx_Color32 {
    uint8_t r;
    uint8_t g;
    uint8_t b;
    uint8_t a;
} Efl_Gfx_Color32;
</code>