mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 15:53:35 +01:00
Remove legacy InputState.
This commit is contained in:
1 parent
e1bc26e67a
commit
9e390510df
60 files changed
+140
-195
No files matched your search
+7
-7
@@ -41,7 +41,7 @@ public:
|
||||
Event OnChoice;
|
||||
|
||||
protected:
|
||||
void Update(const InputState &input_state) override;
|
||||
void Update() override;
|
||||
|
||||
virtual void SetupChoices();
|
||||
virtual int TotalChoices() {
|
||||
@@ -73,8 +73,8 @@ RatingChoice::RatingChoice(const char *captionKey, int *value, LayoutParams *lay
|
||||
SetupChoices();
|
||||
}
|
||||
|
||||
void RatingChoice::Update(const InputState &input_state) {
|
||||
LinearLayout::Update(input_state);
|
||||
void RatingChoice::Update() {
|
||||
LinearLayout::Update();
|
||||
|
||||
for (int i = 0; i < TotalChoices(); i++) {
|
||||
StickyChoice *chosen = GetChoice(i);
|
||||
@@ -160,7 +160,7 @@ ReportScreen::ReportScreen(const std::string &gamePath)
|
||||
ratingEnabled_ = enableReporting_;
|
||||
}
|
||||
|
||||
void ReportScreen::update(InputState &input) {
|
||||
void ReportScreen::update() {
|
||||
if (screenshot_) {
|
||||
if (includeScreenshot_) {
|
||||
screenshot_->SetVisibility(V_VISIBLE);
|
||||
@@ -168,7 +168,7 @@ void ReportScreen::update(InputState &input) {
|
||||
screenshot_->SetVisibility(V_GONE);
|
||||
}
|
||||
}
|
||||
UIScreenWithGameBackground::update(input);
|
||||
UIScreenWithGameBackground::update();
|
||||
}
|
||||
|
||||
EventReturn ReportScreen::HandleChoice(EventParams &e) {
|
||||
@@ -332,7 +332,7 @@ void ReportFinishScreen::CreateViews() {
|
||||
rightColumn->Add(rightColumnItems);
|
||||
}
|
||||
|
||||
void ReportFinishScreen::update(InputState &input) {
|
||||
void ReportFinishScreen::update() {
|
||||
I18NCategory *rp = GetI18NCategory("Reporting");
|
||||
|
||||
if (!setStatus_) {
|
||||
@@ -353,7 +353,7 @@ void ReportFinishScreen::update(InputState &input) {
|
||||
}
|
||||
}
|
||||
|
||||
UIScreenWithGameBackground::update(input);
|
||||
UIScreenWithGameBackground::update();
|
||||
}
|
||||
|
||||
UI::EventReturn ReportFinishScreen::HandleViewFeedback(UI::EventParams &e) {
|
||||
|
||||
Reference in new issue
Block a user