diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-05-16 19:17:44 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-16 19:17:44 +0000 |
commit | 468652f17a480f2d62fd8fb5cf51aa41511dcc97 (patch) | |
tree | 6e83cadcd37b95c3b3adc0f65a42a3e14bfc5e7e /xfa | |
parent | 12822171aa7d5853b77d9e497c55cbc584c17606 (diff) | |
download | pdfium-468652f17a480f2d62fd8fb5cf51aa41511dcc97.tar.xz |
Remove some more unused #defines
Bug: pdfium:1085
Change-Id: I62c526ae865f0cadfddd2e75a616bce73de0f88d
Reviewed-on: https://pdfium-review.googlesource.com/32632
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa')
-rw-r--r-- | xfa/fwl/cfwl_monthcalendar.cpp | 1 | ||||
-rw-r--r-- | xfa/fwl/cfwl_widget.cpp | 1 | ||||
-rw-r--r-- | xfa/fwl/fwl_widgetdef.h | 3 | ||||
-rw-r--r-- | xfa/fwl/theme/cfwl_checkboxtp.cpp | 5 |
4 files changed, 0 insertions, 10 deletions
diff --git a/xfa/fwl/cfwl_monthcalendar.cpp b/xfa/fwl/cfwl_monthcalendar.cpp index c254bca253..f3a34b0250 100644 --- a/xfa/fwl/cfwl_monthcalendar.cpp +++ b/xfa/fwl/cfwl_monthcalendar.cpp @@ -21,7 +21,6 @@ #include "xfa/fwl/ifwl_themeprovider.h" #define MONTHCAL_HSEP_HEIGHT 1 -#define MONTHCAL_VSEP_WIDTH 1 #define MONTHCAL_HMARGIN 3 #define MONTHCAL_VMARGIN 2 #define MONTHCAL_ROWS 9 diff --git a/xfa/fwl/cfwl_widget.cpp b/xfa/fwl/cfwl_widget.cpp index af46cd3d93..4ebce30818 100644 --- a/xfa/fwl/cfwl_widget.cpp +++ b/xfa/fwl/cfwl_widget.cpp @@ -30,7 +30,6 @@ #include "xfa/fwl/ifwl_themeprovider.h" #include "xfa/fxfa/cxfa_ffapp.h" -#define FWL_STYLEEXT_MNU_Vert (1L << 0) #define FWL_WGT_CalcHeight 2048 #define FWL_WGT_CalcWidth 2048 #define FWL_WGT_CalcMultiLineDefWidth 120.0f diff --git a/xfa/fwl/fwl_widgetdef.h b/xfa/fwl/fwl_widgetdef.h index a85ba1562a..e8e8b9202e 100644 --- a/xfa/fwl/fwl_widgetdef.h +++ b/xfa/fwl/fwl_widgetdef.h @@ -21,9 +21,6 @@ #define FWL_WGTSTATE_Invisible (1L << 5) #define FWL_WGTSTATE_MAX (6) -#define FWL_VKEY_LButton 0x01 -#define FWL_VKEY_RButton 0x02 -#define FWL_VKEY_MButton 0x04 #define FWL_VKEY_Back 0x08 #define FWL_VKEY_Tab 0x09 #define FWL_VKEY_NewLine 0x0A diff --git a/xfa/fwl/theme/cfwl_checkboxtp.cpp b/xfa/fwl/theme/cfwl_checkboxtp.cpp index 82fdc1a18a..a4e474b4f1 100644 --- a/xfa/fwl/theme/cfwl_checkboxtp.cpp +++ b/xfa/fwl/theme/cfwl_checkboxtp.cpp @@ -29,11 +29,6 @@ CFX_PointF ScaleBezierPoint(const CFX_PointF& point) { } // namespace -#define CHECKBOX_COLOR_BOXLT1 (ArgbEncode(255, 172, 168, 153)) -#define CHECKBOX_COLOR_BOXLT2 (ArgbEncode(255, 113, 111, 100)) -#define CHECKBOX_COLOR_BOXRB1 (ArgbEncode(255, 241, 239, 226)) -#define CHECKBOX_COLOR_BOXRB2 (ArgbEncode(255, 255, 255, 255)) - CFWL_CheckBoxTP::CFWL_CheckBoxTP() : m_pThemeData(new CKBThemeData) { SetThemeData(); } |