| 787 | } |
| 788 | |
| 789 | bool EntryMenu::MoveToNextPage() { |
| 790 | if(this->IsNotInSwipe()) { |
| 791 | this->extra_entry_swipe_show_h_count = this->entry_width_count; |
| 792 | this->entries_base_swipe_neg_offset = 0; |
| 793 | this->entries_base_swipe_neg_offset_incr.StartFromZero(EntriesSwipePageIncrementSteps, (this->entry_size + this->entry_h_margin) * this->extra_entry_swipe_show_h_count); |
| 794 | this->swipe_mode = SwipeMode::RightPage; |
| 795 | return true; |
| 796 | } |
| 797 | else { |
| 798 | return false; |
| 799 | } |
| 800 | } |
| 801 | |
| 802 | void EntryMenu::Rewind() { |
| 803 | if((this->cur_entry_idx > 0) && this->IsNotInSwipe()) { |
no test coverage detected