diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-15 12:07:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-15 12:07:23 -0700 |
commit | 72177dadac8f9765440b3aa01e2668f60a8b3f43 (patch) | |
tree | e7f5fb70bd9b228b66c7a5a4a874577528e27207 /fpdfsdk/include/fsdk_define.h | |
parent | 8f53f54a9ccada2ea8651f2786f1bbee323f09b7 (diff) | |
download | pdfium-72177dadac8f9765440b3aa01e2668f60a8b3f43.tar.xz |
Replace FX_UINT with unsigned int
Remove the FX_UINT typedef and update to use the actual unsigned int type.
Review-Url: https://codereview.chromium.org/2343693002
Diffstat (limited to 'fpdfsdk/include/fsdk_define.h')
-rw-r--r-- | fpdfsdk/include/fsdk_define.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h index 909cbbd9d2..cb4e5c34a6 100644 --- a/fpdfsdk/include/fsdk_define.h +++ b/fpdfsdk/include/fsdk_define.h @@ -20,18 +20,6 @@ #include <tchar.h> #endif -// Convert a #FX_ARGB to a #FX_COLORREF. -#define FX_ARGBTOCOLORREF(argb) \ - ((((uint32_t)argb & 0x00FF0000) >> 16) | ((uint32_t)argb & 0x0000FF00) | \ - (((uint32_t)argb & 0x000000FF) << 16)) - -// Convert a #FX_COLORREF to a #FX_ARGB. -#define FX_COLORREFTOARGB(rgb) \ - ((uint32_t)0xFF000000 | (((uint32_t)rgb & 0x000000FF) << 16) | \ - ((uint32_t)rgb & 0x0000FF00) | (((uint32_t)rgb & 0x00FF0000) >> 16)) - -typedef unsigned int FX_UINT; - class CPDF_Annot; class CPDF_Page; class CPDF_PageRenderContext; |