| 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/include/fwl/lightwidget/datetimepicker.h" | 7 #include "xfa/include/fwl/lightwidget/datetimepicker.h" |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 } | 129 } |
| 130 FX_BOOL CFWL_DateTimePicker::DeSelect() { | 130 FX_BOOL CFWL_DateTimePicker::DeSelect() { |
| 131 return static_cast<IFWL_DateTimePicker*>(m_pIface)->DeSelect(); | 131 return static_cast<IFWL_DateTimePicker*>(m_pIface)->DeSelect(); |
| 132 } | 132 } |
| 133 FWL_ERR CFWL_DateTimePicker::GetBBox(CFX_RectF& rect) { | 133 FWL_ERR CFWL_DateTimePicker::GetBBox(CFX_RectF& rect) { |
| 134 return static_cast<IFWL_DateTimePicker*>(m_pIface)->GetBBox(rect); | 134 return static_cast<IFWL_DateTimePicker*>(m_pIface)->GetBBox(rect); |
| 135 } | 135 } |
| 136 FWL_ERR CFWL_DateTimePicker::SetEditLimit(int32_t nLimit) { | 136 FWL_ERR CFWL_DateTimePicker::SetEditLimit(int32_t nLimit) { |
| 137 return static_cast<IFWL_DateTimePicker*>(m_pIface)->SetEditLimit(nLimit); | 137 return static_cast<IFWL_DateTimePicker*>(m_pIface)->SetEditLimit(nLimit); |
| 138 } | 138 } |
| 139 FWL_ERR CFWL_DateTimePicker::ModifyEditStylesEx(FX_DWORD dwStylesExAdded, | 139 FWL_ERR CFWL_DateTimePicker::ModifyEditStylesEx(uint32_t dwStylesExAdded, |
| 140 FX_DWORD dwStylesExRemoved) { | 140 uint32_t dwStylesExRemoved) { |
| 141 return static_cast<IFWL_DateTimePicker*>(m_pIface) | 141 return static_cast<IFWL_DateTimePicker*>(m_pIface) |
| 142 ->ModifyEditStylesEx(dwStylesExAdded, dwStylesExRemoved); | 142 ->ModifyEditStylesEx(dwStylesExAdded, dwStylesExRemoved); |
| 143 } | 143 } |
| OLD | NEW |