Lines Matching refs:is_selected
1025 virtual void FieldDelegateDraw(Surface &surface, bool is_selected) = 0;
1111 void DrawContent(Surface &surface, bool is_selected) { in DrawContent() argument
1120 if (is_selected) in DrawContent()
1127 if (is_selected) in DrawContent()
1131 void DrawField(Surface &surface, bool is_selected) { in DrawField() argument
1138 DrawContent(content_surface, is_selected); in DrawField()
1152 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw() argument
1159 DrawField(field_surface, is_selected); in FieldDelegateDraw()
1464 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw() argument
1467 if (is_selected) in FieldDelegateDraw()
1470 if (is_selected) in FieldDelegateDraw()
1544 void DrawContent(Surface &surface, bool is_selected) { in DrawContent() argument
1550 bool highlight = is_selected && current_choice == m_choice; in DrawContent()
1560 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw() argument
1569 DrawContent(content_surface, is_selected); in FieldDelegateDraw()
1781 void DrawFields(Surface &surface, bool is_selected) { in DrawFields() argument
1793 bool is_element_selected = m_selection_index == i && is_selected; in DrawFields()
1806 void DrawNewButton(Surface &surface, bool is_selected) { in DrawNewButton() argument
1811 is_selected && m_selection_type == SelectionType::NewButton; in DrawNewButton()
1819 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw() argument
1830 DrawFields(fields_surface, is_selected); in FieldDelegateDraw()
1831 DrawNewButton(new_button_surface, is_selected); in FieldDelegateDraw()
2074 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw() argument
2088 m_selection_type == SelectionType::Key && is_selected; in FieldDelegateDraw()
2092 m_selection_type == SelectionType::Value && is_selected; in FieldDelegateDraw()
2263 void Draw(Surface &surface, bool is_selected) { in Draw() argument
2266 if (is_selected) in Draw()
2271 if (is_selected) in Draw()
4108 const bool is_selected = (i == static_cast<size_t>(selected_idx)); in WindowDelegateDraw() local
4110 if (is_selected) { in WindowDelegateDraw()
4115 submenus[i]->DrawMenuTitle(window, is_selected); in WindowDelegateDraw()