summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_listitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/cfwl_listitem.h')
-rw-r--r--xfa/fwl/cfwl_listitem.h19
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_