Sha256: 84e09d4062605c592f201ed675301641917b9a29fbfa7d54dd316841bf120a49

Contents?: true

Size: 574 Bytes

Versions: 8

Compression:

Stored size: 574 Bytes

Contents

#define PACKED_RGB uint32_t
#ifndef DIVROUND
#define DIVROUND( A, B) ((A + B / 2) / B)
#endif
#define PACK_RGB( R, G, B) (((uint32_t)(R) << 16) | ((uint32_t)(G) << 8) \
                      | (uint32_t)(B))

#define Get_RValue( rgb) ((int)( (rgb) >> 16))
#define Get_GValue( rgb) ((int)( (rgb) >> 8) & 0xff)
#define Get_BValue( rgb) ((int)((rgb) & 0xff))

int PDC_pair_content( short pair, short *fg, short *bg);

   /* If the following is TRUE,  only a limited subset of control
   codes will actually work.  Happens in older Windows and DOS.  */
extern bool PDC_is_ansi;

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
curses-1.4.7 vendor/PDCurses/vt/pdcvt.h
curses-1.4.5 vendor/PDCurses/vt/pdcvt.h
curses-1.4.4 vendor/PDCurses/vt/pdcvt.h
curses-1.4.4.beta.1 vendor/PDCurses/vt/pdcvt.h
curses-1.4.3 vendor/PDCurses/vt/pdcvt.h
curses-1.4.2 vendor/PDCurses/vt/pdcvt.h
curses-1.4.1 vendor/PDCurses/vt/pdcvt.h
curses-1.4.0 vendor/PDCurses/vt/pdcvt.h