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 #include <memory> | 10 #include <memory> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "third_party/base/ptr_util.h" | 13 #include "third_party/base/ptr_util.h" |
14 #include "xfa/fde/tto/fde_textout.h" | 14 #include "xfa/fde/tto/fde_textout.h" |
15 #include "xfa/fwl/core/cfwl_msgmouse.h" | 15 #include "xfa/fwl/core/cfwl_msgmouse.h" |
| 16 #include "xfa/fwl/core/cfwl_notedriver.h" |
16 #include "xfa/fwl/core/cfwl_themebackground.h" | 17 #include "xfa/fwl/core/cfwl_themebackground.h" |
17 #include "xfa/fwl/core/cfwl_themetext.h" | 18 #include "xfa/fwl/core/cfwl_themetext.h" |
18 #include "xfa/fwl/core/fwl_noteimp.h" | |
19 #include "xfa/fwl/core/ifwl_datetimepicker.h" | 19 #include "xfa/fwl/core/ifwl_datetimepicker.h" |
20 #include "xfa/fwl/core/ifwl_formproxy.h" | 20 #include "xfa/fwl/core/ifwl_formproxy.h" |
21 #include "xfa/fwl/core/ifwl_themeprovider.h" | 21 #include "xfa/fwl/core/ifwl_themeprovider.h" |
22 | 22 |
23 #define MONTHCAL_HSEP_HEIGHT 1 | 23 #define MONTHCAL_HSEP_HEIGHT 1 |
24 #define MONTHCAL_VSEP_WIDTH 1 | 24 #define MONTHCAL_VSEP_WIDTH 1 |
25 #define MONTHCAL_HMARGIN 3 | 25 #define MONTHCAL_HMARGIN 3 |
26 #define MONTHCAL_VMARGIN 2 | 26 #define MONTHCAL_VMARGIN 2 |
27 #define MONTHCAL_ROWS 9 | 27 #define MONTHCAL_ROWS 9 |
28 #define MONTHCAL_COLUMNS 7 | 28 #define MONTHCAL_COLUMNS 7 |
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1110 uint32_t dwSt, | 1110 uint32_t dwSt, |
1111 CFX_RectF rc, | 1111 CFX_RectF rc, |
1112 CFX_WideString& wsday) | 1112 CFX_WideString& wsday) |
1113 : iDay(day), | 1113 : iDay(day), |
1114 iDayOfWeek(dayofweek), | 1114 iDayOfWeek(dayofweek), |
1115 dwStates(dwSt), | 1115 dwStates(dwSt), |
1116 rect(rc), | 1116 rect(rc), |
1117 wsDay(wsday) {} | 1117 wsDay(wsday) {} |
1118 | 1118 |
1119 IFWL_MonthCalendar::DATEINFO::~DATEINFO() {} | 1119 IFWL_MonthCalendar::DATEINFO::~DATEINFO() {} |
OLD | NEW |