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/fwl_sdadapterimp.h" | 10 #include "xfa/fwl/core/fwl_sdadapterimp.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 void CapPlacement(); | 79 void CapPlacement(); |
80 void CapTopBottomPlacement(CXFA_Caption caption, | 80 void CapTopBottomPlacement(CXFA_Caption caption, |
81 const CFX_RectF& rtWidget, | 81 const CFX_RectF& rtWidget, |
82 int32_t iCapPlacement); | 82 int32_t iCapPlacement); |
83 void CapLeftRightPlacement(CXFA_Caption caption, | 83 void CapLeftRightPlacement(CXFA_Caption caption, |
84 const CFX_RectF& rtWidget, | 84 const CFX_RectF& rtWidget, |
85 int32_t iCapPlacement); | 85 int32_t iCapPlacement); |
86 void SetEditScrollOffset(); | 86 void SetEditScrollOffset(); |
87 | 87 |
88 public: | 88 public: |
89 virtual int32_t OnProcessMessage(CFWL_Message* pMessage); | 89 virtual void OnProcessMessage(CFWL_Message* pMessage); |
90 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); | 90 virtual void OnProcessEvent(CFWL_Event* pEvent); |
91 virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, | 91 virtual void OnDrawWidget(CFX_Graphics* pGraphics, |
92 const CFX_Matrix* pMatrix = NULL); | 92 const CFX_Matrix* pMatrix = NULL); |
93 | 93 |
94 protected: | 94 protected: |
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 |