forked from Devil084/symdroid
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmenu.h
56 lines (49 loc) · 1.08 KB
/
menu.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
class MenuScreen : public Screen
{
public:
MenuScreen()
void update(InputState &input);
void render();
void sendMessage(const char *message, const char *value);
void dialogFinished(const Screen *dialog, DialogResult result);
private:
int frames_;
};
class SettingsScreen : public screen
{
public:
void update(InputState &input);
void render();
}
class AudioScreen : public Screen
{
public:
void update(InputState &input);
void render();
};
class GraphicsScreen : public Screen
{
public:
void update(InputState &input);
void render();
};
class SystemScreen : public Screen
{
public: void update(InputState &input);
void render();
};
class FileSelectScreen : public Screen
{
public: FileSelectScreen(const FileSelectScreenOptions &options);
void update(InputState &input);
void render();
virtual void onSelectFile() {}
virtual void onCancel() {}
void key(const KeyInput &key);
private:
void updateListing();
FileSelectScreenOptions options_;
UIList list_;
std::string currentDirectory_;
std::vector<FileInfo> listing_;
};