28 #ifndef YSL_INC_UI_textlist_h_
29 #define YSL_INC_UI_textlist_h_ 1
70 using MTextList::
Font;
71 using MTextList::Margin;
72 using MTextList::HorizontalAlignment;
73 using MTextList::VerticalAlignment;
74 using MTextList::Text;
107 TextList(const
Rect& = {},
const shared_ptr<ListType>& = {},
124 using MTextList::GetItemHeight;
125 using MTextList::GetItemPtr;
126 using MTextList::GetList;
128 using MTextList::GetListRef;
129 using MTextList::GetMaxTextWidth;
136 GetFullViewHeight() const;
142 GetViewPosition() const;
150 SetList(const shared_ptr<
ListType>&);
155 SetSelected(ListType::size_type);
160 SetSelected(
SPos, SPos);
167 SetSelected(pt.X, pt.Y);
190 AdjustViewForContent();
207 CheckConfirmed(ListType::size_type)
const;
222 return CheckPoint(pt.
X, pt.
Y);
229 using MTextList::Find;
239 InvalidateSelected(
ListType::difference_type offset,
256 LocateViewPosition(
SDst);
280 DrawItems(const PaintContext&);
290 using MTextList::RefreshTextState;
324 InvokeConfirmed(
ListType::size_type);
343 UpdateView(TextList&,
bool is_active = false);