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

Side by Side Diff: fpdfsdk/src/formfiller/FFL_FormFiller.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 unified diff | Download patch
« no previous file with comments | « fpdfsdk/src/formfiller/FFL_ComboBox.cpp ('k') | fpdfsdk/src/formfiller/FFL_IFormFiller.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 7
8 #include "../../include/formfiller/FFL_FormFiller.h" 8 #include "../../include/formfiller/FFL_FormFiller.h"
9 #include "../../include/formfiller/FFL_Notify.h" 9 #include "../../include/formfiller/FFL_Notify.h"
10 #include "../../include/formfiller/FFL_CBA_Fontmap.h" 10 #include "../../include/formfiller/FFL_CBA_Fontmap.h"
11 11
12 #define GetRed(rgb)» » » ((FX_BYTE)(rgb)) 12 #define GetRed(rgb)» » » ((uint8_t)(rgb))
13 #define GetGreen(rgb)» » ((FX_BYTE)(((FX_WORD)(rgb)) >> 8)) 13 #define GetGreen(rgb)» » ((uint8_t)(((FX_WORD)(rgb)) >> 8))
14 #define GetBlue(rgb)» » ((FX_BYTE)((rgb)>>16)) 14 #define GetBlue(rgb)» » ((uint8_t)((rgb)>>16))
15 15
16 #define FFL_HINT_ELAPSE 800 16 #define FFL_HINT_ELAPSE 800
17 17
18 /* ------------------------- CFFL_FormFiller ------------------------- */ 18 /* ------------------------- CFFL_FormFiller ------------------------- */
19 19
20 CFFL_FormFiller::CFFL_FormFiller(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnno t) 20 CFFL_FormFiller::CFFL_FormFiller(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnno t)
21 :m_pApp(pApp), 21 :m_pApp(pApp),
22 m_pAnnot(pAnnot), 22 m_pAnnot(pAnnot),
23 m_bValid(FALSE), 23 m_bValid(FALSE),
24 m_ptOldPos(0,0) 24 m_ptOldPos(0,0)
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Norma l, NULL); 921 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Norma l, NULL);
922 } 922 }
923 923
924 924
925 void CFFL_Button::OnDrawDeactive(CPDFSDK_PageView *pPageView, /*HDC hDC,*/ CPDFS DK_Annot* pAnnot, 925 void CFFL_Button::OnDrawDeactive(CPDFSDK_PageView *pPageView, /*HDC hDC,*/ CPDFS DK_Annot* pAnnot,
926 CFX_RenderDevic e* pDevice, CPDF_Matrix* pUser2Device, 926 CFX_RenderDevic e* pDevice, CPDF_Matrix* pUser2Device,
927 /*const CRect& rcWindow, */FX_DWORD dwFlags) 927 /*const CRect& rcWindow, */FX_DWORD dwFlags)
928 { 928 {
929 OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags); 929 OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags);
930 } 930 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/formfiller/FFL_ComboBox.cpp ('k') | fpdfsdk/src/formfiller/FFL_IFormFiller.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698