Commit Graph

2 Commits

Author SHA1 Message Date
Matt Madia 6a10aabdcf Some alterations to the leaf used in ReadOnlyBootPrompt:
* lightened color to make the leaf more subtle
 * removed the artifact at the base of the stem


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 14:16:48 +00:00
Adrien Destugues a528bdee7f * Make ReadOlyBootPrompt look a bit nicer : don't use a regular BTextView but a custom view with an "haiku background leaf outline" below the text. The color and size of the leaf may still be altered, feel free to play around with it.
* Also do some changes to ReadOnlyBootPrompt layouting to include some insets and similar stuff.
  * Add country flags in the language selection menu
 * Modify locale roster method for getting a flag so it is a bit more tolerant. It is case insensitive on the country code, and also works if given a full locale code such as pt_BR.

Known problems :
 * The new BitmapTextView doesn't work well with the chinese text as it does line breaks only on space chars (0x20), and there is no such char in chinese text. However, the usual BTextView is also unable to do proper linebreaking. This should 
be solved  by using tools provided by ICU.
 * The way I altered LocaleRoster is not as good as it could be. Locales with variants such as zh-hans are not going to work (the computed country code is now 'NS'). Not sure there is a better way
 * The way the list is sorted in ReadOnlyBootPrompt is annoying as it prevents keyboard navigation. As the sorting changes each time you select a language, it's impossible to travel through the whole list. One possible solution is to do the 
language change on invoking an item. Another one is to sort the languages in a locale-neutral way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 21:39:47 +00:00