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

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

Issue 1735833003: Remove include only fwl.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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
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/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h"
8
9 #include "xfa/include/fwl/basewidget/fwl_monthcalendar.h"
10 #include "xfa/include/fwl/core/fwl_theme.h"
7 #include "xfa/src/foxitlib.h" 11 #include "xfa/src/foxitlib.h"
8 #include "xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h"
9 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h" 12 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h"
10 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h" 13 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h"
11 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h" 14 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h"
15
12 #define MONTHCAL_HSEP_HEIGHT 1 16 #define MONTHCAL_HSEP_HEIGHT 1
13 #define MONTHCAL_VSEP_WIDTH 1 17 #define MONTHCAL_VSEP_WIDTH 1
14 #define MONTHCAL_HMARGIN 3 18 #define MONTHCAL_HMARGIN 3
15 #define MONTHCAL_VMARGIN 2 19 #define MONTHCAL_VMARGIN 2
16 #define MONTHCAL_ROWS 9 20 #define MONTHCAL_ROWS 9
17 #define MONTHCAL_COLUMNS 7 21 #define MONTHCAL_COLUMNS 7
18 #define MONTHCAL_HEADER_BTN_VMARGIN 7 22 #define MONTHCAL_HEADER_BTN_VMARGIN 7
19 #define MONTHCAL_HEADER_BTN_HMARGIN 5 23 #define MONTHCAL_HEADER_BTN_HMARGIN 5
20 24
21 // static 25 // static
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 if (m_pOwner->m_iHovered > 0) { 1095 if (m_pOwner->m_iHovered > 0) {
1092 CFX_RectF rtInvalidate; 1096 CFX_RectF rtInvalidate;
1093 rtInvalidate.Set(0, 0, 0, 0); 1097 rtInvalidate.Set(0, 0, 0, 0);
1094 m_pOwner->GetDayRect(m_pOwner->m_iHovered, rtInvalidate); 1098 m_pOwner->GetDayRect(m_pOwner->m_iHovered, rtInvalidate);
1095 m_pOwner->m_iHovered = -1; 1099 m_pOwner->m_iHovered = -1;
1096 if (!rtInvalidate.IsEmpty()) { 1100 if (!rtInvalidate.IsEmpty()) {
1097 m_pOwner->Repaint(&rtInvalidate); 1101 m_pOwner->Repaint(&rtInvalidate);
1098 } 1102 }
1099 } 1103 }
1100 } 1104 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698