| 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_FWL_PUSHBUTTONIMP_H_ | 7 #ifndef XFA_SRC_FWL_BASEWIDGET_FWL_PUSHBUTTONIMP_H_ |
| 8 #define XFA_SRC_FWL_SRC_BASEWIDGET_FWL_PUSHBUTTONIMP_H_ | 8 #define XFA_SRC_FWL_BASEWIDGET_FWL_PUSHBUTTONIMP_H_ |
| 9 | 9 |
| 10 #include "xfa/src/fwl/src/core/fwl_widgetimp.h" | 10 #include "xfa/src/fwl/core/fwl_widgetimp.h" |
| 11 | 11 |
| 12 class CFWL_WidgetImpProperties; | 12 class CFWL_WidgetImpProperties; |
| 13 class IFWL_Widget; | 13 class IFWL_Widget; |
| 14 class CFWL_PushButtonImpDelegate; | 14 class CFWL_PushButtonImpDelegate; |
| 15 | 15 |
| 16 class CFWL_PushButtonImp : public CFWL_WidgetImp { | 16 class CFWL_PushButtonImp : public CFWL_WidgetImp { |
| 17 public: | 17 public: |
| 18 CFWL_PushButtonImp(const CFWL_WidgetImpProperties& properties, | 18 CFWL_PushButtonImp(const CFWL_WidgetImpProperties& properties, |
| 19 IFWL_Widget* pOuter); | 19 IFWL_Widget* pOuter); |
| 20 virtual ~CFWL_PushButtonImp(); | 20 virtual ~CFWL_PushButtonImp(); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 protected: | 55 protected: |
| 56 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); | 56 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); |
| 57 void OnLButtonDown(CFWL_MsgMouse* pMsg); | 57 void OnLButtonDown(CFWL_MsgMouse* pMsg); |
| 58 void OnLButtonUp(CFWL_MsgMouse* pMsg); | 58 void OnLButtonUp(CFWL_MsgMouse* pMsg); |
| 59 void OnMouseMove(CFWL_MsgMouse* pMsg); | 59 void OnMouseMove(CFWL_MsgMouse* pMsg); |
| 60 void OnMouseLeave(CFWL_MsgMouse* pMsg); | 60 void OnMouseLeave(CFWL_MsgMouse* pMsg); |
| 61 void OnKeyDown(CFWL_MsgKey* pMsg); | 61 void OnKeyDown(CFWL_MsgKey* pMsg); |
| 62 CFWL_PushButtonImp* m_pOwner; | 62 CFWL_PushButtonImp* m_pOwner; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 #endif // XFA_SRC_FWL_SRC_BASEWIDGET_FWL_PUSHBUTTONIMP_H_ | 65 #endif // XFA_SRC_FWL_BASEWIDGET_FWL_PUSHBUTTONIMP_H_ |
| OLD | NEW |