Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: fpdfsdk/include/fsdk_baseform.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/include/fsdk_baseannot.h ('k') | fpdfsdk/include/fsdk_define.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/include/fsdk_baseform.h
diff --git a/fpdfsdk/include/fsdk_baseform.h b/fpdfsdk/include/fsdk_baseform.h
index 67c67fc37a8722d27436b4b50c78ec0e3402ea9e..88192aad31632e82eba26cd5a4d48d2d788f1381 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];
};
« no previous file with comments | « fpdfsdk/include/fsdk_baseannot.h ('k') | fpdfsdk/include/fsdk_define.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698