| 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_FWL_BASEWIDGET_FWL_SPINBUTTONIMP_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_FWL_SPINBUTTONIMP_H_ |
| 8 #define XFA_FWL_BASEWIDGET_FWL_SPINBUTTONIMP_H_ | 8 #define XFA_FWL_BASEWIDGET_FWL_SPINBUTTONIMP_H_ |
| 9 | 9 |
| 10 #include "xfa/fwl/core/fwl_widgetimp.h" | 10 #include "xfa/fwl/core/fwl_widgetimp.h" |
| 11 #include "xfa/include/fwl/core/fwl_timer.h" | 11 #include "xfa/fwl/core/ifwl_timer.h" |
| 12 #include "xfa/fwl/core/ifwl_widget.h" |
| 12 | 13 |
| 14 class CFWL_MsgMouse; |
| 15 class CFWL_SpinButtonImpDelegate; |
| 13 class CFWL_WidgetImpProperties; | 16 class CFWL_WidgetImpProperties; |
| 14 class CFWL_SpinButtonImpDelegate; | |
| 15 | 17 |
| 16 class CFWL_SpinButtonImp : public CFWL_WidgetImp, public IFWL_Timer { | 18 class CFWL_SpinButtonImp : public CFWL_WidgetImp, public IFWL_Timer { |
| 17 public: | 19 public: |
| 18 CFWL_SpinButtonImp(const CFWL_WidgetImpProperties& properties, | 20 CFWL_SpinButtonImp(const CFWL_WidgetImpProperties& properties, |
| 19 IFWL_Widget* pOuter); | 21 IFWL_Widget* pOuter); |
| 20 ~CFWL_SpinButtonImp(); | 22 ~CFWL_SpinButtonImp(); |
| 21 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; | 23 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; |
| 22 virtual FX_DWORD GetClassID() const; | 24 virtual FX_DWORD GetClassID() const; |
| 23 virtual FWL_ERR Initialize(); | 25 virtual FWL_ERR Initialize(); |
| 24 virtual FWL_ERR Finalize(); | 26 virtual FWL_ERR Finalize(); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); | 62 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); |
| 61 void OnLButtonDown(CFWL_MsgMouse* pMsg); | 63 void OnLButtonDown(CFWL_MsgMouse* pMsg); |
| 62 void OnLButtonUp(CFWL_MsgMouse* pMsg); | 64 void OnLButtonUp(CFWL_MsgMouse* pMsg); |
| 63 void OnMouseMove(CFWL_MsgMouse* pMsg); | 65 void OnMouseMove(CFWL_MsgMouse* pMsg); |
| 64 void OnMouseLeave(CFWL_MsgMouse* pMsg); | 66 void OnMouseLeave(CFWL_MsgMouse* pMsg); |
| 65 void OnKeyDown(CFWL_MsgKey* pMsg); | 67 void OnKeyDown(CFWL_MsgKey* pMsg); |
| 66 CFWL_SpinButtonImp* m_pOwner; | 68 CFWL_SpinButtonImp* m_pOwner; |
| 67 }; | 69 }; |
| 68 | 70 |
| 69 #endif // XFA_FWL_BASEWIDGET_FWL_SPINBUTTONIMP_H_ | 71 #endif // XFA_FWL_BASEWIDGET_FWL_SPINBUTTONIMP_H_ |
| OLD | NEW |