Lines Matching refs:TextMenu
65 TextMenu::TextMenu(bool scrollable, size_t max_items, size_t max_length, in TextMenu() function in TextMenu
86 const std::vector<std::string>& TextMenu::text_headers() const { in text_headers()
90 std::string TextMenu::TextItem(size_t index) const { in TextItem()
96 size_t TextMenu::MenuStart() const { in MenuStart()
100 size_t TextMenu::MenuEnd() const { in MenuEnd()
104 size_t TextMenu::ItemsCount() const { in ItemsCount()
108 bool TextMenu::ItemsOverflow(std::string* cur_selection_str) const { in ItemsOverflow()
119 int TextMenu::Select(int sel) { in Select()
152 int TextMenu::DrawHeader(int x, int y) const { in DrawHeader()
171 int TextMenu::DrawItems(int x, int y, int screen_width, bool long_press) const { in DrawItems()
1200 return std::make_unique<TextMenu>(scrollable_menu_, text_rows_, text_cols_ - 1, text_headers, in CreateMenu()