xmscore
1.0
|
Definitions for color types and functions so they don't have to be included from Microsoft headers. More...
#include <xmscore/misc/environment.h>
Go to the source code of this file.
Macros | |
#define | XM_LOBYTE(w) ((xms::XM_BYTE)(((xms::XM_DWORD_PTR)(w)) & 0xff)) |
Returns the low byte. | |
#define | XmsGetRValue(rgb) (XM_LOBYTE(rgb)) |
GetRValue Rename. | |
#define | XmsGetGValue(rgb) (XM_LOBYTE(((xms::XM_WORD)(rgb)) >> 8)) |
GetGValue Rename. | |
#define | XmsGetBValue(rgb) (XM_LOBYTE((rgb) >> 16)) |
GetBValue Rename. | |
#define | XmsRGB(r, g, b) |
RGB rename. More... | |
Typedefs | |
typedef unsigned long | xms::XM_DWORD |
DWORD rename. | |
typedef XM_ULONG_PTR | xms::XM_DWORD_PTR |
DWORD_PTR rename. | |
typedef unsigned short | xms::XM_WORD |
WORD rename. | |
typedef unsigned char | xms::XM_BYTE |
BYTE rename rename. | |
typedef XM_DWORD | xms::XM_COLORREF |
COLORREF rename. | |
Definitions for color types and functions so they don't have to be included from Microsoft headers.
Definition in file color_defines.h.
#define XmsRGB | ( | r, | |
g, | |||
b | |||
) |
RGB rename.
Definition at line 41 of file color_defines.h.