summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit/fxet_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fxedit/fxet_list.cpp')
-rw-r--r--fpdfsdk/fxedit/fxet_list.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/fpdfsdk/fxedit/fxet_list.cpp b/fpdfsdk/fxedit/fxet_list.cpp
index 1385d57680..662a64b00a 100644
--- a/fpdfsdk/fxedit/fxet_list.cpp
+++ b/fpdfsdk/fxedit/fxet_list.cpp
@@ -73,6 +73,14 @@ CFX_WideString CFX_ListItem::GetText() const {
return m_pEdit->GetText();
}
+CFX_ListContainer::CFX_ListContainer() {}
+
+CFX_ListContainer::~CFX_ListContainer() {}
+
+void CFX_ListContainer::SetPlateRect(const CFX_FloatRect& rect) {
+ m_rcPlate = rect;
+}
+
CFX_List::CFX_List()
: m_fFontSize(0.0f), m_pFontMap(nullptr), m_bMultiple(FALSE) {}
@@ -561,6 +569,14 @@ CFX_FloatRect CFX_ListCtrl::GetItemRect(int32_t nIndex) const {
return InToOut(CFX_List::GetItemRect(nIndex));
}
+int32_t CFX_ListCtrl::GetCaret() const {
+ return m_nCaretIndex;
+}
+
+int32_t CFX_ListCtrl::GetSelect() const {
+ return m_nSelItem;
+}
+
void CFX_ListCtrl::AddString(const FX_WCHAR* str) {
AddItem(str);
ReArrange(GetCount() - 1);