summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/fsdk_baseform.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-09 11:30:25 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-09 11:30:25 -0700
commitbb17868d736f698d5217c30d52c5bbfed62c5936 (patch)
tree9d4d3e2538a81e6241d4992570bc3f3c1af71d28 /fpdfsdk/include/fsdk_baseform.h
parentbf6c2a4873f8cc12ad910fb904218a78087a3735 (diff)
downloadpdfium-bb17868d736f698d5217c30d52c5bbfed62c5936.tar.xz
Use stdint.h types throughout PDFium.
It's redundant nowadays to provide our own equivalents, now that this is done for us by the system header. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1177483002
Diffstat (limited to 'fpdfsdk/include/fsdk_baseform.h')
-rw-r--r--fpdfsdk/include/fsdk_baseform.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/fpdfsdk/include/fsdk_baseform.h b/fpdfsdk/include/fsdk_baseform.h
index 85ab3e6fd1..27ec143b35 100644
--- a/fpdfsdk/include/fsdk_baseform.h
+++ b/fpdfsdk/include/fsdk_baseform.h
@@ -128,8 +128,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();
@@ -161,8 +161,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;
};
#define CPDFSDK_WidgetMap CFX_MapPtrTemplate<CPDF_FormControl*, CPDFSDK_Widget*>
@@ -245,13 +245,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[6];
- FX_BYTE m_iHighlightAlpha;
+ uint8_t m_iHighlightAlpha;
FX_BOOL m_bNeedHightlight[6];
};