diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-07-13 14:17:10 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-13 19:08:45 +0000 |
commit | 7f55a5410f665cfdbb5796d6d9a5387a5f6fa2eb (patch) | |
tree | 7211973789a60892f27db6e2810f805ff0bd8f37 /fpdfsdk/javascript/Field.h | |
parent | fe75997a8a8d7fc555d91c3aad595112a46ad7a2 (diff) | |
download | pdfium-7f55a5410f665cfdbb5796d6d9a5387a5f6fa2eb.tar.xz |
Rename CPWL_Color to CFX_Color
This CL moves fpdfsdk/pdfwindow/cpwl_color to core/fxge/cfx_color.
Change-Id: Ia95b7fba2c76a1b9a438014d3598c7aa55bbb2ab
Reviewed-on: https://pdfium-review.googlesource.com/7753
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/Field.h')
-rw-r--r-- | fpdfsdk/javascript/Field.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fpdfsdk/javascript/Field.h b/fpdfsdk/javascript/Field.h index 688c5de9f4..1c8d6beac1 100644 --- a/fpdfsdk/javascript/Field.h +++ b/fpdfsdk/javascript/Field.h @@ -11,9 +11,9 @@ #include <vector> #include "core/fxcrt/cfx_observable.h" +#include "core/fxge/cfx_color.h" #include "fpdfsdk/cpdfsdk_formfillenvironment.h" #include "fpdfsdk/javascript/JS_Define.h" -#include "fpdfsdk/pdfwindow/cpwl_wnd.h" // For CPWL_Color. class CPDFSDK_Widget; class Document; @@ -67,7 +67,7 @@ struct CJS_DelayData { CFX_ByteString string; CFX_WideString widestring; CFX_FloatRect rect; - CPWL_Color color; + CFX_Color color; std::vector<uint32_t> wordarray; std::vector<CFX_WideString> widestringarray; }; @@ -385,7 +385,7 @@ class Field : public CJS_EmbedObj { static void SetFillColor(CPDFSDK_FormFillEnvironment* pFormFillEnv, const CFX_WideString& swFieldName, int nControlIndex, - const CPWL_Color& color); + const CFX_Color& color); static void SetHidden(CPDFSDK_FormFillEnvironment* pFormFillEnv, const CFX_WideString& swFieldName, int nControlIndex, @@ -421,7 +421,7 @@ class Field : public CJS_EmbedObj { static void SetStrokeColor(CPDFSDK_FormFillEnvironment* pFormFillEnv, const CFX_WideString& swFieldName, int nControlIndex, - const CPWL_Color& color); + const CFX_Color& color); static void SetStyle(CPDFSDK_FormFillEnvironment* pFormFillEnv, const CFX_WideString& swFieldName, int nControlIndex, @@ -429,7 +429,7 @@ class Field : public CJS_EmbedObj { static void SetTextColor(CPDFSDK_FormFillEnvironment* pFormFillEnv, const CFX_WideString& swFieldName, int nControlIndex, - const CPWL_Color& color); + const CFX_Color& color); static void SetTextFont(CPDFSDK_FormFillEnvironment* pFormFillEnv, const CFX_WideString& swFieldName, int nControlIndex, @@ -490,7 +490,7 @@ class Field : public CJS_EmbedObj { void AddDelay_String(FIELD_PROP prop, const CFX_ByteString& string); void AddDelay_WideString(FIELD_PROP prop, const CFX_WideString& string); void AddDelay_Rect(FIELD_PROP prop, const CFX_FloatRect& rect); - void AddDelay_Color(FIELD_PROP prop, const CPWL_Color& color); + void AddDelay_Color(FIELD_PROP prop, const CFX_Color& color); void AddDelay_WordArray(FIELD_PROP prop, const std::vector<uint32_t>& array); void AddDelay_WideStringArray(FIELD_PROP prop, const std::vector<CFX_WideString>& array); |