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/core/ifwl_monthcalendar.h" | 7 #include "xfa/fwl/core/ifwl_monthcalendar.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
11 #include "third_party/base/ptr_util.h" | 11 #include "third_party/base/ptr_util.h" |
12 #include "xfa/fde/tto/fde_textout.h" | 12 #include "xfa/fde/tto/fde_textout.h" |
13 #include "xfa/fwl/core/cfwl_message.h" | 13 #include "xfa/fwl/core/cfwl_msgmouse.h" |
14 #include "xfa/fwl/core/cfwl_themebackground.h" | 14 #include "xfa/fwl/core/cfwl_themebackground.h" |
15 #include "xfa/fwl/core/cfwl_themetext.h" | 15 #include "xfa/fwl/core/cfwl_themetext.h" |
16 #include "xfa/fwl/core/fwl_noteimp.h" | 16 #include "xfa/fwl/core/fwl_noteimp.h" |
17 #include "xfa/fwl/core/ifwl_datetimepicker.h" | 17 #include "xfa/fwl/core/ifwl_datetimepicker.h" |
18 #include "xfa/fwl/core/ifwl_formproxy.h" | 18 #include "xfa/fwl/core/ifwl_formproxy.h" |
19 #include "xfa/fwl/core/ifwl_monthcalendar.h" | 19 #include "xfa/fwl/core/ifwl_monthcalendar.h" |
20 #include "xfa/fwl/core/ifwl_themeprovider.h" | 20 #include "xfa/fwl/core/ifwl_themeprovider.h" |
21 | 21 |
22 #define MONTHCAL_HSEP_HEIGHT 1 | 22 #define MONTHCAL_HSEP_HEIGHT 1 |
23 #define MONTHCAL_VSEP_WIDTH 1 | 23 #define MONTHCAL_VSEP_WIDTH 1 |
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1108 uint32_t dwSt, | 1108 uint32_t dwSt, |
1109 CFX_RectF rc, | 1109 CFX_RectF rc, |
1110 CFX_WideString& wsday) | 1110 CFX_WideString& wsday) |
1111 : iDay(day), | 1111 : iDay(day), |
1112 iDayOfWeek(dayofweek), | 1112 iDayOfWeek(dayofweek), |
1113 dwStates(dwSt), | 1113 dwStates(dwSt), |
1114 rect(rc), | 1114 rect(rc), |
1115 wsDay(wsday) {} | 1115 wsDay(wsday) {} |
1116 | 1116 |
1117 IFWL_MonthCalendar::DATEINFO::~DATEINFO() {} | 1117 IFWL_MonthCalendar::DATEINFO::~DATEINFO() {} |
OLD | NEW |