forked from Ryuzaki-MrL/savemii
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
431 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#pragma once | ||
|
||
#include <ApplicationState.h> | ||
#include <memory> | ||
#include <utils/InputUtils.h> | ||
#include <BackupSetList.h> | ||
|
||
|
||
|
||
|
||
class BackupSetListFilterState : public ApplicationState { | ||
public: | ||
BackupSetListFilterState(std::unique_ptr<BackupSetList> & backupSetList) : | ||
backupSetList(backupSetList) {}; | ||
enum eState { | ||
STATE_BACKUPSET_FILTER, | ||
STATE_DO_SUBSTATE, | ||
}; | ||
|
||
void render() override; | ||
ApplicationState::eSubState update(Input *input) override; | ||
|
||
private: | ||
std::unique_ptr<ApplicationState> subState{}; | ||
eState state = STATE_BACKUPSET_FILTER; | ||
|
||
std::unique_ptr<BackupSetList> & backupSetList; | ||
int entrycount = 4; | ||
int cursorPos = 0; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.