comparison dw.h @ 325:e5f0613b65cd

Added DW_MENU_SEPARATOR.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 04 Apr 2003 06:37:07 +0000
parents 83edbd751da9
children e00aff2b899e
comparison
equal deleted inserted replaced
324:c13312a6b8dc 325:e5f0613b65cd
719 #define DW_BLUE_MASK (0x00FF0000) 719 #define DW_BLUE_MASK (0x00FF0000)
720 #define DW_RED_VALUE(a) (a & DW_RED_MASK) 720 #define DW_RED_VALUE(a) (a & DW_RED_MASK)
721 #define DW_GREEN_VALUE(a) ((a & DW_GREEN_MASK) >> 8) 721 #define DW_GREEN_VALUE(a) ((a & DW_GREEN_MASK) >> 8)
722 #define DW_BLUE_VALUE(a) ((a & DW_BLUE_MASK) >> 16) 722 #define DW_BLUE_VALUE(a) ((a & DW_BLUE_MASK) >> 16)
723 #define DW_RGB(a, b, c) (0xF0000000 | a | b << 8 | c << 16) 723 #define DW_RGB(a, b, c) (0xF0000000 | a | b << 8 | c << 16)
724
725 #define DW_MENU_SEPARATOR ""
724 726
725 #if defined(__OS2__) || defined(__EMX__) 727 #if defined(__OS2__) || defined(__EMX__)
726 #define DW_OS2_RGB(a) ((DW_RED_VALUE(a) << 16) | (DW_GREEN_VALUE(a) << 8) | DW_BLUE_VALUE(a)) 728 #define DW_OS2_RGB(a) ((DW_RED_VALUE(a) << 16) | (DW_GREEN_VALUE(a) << 8) | DW_BLUE_VALUE(a))
727 #endif 729 #endif
728 730