Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hrydgard
GitHub Repository: hrydgard/ppsspp
Path: blob/master/UI/BaseScreens.h
4776 views
1
#pragma once
2
3
#include "Common/File/Path.h"
4
#include "Common/UI/UIScreen.h"
5
6
// This doesn't have anything to do with the background anymore. It's just a PPSSPP UIScreen
7
// that knows how handle sendMessage properly. Same for all the below.
8
class UIBaseScreen : public UIScreen {
9
public:
10
UIBaseScreen() : UIScreen() {}
11
protected:
12
void sendMessage(UIMessage message, const char *value) override;
13
};
14
15
class UIBaseDialogScreen : public UIDialogScreen {
16
public:
17
UIBaseDialogScreen() : UIDialogScreen(), gamePath_() {}
18
explicit UIBaseDialogScreen(const Path &gamePath) : UIDialogScreen(), gamePath_(gamePath) {}
19
protected:
20
void sendMessage(UIMessage message, const char *value) override;
21
void AddStandardBack(UI::ViewGroup *parent);
22
Path gamePath_;
23
};
24
25