mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-25 16:22:20 +00:00
[CHG] Added some missing comments
This commit is contained in:
parent
d8cbc89741
commit
4e0e562178
1 changed files with 5 additions and 1 deletions
|
@ -55,7 +55,7 @@ THE SOFTWARE.
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
// Extra standard declarations
|
// Extra standard declarations
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
typedef unsigned int uint;
|
typedef unsigned int uint;/**< The uint keyword signifies an integral type. */
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
// Primitive colour macros
|
// Primitive colour macros
|
||||||
|
@ -67,6 +67,10 @@ typedef unsigned int uint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build an RGB pixel from components.
|
* Build an RGB pixel from components.
|
||||||
|
* @param r Red component.
|
||||||
|
* @param g Green component.
|
||||||
|
* @param b Blue component.
|
||||||
|
* @param a Alpha component.
|
||||||
*/
|
*/
|
||||||
#define RGBA(r,g,b,a) ( (u32)( ( ((u32)(r)) <<24) | \
|
#define RGBA(r,g,b,a) ( (u32)( ( ((u32)(r)) <<24) | \
|
||||||
((((u32)(g)) &0xFF) <<16) | \
|
((((u32)(g)) &0xFF) <<16) | \
|
||||||
|
|
Loading…
Reference in a new issue