change changeTo to swapTo
This commit is contained in:
1 parent
9d6a551455
commit
752a37ed23
18 files changed
+222
-37
No files matched your search
@@ -26,7 +26,7 @@
|
||||
#include "labels.h"
|
||||
#include "misc_gui.h"
|
||||
#include "ult_ext.h"
|
||||
|
||||
#include "main_gui.h"
|
||||
|
||||
// This workaround *may* not be nessasary, but it seems to help with reducing stutter
|
||||
static void kipDataThreadFunc(void *) {
|
||||
@@ -742,6 +742,11 @@ class GeneralSettingsSubMenuGui : public MiscGui {
|
||||
GeneralSettingsSubMenuGui() {
|
||||
}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
void listUI() override {
|
||||
Result rc = hocclkIpcGetConfigValues(this->configList);
|
||||
@@ -792,6 +797,11 @@ class ExperimentalSettingsSubMenuGui : public MiscGui {
|
||||
ExperimentalSettingsSubMenuGui() {
|
||||
}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
void listUI() override {
|
||||
Result rc = hocclkIpcGetConfigValues(this->configList);
|
||||
@@ -906,6 +916,11 @@ class GovernorSettingsSubMenuGui : public MiscGui {
|
||||
GovernorSettingsSubMenuGui() {
|
||||
}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
void listUI() override {
|
||||
Result rc = hocclkIpcGetConfigValues(this->configList);
|
||||
@@ -931,6 +946,11 @@ class DisplaySubMenuGui : public MiscGui {
|
||||
DisplaySubMenuGui() {
|
||||
}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
void listUI() override {
|
||||
Result rc = hocclkIpcGetConfigValues(this->configList);
|
||||
@@ -980,6 +1000,11 @@ class SafetySubMenuGui : public MiscGui {
|
||||
SafetySubMenuGui() {
|
||||
}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
void listUI() override {
|
||||
Result rc = hocclkIpcGetConfigValues(this->configList);
|
||||
@@ -1004,6 +1029,11 @@ class RamSubmenuGui : public MiscGui {
|
||||
RamSubmenuGui() {
|
||||
}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
void listUI() override {
|
||||
BaseMenuGui::refresh();
|
||||
@@ -1239,6 +1269,11 @@ class RamTimingsSubmenuGui : public MiscGui {
|
||||
RamTimingsSubmenuGui() {
|
||||
}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
void listUI() override {
|
||||
Result rc = hocclkIpcGetConfigValues(this->configList);
|
||||
@@ -1486,6 +1521,11 @@ class RamLatenciesSubmenuGui : public MiscGui {
|
||||
RamLatenciesSubmenuGui() {
|
||||
}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
tsl::elm::Element *baseUI() override {
|
||||
auto *list = new TopAnchoredList();
|
||||
this->listElement = list;
|
||||
@@ -1987,6 +2027,11 @@ class CpuSubmenuGui : public MiscGui {
|
||||
CpuSubmenuGui() {
|
||||
}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
void listUI() override {
|
||||
Result rc = hocclkIpcGetConfigValues(this->configList); // populate config list early otherwise wont work
|
||||
@@ -2145,6 +2190,11 @@ class GpuSubmenuGui : public MiscGui {
|
||||
GpuSubmenuGui() {
|
||||
}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
void listUI() override {
|
||||
Result rc = hocclkIpcGetConfigValues(this->configList);
|
||||
@@ -2290,6 +2340,11 @@ class GpuCustomTableSubmenuGui : public MiscGui {
|
||||
GpuCustomTableSubmenuGui() {
|
||||
}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
void listUI() override {
|
||||
|
||||
@@ -2525,6 +2580,11 @@ class SocCustomTableSubmenuGui : public MiscGui {
|
||||
public:
|
||||
SocCustomTableSubmenuGui() {}
|
||||
|
||||
bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState &touchPos, HidAnalogStickState leftJoyStick,
|
||||
HidAnalogStickState rightJoyStick) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected:
|
||||
void listUI() override {
|
||||
|
||||
@@ -2672,3 +2732,7 @@ void MiscGui::refresh() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::string MiscGui::getJumpToItemName() {
|
||||
return "Settings";
|
||||
}
|
||||
Reference in new issue
Block a user