| 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" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 void CapPlacement(); | 78 void CapPlacement(); |
| 79 void CapTopBottomPlacement(CXFA_Caption caption, | 79 void CapTopBottomPlacement(CXFA_Caption caption, |
| 80 const CFX_RectF& rtWidget, | 80 const CFX_RectF& rtWidget, |
| 81 int32_t iCapPlacement); | 81 int32_t iCapPlacement); |
| 82 void CapLeftRightPlacement(CXFA_Caption caption, | 82 void CapLeftRightPlacement(CXFA_Caption caption, |
| 83 const CFX_RectF& rtWidget, | 83 const CFX_RectF& rtWidget, |
| 84 int32_t iCapPlacement); | 84 int32_t iCapPlacement); |
| 85 void SetEditScrollOffset(); | 85 void SetEditScrollOffset(); |
| 86 | 86 |
| 87 public: | 87 public: |
| 88 virtual int32_t OnProcessMessage(CFWL_Message* pMessage); | 88 virtual void OnProcessMessage(CFWL_Message* pMessage); |
| 89 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); | 89 virtual void OnProcessEvent(CFWL_Event* pEvent); |
| 90 virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, | 90 virtual void OnDrawWidget(CFX_Graphics* pGraphics, |
| 91 const CFX_Matrix* pMatrix = NULL); | 91 const CFX_Matrix* pMatrix = NULL); |
| 92 | 92 |
| 93 protected: | 93 protected: |
| 94 CFWL_Widget* m_pNormalWidget; | 94 CFWL_Widget* m_pNormalWidget; |
| 95 CFX_RectF m_rtUI; | 95 CFX_RectF m_rtUI; |
| 96 CFX_RectF m_rtCaption; | 96 CFX_RectF m_rtCaption; |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 #endif // XFA_FXFA_APP_XFA_FFFIELD_H_ | 99 #endif // XFA_FXFA_APP_XFA_FFFIELD_H_ |
| OLD | NEW |