| 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_datetimepicker.h" | 7 #include "xfa/fwl/core/ifwl_datetimepicker.h" |
| 8 | 8 |
| 9 #include "third_party/base/ptr_util.h" | 9 #include "third_party/base/ptr_util.h" |
| 10 #include "xfa/fwl/core/cfwl_message.h" | 10 #include "xfa/fwl/core/cfwl_msgmouse.h" |
| 11 #include "xfa/fwl/core/cfwl_msgsetfocus.h" |
| 11 #include "xfa/fwl/core/cfwl_themebackground.h" | 12 #include "xfa/fwl/core/cfwl_themebackground.h" |
| 12 #include "xfa/fwl/core/cfwl_widgetmgr.h" | 13 #include "xfa/fwl/core/cfwl_widgetmgr.h" |
| 13 #include "xfa/fwl/core/fwl_noteimp.h" | 14 #include "xfa/fwl/core/fwl_noteimp.h" |
| 14 #include "xfa/fwl/core/ifwl_formproxy.h" | 15 #include "xfa/fwl/core/ifwl_formproxy.h" |
| 15 #include "xfa/fwl/core/ifwl_spinbutton.h" | 16 #include "xfa/fwl/core/ifwl_spinbutton.h" |
| 16 #include "xfa/fwl/core/ifwl_themeprovider.h" | 17 #include "xfa/fwl/core/ifwl_themeprovider.h" |
| 17 | 18 |
| 18 namespace { | 19 namespace { |
| 19 | 20 |
| 20 const int kDateTimePickerWidth = 100; | 21 const int kDateTimePickerWidth = 100; |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 return m_iCurDay; | 680 return m_iCurDay; |
| 680 } | 681 } |
| 681 | 682 |
| 682 int32_t IFWL_DateTimePicker::GetCurMonth(IFWL_Widget* pWidget) { | 683 int32_t IFWL_DateTimePicker::GetCurMonth(IFWL_Widget* pWidget) { |
| 683 return m_iCurMonth; | 684 return m_iCurMonth; |
| 684 } | 685 } |
| 685 | 686 |
| 686 int32_t IFWL_DateTimePicker::GetCurYear(IFWL_Widget* pWidget) { | 687 int32_t IFWL_DateTimePicker::GetCurYear(IFWL_Widget* pWidget) { |
| 687 return m_iCurYear; | 688 return m_iCurYear; |
| 688 } | 689 } |
| OLD | NEW |