GRRLIB user include file. More...
#include <gccore.h>#include "grrlib/GRRLIB__lib.h"#include "grrlib/GRRLIB__inline.h"Data Structures | |
| struct | GRRLIB_drawSettings |
| Structure to hold the current drawing settings. More... | |
| struct | GRRLIB_texImg |
| Structure to hold the texture information. More... | |
| struct | GRRLIB_bytemapChar |
| Structure to hold the bytemap character information. More... | |
| struct | GRRLIB_bytemapFont |
| Structure to hold the bytemap font information. More... | |
| struct | tagBITMAPFILEHEADER |
| This structure contains information about the type, size, and layout of a file that containing a device-independent bitmap (DIB). More... | |
| struct | tagBITMAPINFOHEADER |
| This structure contains information about the dimensions and color format of a device-independent bitmap (DIB). More... | |
| struct | tagRGBQUAD |
| The RGBQUAD structure describes a color consisting of relative intensities of red, green, and blue. More... | |
Defines | |
| #define | R(c) (((c) >>24) &0xFF) |
| Exract Red component of colour. | |
| #define | G(c) (((c) >>16) &0xFF) |
| Exract Green component of colour. | |
| #define | B(c) (((c) >> 8) &0xFF) |
| Exract Blue component of colour. | |
| #define | A(c) ( (c) &0xFF) |
| Exract Alpha component of colour. | |
| #define | RGBA(r, g, b, a) |
| Build an RGB pixel from components. | |
| #define | GRRLIB_BLEND_NONE (GRRLIB_BLEND_ALPHA) |
| Alias for GRRLIB_BLEND_ALPHA. | |
| #define | GRRLIB_BLEND_LIGHT (GRRLIB_BLEND_ADD) |
| Alias for GRRLIB_BLEND_ADD. | |
| #define | GRRLIB_BLEND_SHADE (GRRLIB_BLEND_MULTI) |
| Alias for GRRLIB_BLEND_MULTI. | |
| #define | GRR_EXTERN extern |
| #define | GRR_INIT(v) |
| #define | GRR_INITS(...) |
| #define | INLINE inline |
Typedefs | |
| typedef unsigned int | uint |
| typedef enum Composition_Modes | GRRLIB_ComposeMode |
| Compositions Modes. | |
| typedef struct tagBITMAPFILEHEADER | BITMAPFILEHEADER |
| This structure contains information about the type, size, and layout of a file that containing a device-independent bitmap (DIB). | |
| typedef struct tagBITMAPINFOHEADER | BITMAPINFOHEADER |
| This structure contains information about the dimensions and color format of a device-independent bitmap (DIB). | |
| typedef struct tagRGBQUAD | RGBQUAD |
| The RGBQUAD structure describes a color consisting of relative intensities of red, green, and blue. | |
Enumerations | |
| enum | Composition_Modes { GRRLIB_COMPOSE_NORMAL } |
Compositions Modes. More... | |
| enum | GRRLIB_blendMode { GRRLIB_BLEND_ALPHA = 0, GRRLIB_BLEND_ADD = 1, GRRLIB_BLEND_SCREEN = 2, GRRLIB_BLEND_MULTI = 3, GRRLIB_BLEND_INV = 4 } |
GRRLIB Blending Modes. More... | |
Functions | |
| GRR_EXTERN void *xfb[2] | GRR_INITS (NULL, NULL) |
| GRR_EXTERN u32 fb | GRR_INIT (0) |
Variables | |
| GRR_EXTERN GXRModeObj * | rmode |
GRRLIB user include file.
| #define A | ( | c | ) | ( (c) &0xFF) |
Exract Alpha component of colour.
| #define B | ( | c | ) | (((c) >> 8) &0xFF) |
Exract Blue component of colour.
| #define G | ( | c | ) | (((c) >>16) &0xFF) |
Exract Green component of colour.
| #define GRRLIB_BLEND_LIGHT (GRRLIB_BLEND_ADD) |
Alias for GRRLIB_BLEND_ADD.
| #define GRRLIB_BLEND_NONE (GRRLIB_BLEND_ALPHA) |
Alias for GRRLIB_BLEND_ALPHA.
| #define GRRLIB_BLEND_SHADE (GRRLIB_BLEND_MULTI) |
Alias for GRRLIB_BLEND_MULTI.
| #define R | ( | c | ) | (((c) >>24) &0xFF) |
Exract Red component of colour.
| #define RGBA | ( | r, | |||
| g, | |||||
| b, | |||||
| a | ) |
( (u32)( ( ((u32)(r)) <<24) | \
((((u32)(g)) &0xFF) <<16) | \
((((u32)(b)) &0xFF) << 8) | \
( ((u32)(a)) &0xFF ) ) )
Build an RGB pixel from components.
| typedef struct tagRGBQUAD RGBQUAD |
The RGBQUAD structure describes a color consisting of relative intensities of red, green, and blue.
The bmiColors member of the BITMAPINFO structure consists of an array of RGBQUAD structures.
| enum Composition_Modes |
| enum GRRLIB_blendMode |
1.6.1