| 172 | } |
| 173 | |
| 174 | bool EntryMenu::LoadEntry(const u32 idx) { |
| 175 | if(idx < this->cur_entries.size()) { |
| 176 | const auto &entry = this->cur_entries.at(idx); |
| 177 | if(!entry.Is<EntryType::Invalid>()) { |
| 178 | this->entry_icons.at(idx) = this->LoadEntryIconTexture(entry); |
| 179 | this->LoadOverText(idx); |
| 180 | |
| 181 | auto &entry_alpha = this->load_img_entry_alphas.at(idx); |
| 182 | entry_alpha = 0; |
| 183 | auto &entry_alpha_incr = this->load_img_entry_incrs.at(idx); |
| 184 | entry_alpha_incr.StartFromZero(EntryShowIncrementSteps, 0xFF); |
| 185 | return true; |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | return false; |
| 190 | } |
| 191 | |
| 192 | void EntryMenu::NotifyFocusedEntryChanged(const s32 prev_entry_idx, const s32 is_prev_entry_suspended_override) { |
| 193 | auto has_prev_entry = prev_entry_idx >= 0; |
no test coverage detected