40 lines
756 B
Plaintext
40 lines
756 B
Plaintext
:Author: Thomas "Cakeisalie5" Touhey
|
|
:Email: thomas@touhey.fr
|
|
:man source: libmonochrome
|
|
:man manual: libmonochrome
|
|
|
|
ML_COLOR(3)
|
|
===========
|
|
|
|
NAME
|
|
----
|
|
ML_color - Colors from libmonochrome
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[source,c]
|
|
----
|
|
#include <monochrome.h>
|
|
|
|
typedef enum {
|
|
ML_TRANSPARENT = -1,
|
|
ML_WHITE,
|
|
ML_BLACK,
|
|
ML_XOR,
|
|
ML_CHECKER
|
|
} ML_Color;
|
|
----
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
ML_Color is an enumeration of the different colors used by libmonochrome.
|
|
|
|
ML_XOR reverses the color of drawn-on pixels in the VRAM.
|
|
|
|
ML_CHECKER is a "checker" color. It renders a pixel white or black according to the following rule : if (x and y are even) or (x and y are odd), then the pixel becomes black, otherwise it becomes white.
|
|
|
|
SEE ALSO
|
|
--------
|
|
libmonochrome(3),
|
|
ML_VRAM(3)
|