comparison dw.h @ 567:81ca08481d49

Added the basics of the color chooser on OS/2. Needs some more logic to be finished. Removed DW_OS2_RGB() since it was no longer used.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 24 Jun 2004 08:54:19 +0000
parents f6de197ecbe9
children 828e6a66c5c5
comparison
equal deleted inserted replaced
566:f6de197ecbe9 567:81ca08481d49
871 #define DW_ERROR_GENERAL 1 871 #define DW_ERROR_GENERAL 1
872 #define DW_ERROR_TIMEOUT 2 872 #define DW_ERROR_TIMEOUT 2
873 #define DW_ERROR_NON_INIT 3 873 #define DW_ERROR_NON_INIT 3
874 #define DW_ERROR_NO_MEM 4 874 #define DW_ERROR_NO_MEM 4
875 #define DW_ERROR_INTERRUPT 5 875 #define DW_ERROR_INTERRUPT 5
876
877 #if defined(__OS2__) || defined(__EMX__)
878 #define DW_OS2_RGB(a) ((DW_RED_VALUE(a) << 16) | (DW_GREEN_VALUE(a) << 8) | DW_BLUE_VALUE(a))
879 #endif
880 876
881 #ifndef API 877 #ifndef API
882 #define API 878 #define API
883 #endif 879 #endif
884 880