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/listbox.h" | 7 #include "xfa/include/fwl/lightwidget/listbox.h" |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 FX_DWORD CFWL_ListBox::CFWL_ListBoxDP::GetItemCheckState(IFWL_Widget* pWidget, | 293 FX_DWORD CFWL_ListBox::CFWL_ListBoxDP::GetItemCheckState(IFWL_Widget* pWidget, |
294 FWL_HLISTITEM hItem) { | 294 FWL_HLISTITEM hItem) { |
295 return reinterpret_cast<CFWL_ListItem*>(hItem)->m_dwCheckState; | 295 return reinterpret_cast<CFWL_ListItem*>(hItem)->m_dwCheckState; |
296 } | 296 } |
297 FWL_ERR CFWL_ListBox::CFWL_ListBoxDP::SetItemCheckState(IFWL_Widget* pWidget, | 297 FWL_ERR CFWL_ListBox::CFWL_ListBoxDP::SetItemCheckState(IFWL_Widget* pWidget, |
298 FWL_HLISTITEM hItem, | 298 FWL_HLISTITEM hItem, |
299 FX_DWORD dwCheckState) { | 299 FX_DWORD dwCheckState) { |
300 reinterpret_cast<CFWL_ListItem*>(hItem)->m_dwCheckState = dwCheckState; | 300 reinterpret_cast<CFWL_ListItem*>(hItem)->m_dwCheckState = dwCheckState; |
301 return FWL_ERR_Succeeded; | 301 return FWL_ERR_Succeeded; |
302 } | 302 } |
OLD | NEW |