summaryrefslogtreecommitdiff
path: root/xfa/src/fdp/include/fde_img.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-23 12:09:25 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-23 12:09:25 -0800
commit2886a25b68225ad3ad70d417b01108ad1d126488 (patch)
tree4ba27fdd0cbb9948468ca032fbfbacff2616d728 /xfa/src/fdp/include/fde_img.h
parent9976672977d39fc5fe9df2b0110ed977d79609a8 (diff)
downloadpdfium-2886a25b68225ad3ad70d417b01108ad1d126488.tar.xz
Remove more _CAPS names
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1726803002 .
Diffstat (limited to 'xfa/src/fdp/include/fde_img.h')
-rw-r--r--xfa/src/fdp/include/fde_img.h43
1 files changed, 22 insertions, 21 deletions
diff --git a/xfa/src/fdp/include/fde_img.h b/xfa/src/fdp/include/fde_img.h
index b1612cb91f..ea501259ed 100644
--- a/xfa/src/fdp/include/fde_img.h
+++ b/xfa/src/fdp/include/fde_img.h
@@ -49,6 +49,7 @@ class IFDE_Image {
virtual int32_t DoLoadImage(IFX_Pause* pPause = NULL) = 0;
virtual void StopLoadImage() = 0;
};
+
#define FDE_IMAGEFILTER_Unknown -1
#define FDE_IMAGEFILTER_Opacity 0
#define FDE_IMAGEFILTER_GrayScale 1
@@ -58,34 +59,34 @@ class IFDE_Image {
#define FDE_IMAGEFILTER_MaskColor 5
#define FDE_IMAGEFILTER_Brightness 6
#define FDE_IMAGEFILTER_Contrast 7
-typedef struct _FDE_IMAGEFILTERPARAMS : public CFX_Target {
+
+struct FDE_IMAGEFILTERPARAMS : public CFX_Target {
int32_t iFilterType;
-} FDE_IMAGEFILTERPARAMS, *FDE_LPIMAGEFILTERPARAMS;
-typedef FDE_IMAGEFILTERPARAMS const* FDE_LPCIMAGEFILTERPARAMS;
-typedef struct _FDE_OPACITYPARAMS : public FDE_IMAGEFILTERPARAMS {
+};
+
+struct FDE_OPACITYPARAMS : public FDE_IMAGEFILTERPARAMS {
int32_t iOpacity;
-} FDE_OPACITYPARAMS, *FDE_LPOPACITYPARAMS;
-typedef FDE_OPACITYPARAMS const* FDE_LPCOPACITYPARAMS;
-typedef struct _FDE_BLACKWHITEPARAMS : public FDE_IMAGEFILTERPARAMS {
+};
+
+struct FDE_BLACKWHITEPARAMS : public FDE_IMAGEFILTERPARAMS {
FX_ARGB dwBlackColor;
FX_ARGB dwWhiteColor;
-} FDE_BLACKWHITEPARAMS, *FDE_LPBLACKWHITEPARAMS;
-typedef FDE_BLACKWHITEPARAMS const* FDE_LPCBLACKWHITEPARAMS;
-typedef struct _FDE_TRANSPARENTPARAMS : public FDE_IMAGEFILTERPARAMS {
+};
+
+struct FDE_TRANSPARENTPARAMS : public FDE_IMAGEFILTERPARAMS {
FX_ARGB color;
-} FDE_TRANSPARENTPARAMS, *FDE_LPTRANSPARENTPARAMS;
-typedef FDE_TRANSPARENTPARAMS const* FDE_LPCTRANSPARENTPARAMS;
-typedef struct _FDE_MASKCOLORPARAMS : public FDE_IMAGEFILTERPARAMS {
+};
+
+struct FDE_MASKCOLORPARAMS : public FDE_IMAGEFILTERPARAMS {
FX_ARGB color;
-} FDE_MASKCOLORPARAMS, *FDE_LPMASKCOLORPARAMS;
-typedef FDE_MASKCOLORPARAMS const* FDE_LPCMASKCOLORPARAMS;
-typedef struct _FDE_BRIGHTNESSPARAMS : public FDE_IMAGEFILTERPARAMS {
+};
+
+struct FDE_BRIGHTNESSPARAMS : public FDE_IMAGEFILTERPARAMS {
int32_t iBrightness;
-} FDE_BRIGHTNESSPARAMS, *FDE_LPBRIGHTNESSPARAMS;
-typedef FDE_BRIGHTNESSPARAMS const* FDE_LPCBRIGHTNESSPARAMS;
-typedef struct _FDE_CONTRASTPARAMS : public FDE_IMAGEFILTERPARAMS {
+};
+
+struct FDE_CONTRASTPARAMS : public FDE_IMAGEFILTERPARAMS {
int32_t iContrast;
-} FDE_CONTRASTPARAMS, *FDE_LPCONTRASTPARAMS;
-typedef FDE_CONTRASTPARAMS const* FDE_LPCCONTRASTPARAMS;
+};
#endif // XFA_SRC_FDP_INCLUDE_FDE_IMG_H_