[Misc] Cleanup in Kernel
This commit is contained in:
committed by
Radosław Gliński
parent
50492a951e
commit
b864149575
@@ -27,6 +27,8 @@ class CreateProfileUI final : public XamDialog {
|
||||
memset(gamertag_, 0, sizeof(gamertag_));
|
||||
}
|
||||
|
||||
~CreateProfileUI() = default;
|
||||
|
||||
private:
|
||||
void OnDraw(ImGuiIO& io) override;
|
||||
|
||||
|
||||
@@ -46,6 +46,8 @@ class GamercardUI final : public XamDialog {
|
||||
GamercardUI(xe::ui::Window* window, xe::ui::ImGuiDrawer* imgui_drawer,
|
||||
KernelState* kernel_state, uint64_t xuid);
|
||||
|
||||
~GamercardUI() = default;
|
||||
|
||||
private:
|
||||
void OnDraw(ImGuiIO& io) override;
|
||||
void DrawBaseSettings(ImGuiIO& io);
|
||||
|
||||
@@ -22,12 +22,7 @@ class ProfilePasscodeUI final : public XamDialog {
|
||||
ProfilePasscodeUI(xe::ui::ImGuiDrawer* imgui_drawer, std::string_view title,
|
||||
std::string_view description,
|
||||
MESSAGEBOX_RESULT* result_ptr);
|
||||
|
||||
void DrawPasscodeField(uint8_t key_id);
|
||||
|
||||
void OnDraw(ImGuiIO& io) override;
|
||||
|
||||
virtual ~ProfilePasscodeUI() {}
|
||||
~ProfilePasscodeUI() = default;
|
||||
|
||||
bool SelectedSignedIn() const { return selected_signed_in_; }
|
||||
|
||||
@@ -48,6 +43,10 @@ class ProfilePasscodeUI final : public XamDialog {
|
||||
{"Left", DPAD_LEFT_PASSCODE},
|
||||
{"Right", DPAD_RIGHT_PASSCODE}};
|
||||
|
||||
void OnDraw(ImGuiIO& io) override;
|
||||
|
||||
void DrawPasscodeField(uint8_t key_id);
|
||||
|
||||
bool has_opened_ = false;
|
||||
bool selected_signed_in_ = false;
|
||||
std::string title_;
|
||||
|
||||
@@ -22,6 +22,8 @@ class SigninUI final : public XamDialog {
|
||||
SigninUI(xe::ui::ImGuiDrawer* imgui_drawer, ProfileManager* profile_manager,
|
||||
uint32_t last_used_slot, uint32_t users_needed);
|
||||
|
||||
~SigninUI() = default;
|
||||
|
||||
private:
|
||||
void OnDraw(ImGuiIO& io) override;
|
||||
|
||||
|
||||
@@ -22,9 +22,9 @@ class TitleListUI final : public XamDialog {
|
||||
TitleListUI(xe::ui::ImGuiDrawer* imgui_drawer, const ImVec2 drawing_position,
|
||||
const UserProfile* profile);
|
||||
|
||||
private:
|
||||
~TitleListUI();
|
||||
|
||||
private:
|
||||
void OnDraw(ImGuiIO& io) override;
|
||||
|
||||
void LoadProfileTitleList(xe::ui::ImGuiDrawer* imgui_drawer,
|
||||
|
||||
Reference in New Issue
Block a user