| 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_MONTHCALENDARIMP_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_FWL_MONTHCALENDARIMP_H_ |
| 8 #define XFA_FWL_BASEWIDGET_FWL_MONTHCALENDARIMP_H_ | 8 #define XFA_FWL_BASEWIDGET_FWL_MONTHCALENDARIMP_H_ |
| 9 | 9 |
| 10 #include "xfa/fgas/localization/fgas_datetime.h" | 10 #include "xfa/fgas/localization/fgas_datetime.h" |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 uint32_t dwStates; | 224 uint32_t dwStates; |
| 225 CFX_RectF rect; | 225 CFX_RectF rect; |
| 226 CFX_WideString wsDay; | 226 CFX_WideString wsDay; |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 class CFWL_MonthCalendarImpDelegate : public CFWL_WidgetImpDelegate { | 229 class CFWL_MonthCalendarImpDelegate : public CFWL_WidgetImpDelegate { |
| 230 public: | 230 public: |
| 231 CFWL_MonthCalendarImpDelegate(CFWL_MonthCalendarImp* pOwner); | 231 CFWL_MonthCalendarImpDelegate(CFWL_MonthCalendarImp* pOwner); |
| 232 void OnProcessMessage(CFWL_Message* pMessage) override; | 232 void OnProcessMessage(CFWL_Message* pMessage) override; |
| 233 void OnDrawWidget(CFX_Graphics* pGraphics, | 233 void OnDrawWidget(CFX_Graphics* pGraphics, |
| 234 const CFX_Matrix* pMatrix = NULL) override; | 234 const CFX_Matrix* pMatrix = nullptr) override; |
| 235 | 235 |
| 236 protected: | 236 protected: |
| 237 void OnActivate(CFWL_Message* pMsg); | 237 void OnActivate(CFWL_Message* pMsg); |
| 238 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); | 238 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); |
| 239 void OnLButtonDown(CFWL_MsgMouse* pMsg); | 239 void OnLButtonDown(CFWL_MsgMouse* pMsg); |
| 240 void OnLButtonUp(CFWL_MsgMouse* pMsg); | 240 void OnLButtonUp(CFWL_MsgMouse* pMsg); |
| 241 void OnMouseMove(CFWL_MsgMouse* pMsg); | 241 void OnMouseMove(CFWL_MsgMouse* pMsg); |
| 242 void OnMouseLeave(CFWL_MsgMouse* pMsg); | 242 void OnMouseLeave(CFWL_MsgMouse* pMsg); |
| 243 CFWL_MonthCalendarImp* m_pOwner; | 243 CFWL_MonthCalendarImp* m_pOwner; |
| 244 }; | 244 }; |
| 245 | 245 |
| 246 #endif // XFA_FWL_BASEWIDGET_FWL_MONTHCALENDARIMP_H_ | 246 #endif // XFA_FWL_BASEWIDGET_FWL_MONTHCALENDARIMP_H_ |
| OLD | NEW |