diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-06-09 13:24:12 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-06-09 13:24:12 -0700 |
commit | bfa9a824a20f37c2dd7111012b46c929cf2ed8a0 (patch) | |
tree | 4cfbe682869d89900f33751c37f6a84865beeb0a /fpdfsdk/include/fsdk_baseform.h | |
parent | b116136da234afcad018bb44a3ccb64b9ad2a554 (diff) | |
download | pdfium-bfa9a824a20f37c2dd7111012b46c929cf2ed8a0.tar.xz |
Merge to XFA: Use stdint.h types throughout PDFium.
Near-automatic merge, plus re-running scripts to update
additional usage.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1172793002
Diffstat (limited to 'fpdfsdk/include/fsdk_baseform.h')
-rw-r--r-- | fpdfsdk/include/fsdk_baseform.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fpdfsdk/include/fsdk_baseform.h b/fpdfsdk/include/fsdk_baseform.h index 67c67fc37a..88192aad31 100644 --- a/fpdfsdk/include/fsdk_baseform.h +++ b/fpdfsdk/include/fsdk_baseform.h @@ -156,8 +156,8 @@ public: void ClearAppModified(); FX_BOOL IsAppModified() const; - FX_INT32 GetAppearanceAge() const; - FX_INT32 GetValueAge() const; + int32_t GetAppearanceAge() const; + int32_t GetValueAge() const; private: void ResetAppearance_PushButton(); @@ -189,8 +189,8 @@ public: private: CPDFSDK_InterForm* m_pInterForm; FX_BOOL m_bAppModified; - FX_INT32 m_nAppAge; - FX_INT32 m_nValueAge; + int32_t m_nAppAge; + int32_t m_nValueAge; IXFA_Widget* m_hMixXFAWidget; IXFA_WidgetHandler* m_pWidgetHandler; @@ -317,13 +317,13 @@ private: public: FX_BOOL IsNeedHighLight(int nFieldType); void RemoveAllHighLight(); - void SetHighlightAlpha(FX_BYTE alpha) {m_iHighlightAlpha = alpha;} - FX_BYTE GetHighlightAlpha() {return m_iHighlightAlpha;} + void SetHighlightAlpha(uint8_t alpha) {m_iHighlightAlpha = alpha;} + uint8_t GetHighlightAlpha() {return m_iHighlightAlpha;} void SetHighlightColor(FX_COLORREF clr, int nFieldType); FX_COLORREF GetHighlightColor(int nFieldType); private: FX_COLORREF m_aHighlightColor[7]; - FX_BYTE m_iHighlightAlpha; + uint8_t m_iHighlightAlpha; FX_BOOL m_bNeedHightlight[7]; }; |