| 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_BASEWIDGET_FWL_MONTHCALENDARIMP_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_FWL_MONTHCALENDARIMP_H_ |
| 8 #define XFA_SRC_FWL_BASEWIDGET_FWL_MONTHCALENDARIMP_H_ | 8 #define XFA_FWL_BASEWIDGET_FWL_MONTHCALENDARIMP_H_ |
| 9 | 9 |
| 10 #include "xfa/src/fgas/localization/fgas_datetime.h" | 10 #include "xfa/fgas/localization/fgas_datetime.h" |
| 11 #include "xfa/src/fwl/core/fwl_widgetimp.h" | 11 #include "xfa/fwl/core/fwl_widgetimp.h" |
| 12 | 12 |
| 13 class CFWL_WidgetImpProperties; | 13 class CFWL_WidgetImpProperties; |
| 14 class IFWL_Widget; | 14 class IFWL_Widget; |
| 15 class CFWL_MonthCalendarImpDelegate; | 15 class CFWL_MonthCalendarImpDelegate; |
| 16 | 16 |
| 17 extern uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth); | 17 extern uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth); |
| 18 | 18 |
| 19 class CFWL_MonthCalendarImp : public CFWL_WidgetImp { | 19 class CFWL_MonthCalendarImp : public CFWL_WidgetImp { |
| 20 public: | 20 public: |
| 21 CFWL_MonthCalendarImp(const CFWL_WidgetImpProperties& properties, | 21 CFWL_MonthCalendarImp(const CFWL_WidgetImpProperties& properties, |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 protected: | 233 protected: |
| 234 void OnActivate(CFWL_Message* pMsg); | 234 void OnActivate(CFWL_Message* pMsg); |
| 235 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); | 235 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); |
| 236 void OnLButtonDown(CFWL_MsgMouse* pMsg); | 236 void OnLButtonDown(CFWL_MsgMouse* pMsg); |
| 237 void OnLButtonUp(CFWL_MsgMouse* pMsg); | 237 void OnLButtonUp(CFWL_MsgMouse* pMsg); |
| 238 void OnMouseMove(CFWL_MsgMouse* pMsg); | 238 void OnMouseMove(CFWL_MsgMouse* pMsg); |
| 239 void OnMouseLeave(CFWL_MsgMouse* pMsg); | 239 void OnMouseLeave(CFWL_MsgMouse* pMsg); |
| 240 CFWL_MonthCalendarImp* m_pOwner; | 240 CFWL_MonthCalendarImp* m_pOwner; |
| 241 }; | 241 }; |
| 242 | 242 |
| 243 #endif // XFA_SRC_FWL_BASEWIDGET_FWL_MONTHCALENDARIMP_H_ | 243 #endif // XFA_FWL_BASEWIDGET_FWL_MONTHCALENDARIMP_H_ |
| OLD | NEW |