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_XFA_FFWIDGET_H_ | 7 #ifndef XFA_FXFA_XFA_FFWIDGET_H_ |
8 #define XFA_FXFA_XFA_FFWIDGET_H_ | 8 #define XFA_FXFA_XFA_FFWIDGET_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "core/fxcodec/fx_codec_def.h" | 12 #include "core/fxcodec/fx_codec_def.h" |
13 #include "core/fxge/cfx_graphstatedata.h" | 13 #include "core/fxge/cfx_graphstatedata.h" |
14 #include "xfa/fwl/core/cfwl_app.h" | 14 #include "xfa/fwl/cfwl_app.h" |
15 #include "xfa/fxfa/fxfa.h" | 15 #include "xfa/fxfa/fxfa.h" |
16 #include "xfa/fxfa/parser/cxfa_contentlayoutitem.h" | 16 #include "xfa/fxfa/parser/cxfa_contentlayoutitem.h" |
17 | 17 |
18 class CXFA_FFPageView; | 18 class CXFA_FFPageView; |
19 class CXFA_FFDocView; | 19 class CXFA_FFDocView; |
20 class CXFA_FFDoc; | 20 class CXFA_FFDoc; |
21 class CXFA_FFApp; | 21 class CXFA_FFApp; |
22 enum class FWL_WidgetHit; | 22 enum class FWL_WidgetHit; |
23 | 23 |
24 inline FX_FLOAT XFA_UnitPx2Pt(FX_FLOAT fPx, FX_FLOAT fDpi) { | 24 inline FX_FLOAT XFA_UnitPx2Pt(FX_FLOAT fPx, FX_FLOAT fDpi) { |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 bool XFA_IsCreateWidget(XFA_Element iType); | 183 bool XFA_IsCreateWidget(XFA_Element iType); |
184 #define XFA_DRAWBOX_ForceRound 1 | 184 #define XFA_DRAWBOX_ForceRound 1 |
185 #define XFA_DRAWBOX_Lowered3D 2 | 185 #define XFA_DRAWBOX_Lowered3D 2 |
186 void XFA_DrawBox(CXFA_Box box, | 186 void XFA_DrawBox(CXFA_Box box, |
187 CFX_Graphics* pGS, | 187 CFX_Graphics* pGS, |
188 const CFX_RectF& rtWidget, | 188 const CFX_RectF& rtWidget, |
189 CFX_Matrix* pMatrix, | 189 CFX_Matrix* pMatrix, |
190 uint32_t dwFlags = 0); | 190 uint32_t dwFlags = 0); |
191 | 191 |
192 #endif // XFA_FXFA_XFA_FFWIDGET_H_ | 192 #endif // XFA_FXFA_XFA_FFWIDGET_H_ |
OLD | NEW |