| OLD | NEW |
| 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/BC_Library.h" | 10 #include "xfa/fxbarcode/BC_Library.h" |
| 11 #include "xfa/fxfa/app/xfa_fftextedit.h" | 11 #include "xfa/fxfa/app/xfa_fftextedit.h" |
| 12 #include "xfa/fxfa/include/xfa_ffpageview.h" | 12 #include "xfa/fxfa/xfa_ffpageview.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 ~CXFA_FFBarcode() override; | 17 ~CXFA_FFBarcode() override; |
| 18 | 18 |
| 19 // CXFA_FFTextEdit | 19 // CXFA_FFTextEdit |
| 20 FX_BOOL LoadWidget() override; | 20 FX_BOOL LoadWidget() override; |
| 21 void RenderWidget(CFX_Graphics* pGS, | 21 void RenderWidget(CFX_Graphics* pGS, |
| 22 CFX_Matrix* pMatrix, | 22 CFX_Matrix* pMatrix, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 }; | 92 }; |
| 93 struct XFA_BARCODETYPEENUMINFO { | 93 struct XFA_BARCODETYPEENUMINFO { |
| 94 uint32_t uHash; | 94 uint32_t uHash; |
| 95 const FX_WCHAR* pName; | 95 const FX_WCHAR* pName; |
| 96 XFA_BARCODETYPEENUM eName; | 96 XFA_BARCODETYPEENUM eName; |
| 97 BC_TYPE eBCType; | 97 BC_TYPE eBCType; |
| 98 }; | 98 }; |
| 99 typedef XFA_BARCODETYPEENUMINFO const* XFA_LPCBARCODETYPEENUMINFO; | 99 typedef XFA_BARCODETYPEENUMINFO const* XFA_LPCBARCODETYPEENUMINFO; |
| 100 | 100 |
| 101 #endif // XFA_FXFA_APP_XFA_FFBARCODE_H_ | 101 #endif // XFA_FXFA_APP_XFA_FFBARCODE_H_ |
| OLD | NEW |