[mythtv-commits] mythtv commit: r7602 - in trunk/mythtv by paulh
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Wed Oct 26 17:05:29 EDT 2005
Author: paulh
Date: 2005-10-26 21:05:25 +0000 (Wed, 26 Oct 2005)
New Revision: 7602
Changeset: http://cvs.mythtv.org/trac/changeset/7602
Added:
trunk/mythtv/libs/libmyth/virtualkeyboard.cpp
trunk/mythtv/libs/libmyth/virtualkeyboard.h
trunk/mythtv/themes/default/keyboard/
trunk/mythtv/themes/default/keyboard/en_uk_ui.xml
trunk/mythtv/themes/default/keyboard/en_us_ui.xml
trunk/mythtv/themes/default/keyboard/fr_ui.xml
trunk/mythtv/themes/default/keyboard/key_down.png
trunk/mythtv/themes/default/keyboard/key_down_back.png
trunk/mythtv/themes/default/keyboard/key_down_del.png
trunk/mythtv/themes/default/keyboard/key_down_done.png
trunk/mythtv/themes/default/keyboard/key_down_move.png
trunk/mythtv/themes/default/keyboard/key_down_shift.png
trunk/mythtv/themes/default/keyboard/key_down_space.png
trunk/mythtv/themes/default/keyboard/key_down_space2.png
trunk/mythtv/themes/default/keyboard/key_downfocused.png
trunk/mythtv/themes/default/keyboard/key_downfocused_back.png
trunk/mythtv/themes/default/keyboard/key_downfocused_del.png
trunk/mythtv/themes/default/keyboard/key_downfocused_done.png
trunk/mythtv/themes/default/keyboard/key_downfocused_move.png
trunk/mythtv/themes/default/keyboard/key_downfocused_shift.png
trunk/mythtv/themes/default/keyboard/key_downfocused_space.png
trunk/mythtv/themes/default/keyboard/key_downfocused_space2.png
trunk/mythtv/themes/default/keyboard/key_focused.png
trunk/mythtv/themes/default/keyboard/key_focused_back.png
trunk/mythtv/themes/default/keyboard/key_focused_del.png
trunk/mythtv/themes/default/keyboard/key_focused_done.png
trunk/mythtv/themes/default/keyboard/key_focused_move.png
trunk/mythtv/themes/default/keyboard/key_focused_shift.png
trunk/mythtv/themes/default/keyboard/key_focused_space.png
trunk/mythtv/themes/default/keyboard/key_focused_space2.png
trunk/mythtv/themes/default/keyboard/key_normal.png
trunk/mythtv/themes/default/keyboard/key_normal_back.png
trunk/mythtv/themes/default/keyboard/key_normal_del.png
trunk/mythtv/themes/default/keyboard/key_normal_done.png
trunk/mythtv/themes/default/keyboard/key_normal_move.png
trunk/mythtv/themes/default/keyboard/key_normal_shift.png
trunk/mythtv/themes/default/keyboard/key_normal_space.png
trunk/mythtv/themes/default/keyboard/key_normal_space2.png
Removed:
trunk/mythtv/libs/libmyth/uiphoneentry.cpp
trunk/mythtv/libs/libmyth/uiphoneentry.h
Modified:
trunk/mythtv/libs/libmyth/libmyth.pro
trunk/mythtv/libs/libmyth/mythcontext.cpp
trunk/mythtv/libs/libmyth/mythcontext.h
trunk/mythtv/libs/libmyth/mythdialogs.cpp
trunk/mythtv/libs/libmyth/mythdialogs.h
trunk/mythtv/libs/libmyth/mythwidgets.cpp
trunk/mythtv/libs/libmyth/mythwidgets.h
trunk/mythtv/libs/libmyth/uitypes.cpp
trunk/mythtv/libs/libmyth/uitypes.h
trunk/mythtv/libs/libmyth/xmlparse.cpp
trunk/mythtv/programs/mythfrontend/globalsettings.cpp
Log:
Adds a new popup keyboard feature based on the patch
by jkondis (at) yahoo.com (ticket #66) updated to use
native myth UITypes and to work with MythRemoteLineEdit
and UIRemoteEditType.
The keyboard layouts are fully themed with a lot
of scope for theme designers to improve them. It's
possible to add new layouts for languages simply
by adding new theme xml files. The popup will look
for a file called xx_ui.xml in the keyboard directory
in your theme directory where xx is replaced by the two
character ISO-639 language code returned by
gContext::GetLanguage(). If there is no layout for your
language it defaults to the US English one.
There are two English language layouts for US and UK. The
popup uses the LANG environment variable to determine which
one to use. If it contains 'en_uk' the British layout will
be used.
There is a compose feature that allows you to enter most symbols
and accented characters that aren't shown on most keyboard layouts
using a two character sequence. For example to enter the '?\194?\169'
(copyright symbol) click 'COMP' then 'c' then 'o'.
I've added layouts for English (US), English (UK) and French.
jkondis? provided additional layouts for German, Italian,
Spanish and Greek which I'll add in the next few days.
Additional keyboard layouts for other languages are welcome.
I've reused the exiting UIKeyboardType and UIKeyType and
removed uiphoneentry.cpp/h which have never been used.
The changes in mythcontext.cpp just makes sure myth looks for
UI files in a more consistent way.
More information about the mythtv-commits
mailing list