diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-09 10:09:03 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-09 10:09:03 -0800 |
commit | 3ff4deea307c38462393e4f83dabe32949338168 (patch) | |
tree | e99ff3fbe696997ef56c7d5a39537d5d26d0e74a /xfa/fwl/core/cfwl_listitem.h | |
parent | 1e21c0d076cc6cc61f36a1835dc886f721fdc4d6 (diff) | |
download | pdfium-3ff4deea307c38462393e4f83dabe32949338168.tar.xz |
Rename IFWL_ListItem to CFWL_ListItem
This CL removes the empty IFWL_ListItem class and uses CFWL_ListItem in its
place. As well, the CFWL_ComboListItem is removed and replaced with
CFWL_ListItem. These were almost duplicate classes and the one missing field
added to CFWL_ListItem.
Review-Url: https://codereview.chromium.org/2487943003
Diffstat (limited to 'xfa/fwl/core/cfwl_listitem.h')
-rw-r--r-- | xfa/fwl/core/cfwl_listitem.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/xfa/fwl/core/cfwl_listitem.h b/xfa/fwl/core/cfwl_listitem.h new file mode 100644 index 0000000000..0a5f0a3088 --- /dev/null +++ b/xfa/fwl/core/cfwl_listitem.h @@ -0,0 +1,30 @@ +// Copyright 2016 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#ifndef XFA_FWL_CORE_CFWL_LISTITEM_H_ +#define XFA_FWL_CORE_CFWL_LISTITEM_H_ + +#include "core/fxcrt/fx_coordinates.h" +#include "core/fxcrt/fx_string.h" + +class CFX_DIBitmap; + +class CFWL_ListItem { + public: + CFWL_ListItem(); + ~CFWL_ListItem(); + + CFX_RectF m_rtItem; + uint32_t m_dwStates; + uint32_t m_dwStyles; + CFX_WideString m_wsText; + CFX_DIBitmap* m_pDIB; + void* m_pData; + uint32_t m_dwCheckState; + CFX_RectF m_rtCheckBox; +}; + +#endif // XFA_FWL_CORE_CFWL_LISTITEM_H_ |