| 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_FFTEXTEDIT_H_ | 7 #ifndef XFA_SRC_FXFA_SRC_APP_XFA_FFTEXTEDIT_H_ |
| 8 #define XFA_FFTEXTEDIT_H_ | 8 #define XFA_SRC_FXFA_SRC_APP_XFA_FFTEXTEDIT_H_ |
| 9 | 9 |
| 10 class CXFA_FFTextEdit : public CXFA_FFField { | 10 class CXFA_FFTextEdit : public CXFA_FFField { |
| 11 public: | 11 public: |
| 12 CXFA_FFTextEdit(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | 12 CXFA_FFTextEdit(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); |
| 13 ~CXFA_FFTextEdit() override; | 13 ~CXFA_FFTextEdit() override; |
| 14 | 14 |
| 15 // CXFA_FFField: | 15 // CXFA_FFField: |
| 16 FX_BOOL LoadWidget() override; | 16 FX_BOOL LoadWidget() override; |
| 17 void UpdateWidgetProperty() override; | 17 void UpdateWidgetProperty() override; |
| 18 FX_BOOL OnLButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy) override; | 18 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... |
| 124 virtual FX_BOOL IsDataChanged(); | 124 virtual FX_BOOL IsDataChanged(); |
| 125 | 125 |
| 126 public: | 126 public: |
| 127 void OnSelectChanged(IFWL_Widget* pWidget, | 127 void OnSelectChanged(IFWL_Widget* pWidget, |
| 128 int32_t iYear, | 128 int32_t iYear, |
| 129 int32_t iMonth, | 129 int32_t iMonth, |
| 130 int32_t iDay); | 130 int32_t iDay); |
| 131 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); | 131 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 #endif // XFA_FFTEXTEDIT_H_ | 134 #endif // XFA_SRC_FXFA_SRC_APP_XFA_FFTEXTEDIT_H_ |
| OLD | NEW |