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

Unified Diff: xfa/src/fwl/src/lightwidget/picturebox.cpp

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 | « xfa/src/fwl/src/lightwidget/listbox.cpp ('k') | xfa/src/fwl/src/lightwidget/theme.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fwl/src/lightwidget/picturebox.cpp
diff --git a/xfa/src/fwl/src/lightwidget/picturebox.cpp b/xfa/src/fwl/src/lightwidget/picturebox.cpp
index e7d21de90e49d3356afa9086d0eeb8096926f68c..619a473c21cc12407abb67edd94795d7ce57f761 100644
--- a/xfa/src/fwl/src/lightwidget/picturebox.cpp
+++ b/xfa/src/fwl/src/lightwidget/picturebox.cpp
@@ -53,20 +53,20 @@ FWL_ERR CFWL_PictureBox::SetRotation(FX_FLOAT fRotation)
m_PictureBoxDP.m_fRotation = fRotation;
return FWL_ERR_Succeeded;
}
-FX_INT32 CFWL_PictureBox::GetFlipMode()
+int32_t CFWL_PictureBox::GetFlipMode()
{
return m_PictureBoxDP.GetFlipMode((IFWL_Widget*)this);
}
-FWL_ERR CFWL_PictureBox::SetFlipMode(FX_INT32 iFlipMode)
+FWL_ERR CFWL_PictureBox::SetFlipMode(int32_t iFlipMode)
{
m_PictureBoxDP.m_iFlipMode = iFlipMode;
return FWL_ERR_Succeeded;
}
-FX_INT32 CFWL_PictureBox::GetOpacity()
+int32_t CFWL_PictureBox::GetOpacity()
{
return m_PictureBoxDP.GetOpacity((IFWL_Widget*)this);
}
-FWL_ERR CFWL_PictureBox::SetOpacity(FX_INT32 iOpacity)
+FWL_ERR CFWL_PictureBox::SetOpacity(int32_t iOpacity)
{
m_PictureBoxDP.m_iOpacity = iOpacity;
return FWL_ERR_Succeeded;
@@ -120,7 +120,7 @@ CFX_DIBitmap* CFWL_PictureBox::CFWL_PictureBoxDP::GetInitialPicture(IFWL_Widget
{
return m_pBitmap;
}
-FX_INT32 CFWL_PictureBox::CFWL_PictureBoxDP::GetOpacity(IFWL_Widget *pWidget)
+int32_t CFWL_PictureBox::CFWL_PictureBoxDP::GetOpacity(IFWL_Widget *pWidget)
{
return m_iOpacity;
}
@@ -138,7 +138,7 @@ FWL_ERR CFWL_PictureBox::CFWL_PictureBoxDP::GetMatrix(IFWL_Widget *pWidget, CFX_
matrix.Translate(m_fOffSetX, m_fOffSetY);
return FWL_ERR_Succeeded;
}
-FX_INT32 CFWL_PictureBox::CFWL_PictureBoxDP::GetFlipMode(IFWL_Widget *pWidget)
+int32_t CFWL_PictureBox::CFWL_PictureBoxDP::GetFlipMode(IFWL_Widget *pWidget)
{
return m_iFlipMode;
}
« no previous file with comments | « xfa/src/fwl/src/lightwidget/listbox.cpp ('k') | xfa/src/fwl/src/lightwidget/theme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698