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_pico_menubar;\r |
17 | }\r |
18 | \r |
19 | RESOURCE MENU_BAR r_pico_menubar // *** Menu bar\r |
20 | {\r |
21 | titles =\r |
22 | {\r |
23 | };\r |
24 | }\r |
25 | \r |
26 | RESOURCE ARRAY r_picodrive_keys\r |
27 | {\r |
28 | items=\r |
29 | {\r |
30 | LBUF{txt="Up";},\r |
31 | LBUF{txt="Down";},\r |
32 | LBUF{txt="Left";},\r |
33 | LBUF{txt="Right";},\r |
34 | LBUF{txt="A";},\r |
35 | LBUF{txt="B";},\r |
36 | LBUF{txt="C";},\r |
37 | LBUF{txt="X";},\r |
38 | LBUF{txt="Y";},\r |
39 | LBUF{txt="Z";},\r |
40 | LBUF{txt="Mode";},\r |
41 | LBUF{txt="Start";},\r |
42 | LBUF{txt="Up&Left";},\r |
43 | LBUF{txt="Up&Right";},\r |
44 | LBUF{txt="Down&Right";},\r |
45 | LBUF{txt="Down&Left";},\r |
46 | LBUF{txt="Soft reset";},\r |
47 | LBUF{txt="Pan left";},\r |
48 | LBUF{txt="Pan right";}\r |
49 | };\r |
50 | }\r |
51 | \r |
52 | \r |
53 | \r |
54 | RESOURCE DIALOG r_pico_file_select_dialog\r |
55 | { \r |
56 | flags = EGeneralQueryFlags; \r |
57 | buttons = R_AVKON_SOFTKEYS_DONE_CANCEL; \r |
58 | items = \r |
59 | { \r |
60 | DLG_LINE \r |
61 | { \r |
62 | type = EAknCtListQueryControl; \r |
63 | id = EListQueryControl; \r |
64 | \r |
65 | control = AVKON_LIST_QUERY_CONTROL \r |
66 | { \r |
67 | heading = "Files"; \r |
68 | listtype = EAknCtSinglePopupMenuListBox; \r |
69 | listbox = LISTBOX \r |
70 | { \r |
71 | flags = EAknDialogSelectionList; \r |
72 | height = 3; \r |
73 | width = 1; \r |
74 | }; \r |
75 | }; \r |
76 | } \r |
77 | }; \r |
78 | } \r |
79 | \r |
80 | RESOURCE DIALOG r_pico_add_cheat\r |
81 | {\r |
82 | title="Add cheatcode"; \r |
83 | flags=EEikDialogFlagNoDrag | \r |
84 | EEikDialogFlagCbaButtons | \r |
85 | EEikDialogFlagModeless|EEikDialogFlagWait;\r |
86 | buttons = R_AVKON_SOFTKEYS_OK_CANCEL;\r |
87 | items=\r |
88 | {\r |
89 | DLG_LINE\r |
90 | {\r |
91 | type=EEikCtLabel;\r |
92 | id=0x2002;\r |
93 | itemflags = EEikDlgItemNonFocusing;\r |
94 | control= LABEL\r |
95 | \r |
96 | {\r |
97 | txt = "Enter cheatcode";\r |
98 | \r |
99 | };\r |
100 | },\r |
101 | DLG_LINE\r |
102 | {\r |
103 | itemflags = EEikDlgItemNonFocusing;\r |
104 | id=0x2001;\r |
105 | type=EEikCtLabel;\r |
106 | control= LABEL { \r |
107 | horiz_align=EEikLabelAlignHLeft;\r |
108 | txt = "\nGG: XXXX-XXXX\nPatch: XXXXXX:YYYY"; \r |
109 | };\r |
110 | },\r |
111 | DLG_LINE\r |
112 | {\r |
113 | type=EEikCtEdwin; \r |
114 | id=0x2000;\r |
115 | itemflags = EEikDlgItemOfferAllHotKeys|EEikDlgItemSeparatorAfter;\r |
116 | \r |
117 | control= EDWIN { \r |
118 | maxlength=12; \r |
119 | };\r |
120 | \r |
121 | \r |
122 | }\r |
123 | };\r |
124 | }\r |
125 | \r |
126 | RESOURCE ARRAY r_picodrive_regions\r |
127 | {\r |
128 | items=\r |
129 | {\r |
130 | LBUF{txt="Region: Auto";},\r |
131 | LBUF{txt="Region: Jap NTSC";},\r |
132 | LBUF{txt="Region: Jap PAL";},\r |
133 | LBUF{txt="Region: US NTSC";},\r |
134 | LBUF{txt="Region: EUR PAL";}\r |
135 | };\r |
136 | }\r |