diff options
author | Frank Dischner <phaedrus961@rockbox.org> | 2006-03-29 16:21:42 +0000 |
---|---|---|
committer | Frank Dischner <phaedrus961@rockbox.org> | 2006-03-29 16:21:42 +0000 |
commit | 75c3d0b9f10ea30b827052b7a6f894734e705c4f (patch) | |
tree | ec6bfd1a7f7812bf1d7523b597bada006646cb82 /apps/filetree.c | |
parent | 0fec4711d5ba5fff1b321568fb45651e11d79b08 (diff) |
Add support for loadable vkeyboard layouts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9347 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetree.c')
-rw-r--r-- | apps/filetree.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/filetree.c b/apps/filetree.c index bbe56e119c..7b4f5e7ed8 100644 --- a/apps/filetree.c +++ b/apps/filetree.c @@ -41,6 +41,9 @@ #include "dircache.h" #include "splash.h" #include "yesno.h" +#ifdef HAVE_LCD_BITMAP +#include "keyboard.h" +#endif #ifndef SIMULATOR static int boot_size = 0; @@ -462,6 +465,12 @@ int ft_enter(struct tree_context* c) font_load(buf); set_file(buf, (char *)global_settings.font_file, MAX_FILENAME); break; + + case TREE_ATTR_KBD: + if (!load_kbd(buf)) + gui_syncsplash(HZ, true, str(LANG_KEYBOARD_LOADED)); + set_file(buf, (char *)global_settings.kbd_file, MAX_FILENAME); + break; #endif #ifndef SIMULATOR |