| 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 #include "xfa/fwl/basewidget/fwl_monthcalendarimp.h" | 7 #include "xfa/fwl/basewidget/fwl_monthcalendarimp.h" |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 | 10 |
| (...skipping 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1190 if (m_pOwner->m_iHovered > 0) { | 1190 if (m_pOwner->m_iHovered > 0) { |
| 1191 CFX_RectF rtInvalidate; | 1191 CFX_RectF rtInvalidate; |
| 1192 rtInvalidate.Set(0, 0, 0, 0); | 1192 rtInvalidate.Set(0, 0, 0, 0); |
| 1193 m_pOwner->GetDayRect(m_pOwner->m_iHovered, rtInvalidate); | 1193 m_pOwner->GetDayRect(m_pOwner->m_iHovered, rtInvalidate); |
| 1194 m_pOwner->m_iHovered = -1; | 1194 m_pOwner->m_iHovered = -1; |
| 1195 if (!rtInvalidate.IsEmpty()) { | 1195 if (!rtInvalidate.IsEmpty()) { |
| 1196 m_pOwner->Repaint(&rtInvalidate); | 1196 m_pOwner->Repaint(&rtInvalidate); |
| 1197 } | 1197 } |
| 1198 } | 1198 } |
| 1199 } | 1199 } |
| 1200 |
| 1201 FWL_DATEINFO::FWL_DATEINFO(int32_t day, |
| 1202 int32_t dayofweek, |
| 1203 uint32_t dwSt, |
| 1204 CFX_RectF rc, |
| 1205 CFX_WideString& wsday) |
| 1206 : iDay(day), |
| 1207 iDayOfWeek(dayofweek), |
| 1208 dwStates(dwSt), |
| 1209 rect(rc), |
| 1210 wsDay(wsday) {} |
| 1211 |
| 1212 FWL_DATEINFO::~FWL_DATEINFO() {} |
| OLD | NEW |