Quote:
|
Originally Posted by Llorean
Rockbox is supposed to work the same on all targets though. So ideally any keyboard design should be one that can be scaled easily to all targets. Right now the current virtual keyboard works the same on all of them, though on very small screened (in terms of pixels, not physical size) devices, it shows smaller subsections of the keyboard that you toggle through.
So, generally speaking, the best solution would just to be to use a larger font for the vkeyboard on H300s, to preserve the "works the same everywhere" philosophy.
|
Well... AFAIK, Rockbox code is organized by definitions ("#ifdef"). By using these definitions, when you compile a build for a specific target, the compiler, compiles all the definitions for the specific target you want, ignoring all others. Here's an a example:
#ifdef LCD=colour then
code1
#ifdef LCD=grayscale then
code2
Now...if you compile a version for the H300, code1 will be compiled while code2 will be ignored. This is the way how Rockbox code can run in different platforms. That's why we have colour in H300s and not for H100s, remote support for irivers and not for archos players etc. This way we can surely have a bigger keyboard like that on H300 and smaller ones for targets with smaller screen.