annotate libmenu/menu_list.c @ 8447:9c64428179b6

added local copy of Ville Syrj¸«£l¸«£'s directfb for matrox howto
author attila
date Sat, 14 Dec 2002 11:32:09 +0000
parents b31caec933e9
children 440301fef3fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
1
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
2 #include <stdlib.h>
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
3 #include <stdio.h>
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
4 #include <ctype.h>
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
5
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
6 #include "../config.h"
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
7
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
8 #include "img_format.h"
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
9 #include "mp_image.h"
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
10
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
11 #include "m_struct.h"
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
12 #include "menu.h"
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
13
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
14 #include "../libvo/font_load.h"
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
15 #include "../linux/keycodes.h"
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
16
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
17 #define IMPL 1
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
18 #include "menu_list.h"
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
19
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
20 #define mpriv (menu->priv)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
21
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
22 void menu_list_draw(menu_t* menu,mp_image_t* mpi) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
23 int x = mpriv->x;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
24 int y = mpriv->y;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
25 int i;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
26 int h = mpriv->h;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
27 int w = mpriv->w;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
28 int dh = 0,dw = 0;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
29 int dy = 0;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
30 int need_h = 0,need_w = 0,ptr_l = menu_text_length(mpriv->ptr) + 10,sidx = 0;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
31 int th;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
32 list_entry_t* m;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
33
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
34 if(mpriv->count < 1)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
35 return;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
36
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
37 if(h <= 0) h = mpi->height;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
38 if(w <= 0) w = mpi->width;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
39 dh = h - 2*mpriv->minb;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
40 dw = w - 2*mpriv->minb;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
41 ptr_l = menu_text_length(mpriv->ptr);
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
42 // mpi is too small
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
43 if(h - vo_font->height <= 0 || w - ptr_l <= 0 || dw <= 0 || dh <= 0)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
44 return;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
45
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
46 th = menu_text_num_lines(mpriv->title,dw) * (mpriv->vspace + vo_font->height) + mpriv->vspace;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
47
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
48 for(i = 0, m = mpriv->menu ; m ; m = m->next, i++) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
49 int ll = menu_text_length(m->txt);
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
50 if(ptr_l + ll > need_w) need_w = ptr_l + ll;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
51 if(m == mpriv->current) sidx = i;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
52 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
53 if(need_w > dw) need_w = dw;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
54 if(x > 0)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
55 x += mpriv->minb;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
56 if(y > 0)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
57 y += mpriv->minb;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
58 else
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
59 y = mpriv->minb;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
60
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
61 need_h = mpriv->count * (mpriv->vspace + vo_font->height) - mpriv->vspace;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
62 if( need_h + th > dh) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
63 int start,end;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
64 int maxl = (dh + mpriv->vspace - th) / (mpriv->vspace + vo_font->height);
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
65 if(maxl < 4) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
66 th = 0;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
67 maxl = (dh + mpriv->vspace) / ( vo_font->height + mpriv->vspace);
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
68 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
69 // Too smoll
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
70 if(maxl < 1) return;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
71 need_h = maxl*(mpriv->vspace + vo_font->height) - mpriv->vspace;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
72
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
73 start = sidx - (maxl/2);
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
74 if(start < 0) start = 0;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
75 end = start + maxl;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
76 if(end > mpriv->count) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
77 end = mpriv->count;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
78 if(end - start < maxl)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
79 start = end - maxl < 0 ? 0 : end - maxl;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
80 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
81 m = mpriv->menu;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
82 for(i = 0 ; m->next && i < start ; i++)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
83 m = m->next;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
84 } else
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
85 m = mpriv->menu;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
86
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
87 if(th > 0) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
88 menu_draw_text_full(mpi,mpriv->title,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
89 x < 0 ? mpi->w / 2 : x,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
90 dy+y,dw,0,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
91 mpriv->vspace,1,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
92 MENU_TEXT_TOP|MENU_TEXT_HCENTER,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
93 MENU_TEXT_TOP|(x < 0 ? MENU_TEXT_HCENTER :MENU_TEXT_LEFT));
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
94 dy += th;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
95 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
96
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
97 for( ; m != NULL && dy + vo_font->height < dh ; m = m->next ) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
98 if(m == mpriv->current)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
99 menu_draw_text_full(mpi,mpriv->ptr,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
100 x < 0 ? (mpi->w - need_w) / 2 + ptr_l : x,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
101 dy+y,dw,dh - dy,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
102 mpriv->vspace,0,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
103 MENU_TEXT_TOP|(x < 0 ? MENU_TEXT_RIGHT :MENU_TEXT_LEFT) ,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
104 MENU_TEXT_TOP|(x < 0 ? MENU_TEXT_RIGHT :MENU_TEXT_LEFT));
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
105 menu_draw_text_full(mpi,m->txt,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
106 x < 0 ? (mpi->w - need_w) / 2 + ptr_l : x + ptr_l,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
107 dy+y,dw-ptr_l,dh - dy,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
108 mpriv->vspace,0,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
109 MENU_TEXT_TOP|MENU_TEXT_LEFT,
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
110 MENU_TEXT_TOP|MENU_TEXT_LEFT);
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
111 dy += vo_font->height + mpriv->vspace;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
112 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
113
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
114 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
115
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
116 void menu_list_read_cmd(menu_t* menu,int cmd) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
117 switch(cmd) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
118 case MENU_CMD_UP:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
119 if(mpriv->current->prev) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
120 mpriv->current = mpriv->current->prev;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
121 } else {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
122 for( ; mpriv->current->next != NULL ; mpriv->current = mpriv->current->next)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
123 /* NOTHING */;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
124 } break;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
125 case MENU_CMD_DOWN:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
126 if(mpriv->current->next) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
127 mpriv->current = mpriv->current->next;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
128 } else {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
129 mpriv->current = mpriv->menu;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
130 } break;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
131 case MENU_CMD_CANCEL:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
132 menu->show = 0;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
133 menu->cl = 1;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
134 break;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
135 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
136 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
137
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
138 void menu_list_jump_to_key(menu_t* menu,int c) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
139 if(isalnum(c)) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
140 list_entry_t* e = mpriv->current;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
141 if(e->txt[0] == c) e = e->next;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
142 for( ; e ; e = e->next) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
143 if(e->txt[0] == c) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
144 mpriv->current = e;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
145 return;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
146 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
147 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
148 for(e = mpriv->menu ; e ; e = e->next) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
149 if(e->txt[0] == c) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
150 mpriv->current = e;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
151 return;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
152 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
153 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
154 } else
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
155 menu_dflt_read_key(menu,c);
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
156 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
157
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
158 void menu_list_read_key(menu_t* menu,int c,int jump_to) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
159 list_entry_t* m;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
160 int i;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
161 switch(c) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
162 case KEY_HOME:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
163 mpriv->current = mpriv->menu;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
164 break;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
165 case KEY_END:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
166 for(m = mpriv->current ; m && m->next ; m = m->next)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
167 /**/;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
168 if(m)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
169 mpriv->current = m;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
170 break;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
171 case KEY_PAGE_UP:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
172 for(i = 0, m = mpriv->current ; m && m->prev && i < 10 ; m = m->prev, i++)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
173 /**/;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
174 if(m)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
175 mpriv->current = m;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
176 break;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
177 case KEY_PAGE_DOWN:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
178 for(i = 0, m = mpriv->current ; m && m->next && i < 10 ; m = m->next, i++)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
179 /**/;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
180 if(m)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
181 mpriv->current = m;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
182 break;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
183 default:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
184 if(jump_to)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
185 menu_list_jump_to_key(menu,c);
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
186 else
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
187 menu_dflt_read_key(menu,c);
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
188 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
189 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
190
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
191 void menu_list_add_entry(menu_t* menu,list_entry_t* entry) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
192 list_entry_t* l;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
193 mpriv->count++;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
194
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
195 if(mpriv->menu == NULL) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
196 mpriv->menu = mpriv->current = entry;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
197 return;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
198 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
199
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
200 for(l = mpriv->menu ; l->next != NULL ; l = l->next)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
201 /* NOP */;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
202 l->next = entry;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
203 entry->prev = l;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
204 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
205
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
206 void menu_list_init(menu_t* menu) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
207 if(!mpriv)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
208 mpriv = calloc(1,sizeof(struct menu_priv_s));
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
209
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
210 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
211
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
212 void menu_list_uninit(menu_t* menu,free_entry_t free_func) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
213 list_entry_t *i,*j;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
214
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
215 if(!free_func) free_func = (free_entry_t)free;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
216
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
217 for(i = mpriv->menu ; i != NULL ; ) {
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
218 j = i->next;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
219 free_func(i);
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
220 i = j;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
221 }
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
222
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
223 mpriv->menu = mpriv->current = NULL;
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
224
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
225 }