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/combobox.h" | 7 #include "xfa/include/fwl/lightwidget/combobox.h" |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 IFWL_Widget* pWidget, | 361 IFWL_Widget* pWidget, |
362 FWL_HLISTITEM hItem, | 362 FWL_HLISTITEM hItem, |
363 FX_DWORD dwCheckState) { | 363 FX_DWORD dwCheckState) { |
364 CFWL_ComboBoxItem* pItem = reinterpret_cast<CFWL_ComboBoxItem*>(hItem); | 364 CFWL_ComboBoxItem* pItem = reinterpret_cast<CFWL_ComboBoxItem*>(hItem); |
365 pItem->m_dwCheckState = dwCheckState; | 365 pItem->m_dwCheckState = dwCheckState; |
366 return FWL_ERR_Succeeded; | 366 return FWL_ERR_Succeeded; |
367 } | 367 } |
368 FX_FLOAT CFWL_ComboBox::CFWL_ComboBoxDP::GetListHeight(IFWL_Widget* pWidget) { | 368 FX_FLOAT CFWL_ComboBox::CFWL_ComboBoxDP::GetListHeight(IFWL_Widget* pWidget) { |
369 return m_fMaxListHeight; | 369 return m_fMaxListHeight; |
370 } | 370 } |
OLD | NEW |