diff options
Diffstat (limited to 'apps/recorder/keyboard.c')
-rw-r--r-- | apps/recorder/keyboard.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index f64061d303..736e9738c8 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c | |||
@@ -176,7 +176,11 @@ static void keyboard_layout(struct viewport *kbd_vp, | |||
176 | vp = &kbd_vp[eKBD_VP_MENU]; | 176 | vp = &kbd_vp[eKBD_VP_MENU]; |
177 | int menu_w = 0;//pm->font_w * MENU_CHARS; /* NOT IMPLEMENTED */ | 177 | int menu_w = 0;//pm->font_w * MENU_CHARS; /* NOT IMPLEMENTED */ |
178 | vp->x = 0; /* LEFT */ | 178 | vp->x = 0; /* LEFT */ |
179 | #ifdef HAVE_LCD_SPLIT | ||
180 | vp->y = MAX(LCD_SPLIT_POS, text_height); /* Sansa Clip/Clip+ */ | ||
181 | #else | ||
179 | vp->y = text_height; /* TOP */ | 182 | vp->y = text_height; /* TOP */ |
183 | #endif | ||
180 | vp->width = menu_w; | 184 | vp->width = menu_w; |
181 | vp->height = 0; | 185 | vp->height = 0; |
182 | vp->font = pm->curfont; | 186 | vp->font = pm->curfont; |
@@ -185,7 +189,11 @@ static void keyboard_layout(struct viewport *kbd_vp, | |||
185 | /* PICKER */ | 189 | /* PICKER */ |
186 | vp = &kbd_vp[eKBD_VP_PICKER]; | 190 | vp = &kbd_vp[eKBD_VP_PICKER]; |
187 | vp->x = menu_w; /* LEFT */ | 191 | vp->x = menu_w; /* LEFT */ |
192 | #ifdef HAVE_LCD_SPLIT | ||
193 | vp->y = MAX(LCD_SPLIT_POS, text_height - 2); /* Sansa Clip/Clip+ */ | ||
194 | #else | ||
188 | vp->y = text_height - 2; /* TOP */ | 195 | vp->y = text_height - 2; /* TOP */ |
196 | #endif | ||
189 | vp->width = sc_w - menu_w; | 197 | vp->width = sc_w - menu_w; |
190 | vp->height = sc_h - vp->y; /* (MAX SIZE) - OVERWRITTEN */ | 198 | vp->height = sc_h - vp->y; /* (MAX SIZE) - OVERWRITTEN */ |
191 | vp->font = pm->curfont; | 199 | vp->font = pm->curfont; |