Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: xfa/fwl/core/ifwl_monthcalendar.cpp

Issue 2506253004: Split fwl/core class pt I. (Closed)
Patch Set: Rebase to master Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_msgmouse.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_monthcalendardp.h"
20 #include "xfa/fwl/core/ifwl_themeprovider.h" 21 #include "xfa/fwl/core/ifwl_themeprovider.h"
21 22
22 #define MONTHCAL_HSEP_HEIGHT 1 23 #define MONTHCAL_HSEP_HEIGHT 1
23 #define MONTHCAL_VSEP_WIDTH 1 24 #define MONTHCAL_VSEP_WIDTH 1
24 #define MONTHCAL_HMARGIN 3 25 #define MONTHCAL_HMARGIN 3
25 #define MONTHCAL_VMARGIN 2 26 #define MONTHCAL_VMARGIN 2
26 #define MONTHCAL_ROWS 9 27 #define MONTHCAL_ROWS 9
27 #define MONTHCAL_COLUMNS 7 28 #define MONTHCAL_COLUMNS 7
28 #define MONTHCAL_HEADER_BTN_VMARGIN 7 29 #define MONTHCAL_HEADER_BTN_VMARGIN 7
29 #define MONTHCAL_HEADER_BTN_HMARGIN 5 30 #define MONTHCAL_HEADER_BTN_HMARGIN 5
(...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 uint32_t dwSt, 1109 uint32_t dwSt,
1109 CFX_RectF rc, 1110 CFX_RectF rc,
1110 CFX_WideString& wsday) 1111 CFX_WideString& wsday)
1111 : iDay(day), 1112 : iDay(day),
1112 iDayOfWeek(dayofweek), 1113 iDayOfWeek(dayofweek),
1113 dwStates(dwSt), 1114 dwStates(dwSt),
1114 rect(rc), 1115 rect(rc),
1115 wsDay(wsday) {} 1116 wsDay(wsday) {}
1116 1117
1117 IFWL_MonthCalendar::DATEINFO::~DATEINFO() {} 1118 IFWL_MonthCalendar::DATEINFO::~DATEINFO() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698