You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
626 B
C
23 lines
626 B
C
#define PACKED_RGB uint32_t
|
|
|
|
#define Get_BValue( rgb) ((int)( (rgb) >> 16))
|
|
#define Get_GValue( rgb) ((int)( (rgb) >> 8) & 0xff)
|
|
#define Get_RValue( rgb) ((int)((rgb) & 0xff))
|
|
|
|
/* If the following is TRUE, only a limited subset of control codes
|
|
will actually work. Happens in older Windows, DOS, Linux console. */
|
|
extern int PDC_is_ansi;
|
|
|
|
#ifdef PDC_WIDE
|
|
#if !defined( UNICODE)
|
|
# define UNICODE
|
|
#endif
|
|
#if !defined( _UNICODE)
|
|
# define _UNICODE
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
|
|
# define _CRT_SECURE_NO_DEPRECATE 1 /* kill nonsense warnings */
|
|
#endif
|