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_FWL_SRC_BASEWIDGET_INCLUDE_FWL_SPINBUTTONIMP_H_ | 7 #ifndef XFA_SRC_FWL_SRC_BASEWIDGET_INCLUDE_FWL_SPINBUTTONIMP_H_ |
8 #define XFA_SRC_FWL_SRC_BASEWIDGET_INCLUDE_FWL_SPINBUTTONIMP_H_ | 8 #define XFA_SRC_FWL_SRC_BASEWIDGET_INCLUDE_FWL_SPINBUTTONIMP_H_ |
9 | 9 |
10 class CFWL_WidgetImp; | 10 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h" |
11 | |
11 class CFWL_WidgetImpProperties; | 12 class CFWL_WidgetImpProperties; |
12 class CFWL_WidgetImpDelegate; | |
13 class IFWL_Widget; | 13 class IFWL_Widget; |
14 class IFWL_Timer; | 14 class IFWL_Timer; |
15 class CFWL_SpinButtonImp; | 15 class CFWL_SpinButtonImp; |
16 class CFWL_SpinButtonImpDelegate; | 16 class CFWL_SpinButtonImpDelegate; |
17 class CFWL_SpinButtonImp : public CFWL_WidgetImp, public IFWL_Timer { | 17 class CFWL_SpinButtonImp : public CFWL_WidgetImp, public IFWL_Timer { |
Tom Sepez
2016/02/22 22:23:39
ditto
dsinclair
2016/02/23 14:09:15
Done.
| |
18 public: | 18 public: |
19 CFWL_SpinButtonImp(const CFWL_WidgetImpProperties& properties, | 19 CFWL_SpinButtonImp(const CFWL_WidgetImpProperties& properties, |
20 IFWL_Widget* pOuter); | 20 IFWL_Widget* pOuter); |
21 ~CFWL_SpinButtonImp(); | 21 ~CFWL_SpinButtonImp(); |
22 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; | 22 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; |
23 virtual FX_DWORD GetClassID() const; | 23 virtual FX_DWORD GetClassID() const; |
24 virtual FWL_ERR Initialize(); | 24 virtual FWL_ERR Initialize(); |
25 virtual FWL_ERR Finalize(); | 25 virtual FWL_ERR Finalize(); |
26 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE); | 26 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE); |
27 virtual FWL_ERR Update(); | 27 virtual FWL_ERR Update(); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
61 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); | 61 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); |
62 void OnLButtonDown(CFWL_MsgMouse* pMsg); | 62 void OnLButtonDown(CFWL_MsgMouse* pMsg); |
63 void OnLButtonUp(CFWL_MsgMouse* pMsg); | 63 void OnLButtonUp(CFWL_MsgMouse* pMsg); |
64 void OnMouseMove(CFWL_MsgMouse* pMsg); | 64 void OnMouseMove(CFWL_MsgMouse* pMsg); |
65 void OnMouseLeave(CFWL_MsgMouse* pMsg); | 65 void OnMouseLeave(CFWL_MsgMouse* pMsg); |
66 void OnKeyDown(CFWL_MsgKey* pMsg); | 66 void OnKeyDown(CFWL_MsgKey* pMsg); |
67 CFWL_SpinButtonImp* m_pOwner; | 67 CFWL_SpinButtonImp* m_pOwner; |
68 }; | 68 }; |
69 | 69 |
70 #endif // XFA_SRC_FWL_SRC_BASEWIDGET_INCLUDE_FWL_SPINBUTTONIMP_H_ | 70 #endif // XFA_SRC_FWL_SRC_BASEWIDGET_INCLUDE_FWL_SPINBUTTONIMP_H_ |
OLD | NEW |