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_FFFIELD_H_ | 7 #ifndef XFA_FXFA_APP_XFA_FFFIELD_H_ |
8 #define XFA_FXFA_APP_XFA_FFFIELD_H_ | 8 #define XFA_FXFA_APP_XFA_FFFIELD_H_ |
9 | 9 |
10 #include "xfa/fwl/core/ifwl_widgetdelegate.h" | 10 #include "xfa/fwl/core/ifwl_widgetdelegate.h" |
11 #include "xfa/fwl/lightwidget/cfwl_widget.h" | 11 #include "xfa/fwl/lightwidget/cfwl_widget.h" |
12 #include "xfa/fxfa/include/xfa_ffpageview.h" | 12 #include "xfa/fxfa/xfa_ffpageview.h" |
13 #include "xfa/fxfa/include/xfa_ffwidget.h" | 13 #include "xfa/fxfa/xfa_ffwidget.h" |
14 | 14 |
15 #define XFA_MINUI_HEIGHT 4.32f | 15 #define XFA_MINUI_HEIGHT 4.32f |
16 #define XFA_DEFAULTUI_HEIGHT 2.0f | 16 #define XFA_DEFAULTUI_HEIGHT 2.0f |
17 | 17 |
18 class CXFA_FFField : public CXFA_FFWidget, public IFWL_WidgetDelegate { | 18 class CXFA_FFField : public CXFA_FFWidget, public IFWL_WidgetDelegate { |
19 public: | 19 public: |
20 CXFA_FFField(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | 20 CXFA_FFField(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); |
21 ~CXFA_FFField() override; | 21 ~CXFA_FFField() override; |
22 | 22 |
23 // CXFA_FFWidget | 23 // CXFA_FFWidget |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 const CFX_RectF& rtWidget, | 91 const CFX_RectF& rtWidget, |
92 int32_t iCapPlacement); | 92 int32_t iCapPlacement); |
93 void SetEditScrollOffset(); | 93 void SetEditScrollOffset(); |
94 | 94 |
95 CFWL_Widget* m_pNormalWidget; | 95 CFWL_Widget* m_pNormalWidget; |
96 CFX_RectF m_rtUI; | 96 CFX_RectF m_rtUI; |
97 CFX_RectF m_rtCaption; | 97 CFX_RectF m_rtCaption; |
98 }; | 98 }; |
99 | 99 |
100 #endif // XFA_FXFA_APP_XFA_FFFIELD_H_ | 100 #endif // XFA_FXFA_APP_XFA_FFFIELD_H_ |
OLD | NEW |