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

Side by Side Diff: xfa/fwl/basewidget/fwl_monthcalendarimp.cpp

Issue 1827923002: Move xfa/include/fwl/{core,basewidget} to xfa/fwl/{core,basewidget}. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months 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
« no previous file with comments | « xfa/fwl/basewidget/fwl_monthcalendarimp.h ('k') | xfa/fwl/basewidget/fwl_pushbuttonimp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/basewidget/fwl_monthcalendarimp.h" 7 #include "xfa/fwl/basewidget/fwl_monthcalendarimp.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "xfa/fde/tto/fde_textout.h" 11 #include "xfa/fde/tto/fde_textout.h"
12 #include "xfa/fwl/basewidget/ifwl_monthcalendar.h"
13 #include "xfa/fwl/core/cfwl_message.h"
14 #include "xfa/fwl/core/cfwl_themebackground.h"
15 #include "xfa/fwl/core/cfwl_themetext.h"
12 #include "xfa/fwl/core/fwl_noteimp.h" 16 #include "xfa/fwl/core/fwl_noteimp.h"
13 #include "xfa/fwl/core/fwl_targetimp.h" 17 #include "xfa/fwl/core/fwl_targetimp.h"
14 #include "xfa/fwl/core/fwl_widgetimp.h" 18 #include "xfa/fwl/core/fwl_widgetimp.h"
15 #include "xfa/include/fwl/basewidget/fwl_monthcalendar.h" 19 #include "xfa/fwl/core/ifwl_themeprovider.h"
16 #include "xfa/include/fwl/core/fwl_theme.h"
17 20
18 #define MONTHCAL_HSEP_HEIGHT 1 21 #define MONTHCAL_HSEP_HEIGHT 1
19 #define MONTHCAL_VSEP_WIDTH 1 22 #define MONTHCAL_VSEP_WIDTH 1
20 #define MONTHCAL_HMARGIN 3 23 #define MONTHCAL_HMARGIN 3
21 #define MONTHCAL_VMARGIN 2 24 #define MONTHCAL_VMARGIN 2
22 #define MONTHCAL_ROWS 9 25 #define MONTHCAL_ROWS 9
23 #define MONTHCAL_COLUMNS 7 26 #define MONTHCAL_COLUMNS 7
24 #define MONTHCAL_HEADER_BTN_VMARGIN 7 27 #define MONTHCAL_HEADER_BTN_VMARGIN 7
25 #define MONTHCAL_HEADER_BTN_HMARGIN 5 28 #define MONTHCAL_HEADER_BTN_HMARGIN 5
26 29
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 if (m_pOwner->m_iHovered > 0) { 1092 if (m_pOwner->m_iHovered > 0) {
1090 CFX_RectF rtInvalidate; 1093 CFX_RectF rtInvalidate;
1091 rtInvalidate.Set(0, 0, 0, 0); 1094 rtInvalidate.Set(0, 0, 0, 0);
1092 m_pOwner->GetDayRect(m_pOwner->m_iHovered, rtInvalidate); 1095 m_pOwner->GetDayRect(m_pOwner->m_iHovered, rtInvalidate);
1093 m_pOwner->m_iHovered = -1; 1096 m_pOwner->m_iHovered = -1;
1094 if (!rtInvalidate.IsEmpty()) { 1097 if (!rtInvalidate.IsEmpty()) {
1095 m_pOwner->Repaint(&rtInvalidate); 1098 m_pOwner->Repaint(&rtInvalidate);
1096 } 1099 }
1097 } 1100 }
1098 } 1101 }
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_monthcalendarimp.h ('k') | xfa/fwl/basewidget/fwl_pushbuttonimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698