Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(789)

Unified Diff: xfa/include/fwl/lightwidget/listbox.h

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/include/fwl/lightwidget/edit.h ('k') | xfa/include/fwl/lightwidget/scrollbar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/include/fwl/lightwidget/listbox.h
diff --git a/xfa/include/fwl/lightwidget/listbox.h b/xfa/include/fwl/lightwidget/listbox.h
index 69c7d208c63eba8336829cd76aa11c6be9def44c..6e35de738be193278d25018a6f350c3addd738b6 100644
--- a/xfa/include/fwl/lightwidget/listbox.h
+++ b/xfa/include/fwl/lightwidget/listbox.h
@@ -43,7 +43,7 @@ class CFWL_ListBox : public CFWL_Widget {
FWL_ERR SetItemData(FWL_HLISTITEM hItem, void* pData);
void* GetItemData(FWL_HLISTITEM hItem);
FWL_HLISTITEM GetItemAtPoint(FX_FLOAT fx, FX_FLOAT fy);
- FX_DWORD GetItemStates(FWL_HLISTITEM hItem);
+ uint32_t GetItemStates(FWL_HLISTITEM hItem);
CFWL_ListBox();
virtual ~CFWL_ListBox();
@@ -64,7 +64,7 @@ class CFWL_ListBox : public CFWL_Widget {
FX_BOOL SetItemIndex(IFWL_Widget* pWidget,
FWL_HLISTITEM hItem,
int32_t nIndex) override;
- FX_DWORD GetItemStyles(IFWL_Widget* pWidget, FWL_HLISTITEM hItem) override;
+ uint32_t GetItemStyles(IFWL_Widget* pWidget, FWL_HLISTITEM hItem) override;
FWL_ERR GetItemText(IFWL_Widget* pWidget,
FWL_HLISTITEM hItem,
CFX_WideString& wsText) override;
@@ -74,7 +74,7 @@ class CFWL_ListBox : public CFWL_Widget {
void* GetItemData(IFWL_Widget* pWidget, FWL_HLISTITEM hItem) override;
FWL_ERR SetItemStyles(IFWL_Widget* pWidget,
FWL_HLISTITEM hItem,
- FX_DWORD dwStyle) override;
+ uint32_t dwStyle) override;
FWL_ERR SetItemText(IFWL_Widget* pWidget,
FWL_HLISTITEM hItem,
const FX_WCHAR* pszText) override;
@@ -90,11 +90,11 @@ class CFWL_ListBox : public CFWL_Widget {
FWL_ERR SetItemCheckRect(IFWL_Widget* pWidget,
FWL_HLISTITEM hItem,
const CFX_RectF& rtCheck) override;
- FX_DWORD GetItemCheckState(IFWL_Widget* pWidget,
+ uint32_t GetItemCheckState(IFWL_Widget* pWidget,
FWL_HLISTITEM hItem) override;
FWL_ERR SetItemCheckState(IFWL_Widget* pWidget,
FWL_HLISTITEM hItem,
- FX_DWORD dwCheckState) override;
+ uint32_t dwCheckState) override;
std::vector<std::unique_ptr<CFWL_ListItem>> m_ItemArray;
CFX_WideString m_wsData;
@@ -116,11 +116,11 @@ class CFWL_ListItem {
m_rtCheckBox.Reset();
}
CFX_RectF m_rtItem;
- FX_DWORD m_dwStates;
+ uint32_t m_dwStates;
CFX_WideString m_wsText;
CFX_DIBitmap* m_pDIB;
void* m_pData;
- FX_DWORD m_dwCheckState;
+ uint32_t m_dwCheckState;
CFX_RectF m_rtCheckBox;
};
« no previous file with comments | « xfa/include/fwl/lightwidget/edit.h ('k') | xfa/include/fwl/lightwidget/scrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698