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

Side by Side Diff: xfa/fxfa/app/xfa_ffbarcode.h

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 | « xfa/fxfa/app/xfa_checksum.h ('k') | xfa/fxfa/app/xfa_ffcheckbutton.h » ('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 #ifndef XFA_FXFA_APP_XFA_FFBARCODE_H_ 7 #ifndef XFA_FXFA_APP_XFA_FFBARCODE_H_
8 #define XFA_FXFA_APP_XFA_FFBARCODE_H_ 8 #define XFA_FXFA_APP_XFA_FFBARCODE_H_
9 9
10 #include "xfa/fxbarcode/include/BC_Library.h" 10 #include "xfa/fxbarcode/include/BC_Library.h"
11 #include "xfa/fxfa/app/xfa_ffpageview.h" 11 #include "xfa/fxfa/app/xfa_ffpageview.h"
12 #include "xfa/fxfa/app/xfa_fftextedit.h" 12 #include "xfa/fxfa/app/xfa_fftextedit.h"
13 13
14 class CXFA_FFBarcode : public CXFA_FFTextEdit { 14 class CXFA_FFBarcode : public CXFA_FFTextEdit {
15 public: 15 public:
16 CXFA_FFBarcode(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); 16 CXFA_FFBarcode(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
17 virtual ~CXFA_FFBarcode(); 17 virtual ~CXFA_FFBarcode();
18 virtual FX_BOOL LoadWidget(); 18 virtual FX_BOOL LoadWidget();
19 virtual void RenderWidget(CFX_Graphics* pGS, 19 virtual void RenderWidget(CFX_Graphics* pGS,
20 CFX_Matrix* pMatrix = NULL, 20 CFX_Matrix* pMatrix = NULL,
21 FX_DWORD dwStatus = 0, 21 uint32_t dwStatus = 0,
22 int32_t iRotate = 0); 22 int32_t iRotate = 0);
23 virtual void UpdateWidgetProperty(); 23 virtual void UpdateWidgetProperty();
24 virtual FX_BOOL OnLButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy); 24 virtual FX_BOOL OnLButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy);
25 virtual FX_BOOL OnRButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy); 25 virtual FX_BOOL OnRButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy);
26 }; 26 };
27 27
28 enum XFA_BARCODETYPEENUM { 28 enum XFA_BARCODETYPEENUM {
29 XFA_BARCODETYPE_aztec, 29 XFA_BARCODETYPE_aztec,
30 XFA_BARCODETYPE_codabar, 30 XFA_BARCODETYPE_codabar,
31 XFA_BARCODETYPE_code11, 31 XFA_BARCODETYPE_code11,
32 XFA_BARCODETYPE_code128, 32 XFA_BARCODETYPE_code128,
33 XFA_BARCODETYPE_code128A, 33 XFA_BARCODETYPE_code128A,
34 XFA_BARCODETYPE_code128B, 34 XFA_BARCODETYPE_code128B,
35 XFA_BARCODETYPE_code128C, 35 XFA_BARCODETYPE_code128C,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 }; 91 };
92 struct XFA_BARCODETYPEENUMINFO { 92 struct XFA_BARCODETYPEENUMINFO {
93 uint32_t uHash; 93 uint32_t uHash;
94 const FX_WCHAR* pName; 94 const FX_WCHAR* pName;
95 XFA_BARCODETYPEENUM eName; 95 XFA_BARCODETYPEENUM eName;
96 BC_TYPE eBCType; 96 BC_TYPE eBCType;
97 }; 97 };
98 typedef XFA_BARCODETYPEENUMINFO const* XFA_LPCBARCODETYPEENUMINFO; 98 typedef XFA_BARCODETYPEENUMINFO const* XFA_LPCBARCODETYPEENUMINFO;
99 99
100 #endif // XFA_FXFA_APP_XFA_FFBARCODE_H_ 100 #endif // XFA_FXFA_APP_XFA_FFBARCODE_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_checksum.h ('k') | xfa/fxfa/app/xfa_ffcheckbutton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698