Lines Matching refs:TextMenu
64 TextMenu::TextMenu(bool scrollable, size_t max_items, size_t max_length, in TextMenu() function in TextMenu
85 const std::vector<std::string>& TextMenu::text_headers() const { in text_headers()
89 std::string TextMenu::TextItem(size_t index) const { in TextItem()
95 size_t TextMenu::MenuStart() const { in MenuStart()
99 size_t TextMenu::MenuEnd() const { in MenuEnd()
103 size_t TextMenu::ItemsCount() const { in ItemsCount()
107 bool TextMenu::ItemsOverflow(std::string* cur_selection_str) const { in ItemsOverflow()
118 int TextMenu::Select(int sel) { in Select()
151 int TextMenu::DrawHeader(int x, int y) const { in DrawHeader()
170 int TextMenu::DrawItems(int x, int y, int screen_width, bool long_press) const { in DrawItems()
1179 return std::make_unique<TextMenu>(scrollable_menu_, text_rows_, text_cols_ - 1, text_headers, in CreateMenu()