diff options
author | dsinclair <dsinclair@chromium.org> | 2016-12-14 12:54:30 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-14 12:54:30 -0800 |
commit | be5f0297256ba3c597dd32eb7eefef57fbd8e201 (patch) | |
tree | 8081390047955a1c97fb55680d7e633c284c3cc4 /xfa/fwl/cfwl_listitem.h | |
parent | f085db37c21ad2bd66e349f9307fc89b426217f5 (diff) | |
download | pdfium-be5f0297256ba3c597dd32eb7eefef57fbd8e201.tar.xz |
Remove unused CFWL_ListBox code
This CL removes states and settings from the CFWL_ListBox code which were never
enabled.
Review-Url: https://codereview.chromium.org/2576483002
Diffstat (limited to 'xfa/fwl/cfwl_listitem.h')
-rw-r--r-- | xfa/fwl/cfwl_listitem.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/xfa/fwl/cfwl_listitem.h b/xfa/fwl/cfwl_listitem.h index c4af1d89b5..aac67fcb51 100644 --- a/xfa/fwl/cfwl_listitem.h +++ b/xfa/fwl/cfwl_listitem.h @@ -10,8 +10,6 @@ #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_string.h" -class CFX_DIBitmap; - class CFWL_ListItem { public: explicit CFWL_ListItem(const CFX_WideString& text); @@ -20,18 +18,8 @@ class CFWL_ListItem { CFX_RectF GetRect() const { return m_rtItem; } void SetRect(const CFX_RectF& rect) { m_rtItem = rect; } - uint32_t GetStyles() const { return m_dwStates; } - void SetStyles(uint32_t dwStyle) { m_dwStates = dwStyle; } - - CFX_RectF GetCheckRect() const { return m_rtCheckBox; } - void SetCheckRect(const CFX_RectF& rtCheck) { m_rtCheckBox = rtCheck; } - - uint32_t GetStates() const { return GetStyles() | GetCheckState(); } - - uint32_t GetCheckState() const { return m_dwCheckState; } - void SetCheckState(uint32_t dwCheckState) { m_dwCheckState = dwCheckState; } - - CFX_DIBitmap* GetIcon() const { return m_pDIB; } + uint32_t GetStates() const { return m_dwStates; } + void SetStates(uint32_t dwStates) { m_dwStates = dwStates; } CFX_WideString GetText() const { return m_wsText; } @@ -39,9 +27,6 @@ class CFWL_ListItem { CFX_RectF m_rtItem; uint32_t m_dwStates; CFX_WideString m_wsText; - CFX_DIBitmap* m_pDIB; - uint32_t m_dwCheckState; - CFX_RectF m_rtCheckBox; }; #endif // XFA_FWL_CFWL_LISTITEM_H_ |