summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/fsdk_define.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-20 14:28:37 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-20 14:28:37 -0700
commitb5dd65f31408dc8c15d202cbb3e8d9ec2afd4520 (patch)
tree2ae7adf38fdadcf314d5a7fb45c06cf0b57b1d37 /fpdfsdk/include/fsdk_define.h
parentce4f95d61f5aa5fb9a5fc6cb8487999a9cf46458 (diff)
downloadpdfium-b5dd65f31408dc8c15d202cbb3e8d9ec2afd4520.tar.xz
Cosmetic changes in fsdk_define.h
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1412123004 .
Diffstat (limited to 'fpdfsdk/include/fsdk_define.h')
-rw-r--r--fpdfsdk/include/fsdk_define.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h
index dbe08e71f7..37788c3ff7 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;