| Index: fpdfsdk/include/fsdk_define.h
|
| diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h
|
| index dbe08e71f7c7797c672b7f38019b45ac75ff48a2..37788c3ff70a1129e5daa3f1dbdb43f39897163d 100644
|
| --- a/fpdfsdk/include/fsdk_define.h
|
| +++ b/fpdfsdk/include/fsdk_define.h
|
| @@ -24,19 +24,15 @@
|
| #include <math.h>
|
| #endif
|
|
|
| -#ifndef FX_ARGBTOCOLORREF
|
| -/** @brief Convert a #FX_ARGB to a #FX_COLORREF. */
|
| +// Convert a #FX_ARGB to a #FX_COLORREF.
|
| #define FX_ARGBTOCOLORREF(argb) \
|
| ((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \
|
| (((FX_DWORD)argb & 0x000000FF) << 16))
|
| -#endif
|
|
|
| -#ifndef FX_COLORREFTOARGB
|
| -/** @brief Convert a #FX_COLORREF to a #FX_ARGB. */
|
| +// Convert a #FX_COLORREF to a #FX_ARGB.
|
| #define FX_COLORREFTOARGB(rgb) \
|
| ((FX_DWORD)0xFF000000 | (((FX_DWORD)rgb & 0x000000FF) << 16) | \
|
| ((FX_DWORD)rgb & 0x0000FF00) | (((FX_DWORD)rgb & 0x00FF0000) >> 16))
|
| -#endif
|
|
|
| typedef unsigned int FX_UINT;
|
| class CRenderContext;
|
|
|