cc68a136 |
1 | \r |
2 | // FileMenu.cpp\r |
3 | class FileMenu\r |
4 | {\r |
5 | public:\r |
6 | FileMenu();\r |
7 | int init();\r |
8 | int scan();\r |
9 | void exit();\r |
10 | int render();\r |
11 | int scroll(int amount);\r |
12 | int getFilePath(char *name);\r |
13 | \r |
14 | private:\r |
15 | int nameReset();\r |
16 | int nameFind(char *path);\r |
17 | int nameAdd(char *entry);\r |
18 | int nameSizeUp();\r |
19 | int nameOffset(int index);\r |
20 | \r |
21 | char currentPath[260];\r |
22 | char *nameList;\r |
23 | int nameSize,nameMax;\r |
24 | int nameCount;\r |
25 | \r |
26 | int choiceFocus;\r |
27 | };\r |
28 | \r |
29 | extern class FileMenu FileMenu;\r |