UI: Expose lists better in descriptions.

Explicitly marks several lists, which should make exposing text better.
This commit is contained in:
Unknown W. Brackets committed 2021-02-21 18:41:08 -08:00
1 parent 7f9a68afeb
commit 3360121b5c
16 files changed
+142 -36

No files matched your search

+2 -2
View File
@@ -135,13 +135,13 @@ private:
std::string savePath_;
};
class SortedLinearLayout : public UI::LinearLayout {
class SortedLinearLayout : public UI::LinearLayoutList {
public:
typedef std::function<bool(const View *, const View *)> CompareFunc;
typedef std::function<bool()> DoneFunc;
SortedLinearLayout(UI::Orientation orientation, UI::LayoutParams *layoutParams = nullptr)
: UI::LinearLayout(orientation, layoutParams) {
: UI::LinearLayoutList(orientation, layoutParams) {
}
void SetCompare(CompareFunc lessFunc, DoneFunc doneFunc) {