| 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_SRC_FXFA_APP_XFA_FFTEXTEDIT_H_ | 7 #ifndef XFA_FXFA_APP_XFA_FFTEXTEDIT_H_ |
| 8 #define XFA_SRC_FXFA_APP_XFA_FFTEXTEDIT_H_ | 8 #define XFA_FXFA_APP_XFA_FFTEXTEDIT_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "xfa/src/fxfa/app/xfa_fffield.h" | 12 #include "xfa/fxfa/app/xfa_fffield.h" |
| 13 | 13 |
| 14 class CXFA_FFTextEdit : public CXFA_FFField { | 14 class CXFA_FFTextEdit : public CXFA_FFField { |
| 15 public: | 15 public: |
| 16 CXFA_FFTextEdit(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | 16 CXFA_FFTextEdit(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); |
| 17 ~CXFA_FFTextEdit() override; | 17 ~CXFA_FFTextEdit() override; |
| 18 | 18 |
| 19 // CXFA_FFField: | 19 // CXFA_FFField: |
| 20 FX_BOOL LoadWidget() override; | 20 FX_BOOL LoadWidget() override; |
| 21 void UpdateWidgetProperty() override; | 21 void UpdateWidgetProperty() override; |
| 22 FX_BOOL OnLButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy) override; | 22 FX_BOOL OnLButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy) override; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 virtual FX_BOOL IsDataChanged(); | 128 virtual FX_BOOL IsDataChanged(); |
| 129 | 129 |
| 130 public: | 130 public: |
| 131 void OnSelectChanged(IFWL_Widget* pWidget, | 131 void OnSelectChanged(IFWL_Widget* pWidget, |
| 132 int32_t iYear, | 132 int32_t iYear, |
| 133 int32_t iMonth, | 133 int32_t iMonth, |
| 134 int32_t iDay); | 134 int32_t iDay); |
| 135 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); | 135 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 #endif // XFA_SRC_FXFA_APP_XFA_FFTEXTEDIT_H_ | 138 #endif // XFA_FXFA_APP_XFA_FFTEXTEDIT_H_ |
| OLD | NEW |