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

Unified Diff: xfa/src/fwl/src/theme/pushbuttontp.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/theme/formtp.cpp ('k') | xfa/src/fwl/src/theme/widgettp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fwl/src/theme/pushbuttontp.cpp
diff --git a/xfa/src/fwl/src/theme/pushbuttontp.cpp b/xfa/src/fwl/src/theme/pushbuttontp.cpp
index 13c5eef56719ba9af8fa680ebca01f3c2b2db783..8194b249be7c0886990b96ba6a2fe76ab196ac41 100644
--- a/xfa/src/fwl/src/theme/pushbuttontp.cpp
+++ b/xfa/src/fwl/src/theme/pushbuttontp.cpp
@@ -63,7 +63,7 @@ FX_BOOL CFWL_PushButtonTP::DrawBackground(CFWL_ThemeBackground *pParams)
PUSHBUTTON_SIZE_Corner,
PUSHBUTTON_SIZE_Corner);
fillPath.AddRectangle(rtInner.left, rtInner.top, rtInner.width, rtInner.height);
- FX_INT32 iColor = GetColorID(pParams->m_dwStates);
+ int32_t iColor = GetColorID(pParams->m_dwStates);
DrawAxialShading(pGraphics,
rect.left + PUSHBUTTON_SIZE_Corner,
rect.top,
@@ -159,7 +159,7 @@ void CFWL_PushButtonTP::SetThemeData(FX_DWORD dwID)
m_pThemeData->clrFill[4] = ArgbEncode(255, 245, 244, 234);
}
}
-FX_INT32 CFWL_PushButtonTP::GetColorID(FX_DWORD dwStates)
+int32_t CFWL_PushButtonTP::GetColorID(FX_DWORD dwStates)
{
return dwStates &= FWL_PARTSTATE_PSB_Mask;
}
« no previous file with comments | « xfa/src/fwl/src/theme/formtp.cpp ('k') | xfa/src/fwl/src/theme/widgettp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698