cc68a136 |
1 | // PicoDriveS60.RSS\r |
2 | //\r |
3 | //\r |
4 | \r |
5 | NAME Pico\r |
6 | #include <eikon.rh>\r |
7 | #include <eikon.rsg>\r |
8 | #include <avkon.rsg>\r |
9 | #include <avkon.rh>\r |
10 | RESOURCE RSS_SIGNATURE { }\r |
11 | \r |
12 | RESOURCE TBUF16 { buf=""; }\r |
13 | \r |
14 | RESOURCE EIK_APP_INFO\r |
15 | { \r |
16 | menubar = r_miniapp_menubar;\r |
17 | cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;\r |
18 | }\r |
19 | \r |
20 | \r |
21 | \r |
22 | RESOURCE MENU_BAR r_miniapp_menubar // *** Menu bar\r |
23 | {\r |
24 | titles =\r |
25 | {\r |
26 | MENU_TITLE { menu_pane = r_miniapp_menu; txt = "PicoDrive"; }\r |
27 | \r |
28 | };\r |
29 | }\r |
30 | \r |
31 | RESOURCE MENU_PANE r_miniapp_menu // *** Submenu 1\r |
32 | {\r |
33 | items =\r |
34 | {\r |
35 | MENU_ITEM { command = EEikCmdExit; txt = "Close";} \r |
36 | };\r |
37 | }\r |
38 | \r |
39 | RESOURCE ARRAY r_picodrive_keys\r |
40 | {\r |
41 | items=\r |
42 | {\r |
43 | LBUF{txt="Up";},\r |
44 | LBUF{txt="Down";},\r |
45 | LBUF{txt="Left";},\r |
46 | LBUF{txt="Right";},\r |
47 | LBUF{txt="A";},\r |
48 | LBUF{txt="B";},\r |
49 | LBUF{txt="C";},\r |
50 | LBUF{txt="X";},\r |
51 | LBUF{txt="Y";},\r |
52 | LBUF{txt="Z";},\r |
53 | LBUF{txt="Mode";},\r |
54 | LBUF{txt="Start";},\r |
55 | LBUF{txt="Up&Left";},\r |
56 | LBUF{txt="Up&Right";},\r |
57 | LBUF{txt="Down&Right";},\r |
58 | LBUF{txt="Down&Left";},\r |
59 | LBUF{txt="Soft reset";},\r |
60 | LBUF{txt="Pan left";},\r |
61 | LBUF{txt="Pan right";}\r |
62 | };\r |
63 | }\r |
64 | \r |
65 | \r |
66 | \r |
67 | \r |
68 | RESOURCE DIALOG r_pico_file_select_dialog\r |
69 | { \r |
70 | flags = EGeneralQueryFlags; \r |
71 | buttons = R_AVKON_SOFTKEYS_DONE_CANCEL; \r |
72 | items = \r |
73 | { \r |
74 | DLG_LINE \r |
75 | { \r |
76 | type = EAknCtListQueryControl; \r |
77 | id = EListQueryControl; \r |
78 | \r |
79 | control = AVKON_LIST_QUERY_CONTROL \r |
80 | { \r |
81 | heading = "Files"; \r |
82 | listtype = EAknCtSinglePopupMenuListBox; \r |
83 | listbox = LISTBOX \r |
84 | { \r |
85 | flags = EAknDialogSelectionList; \r |
86 | height = 3; \r |
87 | width = 1; \r |
88 | }; \r |
89 | }; \r |
90 | } \r |
91 | }; \r |
92 | } \r |
93 | \r |
94 | RESOURCE DIALOG r_pico_add_cheat\r |
95 | {\r |
96 | title="Add cheatcode"; \r |
97 | flags=EEikDialogFlagNoDrag | \r |
98 | EEikDialogFlagCbaButtons | \r |
99 | EEikDialogFlagModeless|EEikDialogFlagWait;\r |
100 | buttons = R_AVKON_SOFTKEYS_OK_CANCEL;\r |
101 | items=\r |
102 | {\r |
103 | DLG_LINE\r |
104 | {\r |
105 | type=EEikCtLabel;\r |
106 | id=0x2002;\r |
107 | itemflags = EEikDlgItemNonFocusing;\r |
108 | control= LABEL\r |
109 | \r |
110 | {\r |
111 | txt = "Enter cheatcode";\r |
112 | \r |
113 | };\r |
114 | },\r |
115 | DLG_LINE\r |
116 | {\r |
117 | itemflags = EEikDlgItemNonFocusing;\r |
118 | id=0x2001;\r |
119 | type=EEikCtLabel;\r |
120 | control= LABEL { \r |
121 | horiz_align=EEikLabelAlignHLeft;\r |
122 | txt = "\nGG: XXXX-XXXX\nPatch: XXXXXX:YYYY"; \r |
123 | };\r |
124 | },\r |
125 | DLG_LINE\r |
126 | {\r |
127 | type=EEikCtEdwin; \r |
128 | id=0x2000;\r |
129 | itemflags = EEikDlgItemOfferAllHotKeys|EEikDlgItemSeparatorAfter;\r |
130 | \r |
131 | control= EDWIN { \r |
132 | maxlength=12; \r |
133 | };\r |
134 | \r |
135 | \r |
136 | }\r |
137 | };\r |
138 | }\r |
139 | \r |
140 | RESOURCE ARRAY r_picodrive_regions\r |
141 | {\r |
142 | items=\r |
143 | {\r |
144 | LBUF{txt="Region: Auto";},\r |
145 | LBUF{txt="Region: Jap NTSC";},\r |
146 | LBUF{txt="Region: Jap PAL";},\r |
147 | LBUF{txt="Region: US NTSC";},\r |
148 | LBUF{txt="Region: EUR PAL";}\r |
149 | };\r |
150 | }\r |