Support and General Use > Theming and Appearance Customization
Custom Statusbar [on the browser..]
(1/1)
Kitty:
hello again guys, as a continues to this thread: http://forums.rockbox.org/index.php?topic=6193.15
i want to make a custom status bar, a nice background, nice 16bit bitmap icons..
i don't want to remove it, i just think that the browser looks too simple for me, i need cool colored things on my X5L player, and the WPS is nice, but there are other areas...
i was offered this patch: http://www.rockbox.org/tracker/task/2931
wich i tried to patch, but got alot of errors :
Kitty:
no1 can help me ?:(
Febs:
First, please use proper English. Abbreviations such as "no1" are not permitted in these forums.
Second, your post really doesn't say what you want help with. If you want help applying the existing patch, then (1) you should post in the forum for getting started and compiling, and (2) you should provide more detail about specifically what your problem is. ("got alot of errors" is not at all useful) If you simply want someone to write a new feature for you, then you should make a feature request on the Flyspray tracker using the "feature request" link on the navigation panel on the left. If you want help with something else, then you are going to have to try to be more specific about what it is you are looking for help with.
Kitty:
ok mate, sorry..
let me rephrase,
my question is, how do i replace a 7x8 monocrome bitmap, with a 16bit bmp?
for example:
--- Code: ---const unsigned char bitmap_icons_7x8[][7] =
{
{0x08,0x1c,0x3e,0x3e,0x3e,0x14,0x14}, /* Power plug */
{0x1c,0x14,0x3e,0x2a,0x22,0x1c,0x08}, /* USB plug */
{0x01,0x1e,0x1c,0x3e,0x7f,0x20,0x40}, /* Speaker mute */
{0x00,0x7f,0x7f,0x3e,0x1c,0x08,0x00}, /* Play */
--- End code ---
every line is one monocrome bitmap..
and in here:
--- Code: ---const unsigned short bitmap[] = {
0x8430, 0x8430, 0x8430, 0x8430, 0x0000, 0x8430, 0x8430,
0x8430, 0xd91a, 0xe0da, 0x83d0, 0x0000, 0x8430, 0x8430,
0x8430, 0xf81d, 0xf81d, 0x8b91, 0x0000, 0x8430, 0x8430,
0x8430, 0xf05c, 0xe0db, 0x8430, 0x0000, 0x8430, 0x8430,
0x8430, 0x8430, 0x8430, 0x8430, 0x0000, 0x8430, 0x8430,
0x0000, 0x0000, 0x0000, 0x0000, 0x8430, 0x8430, 0x8430,
0x8430, 0x8430, 0x8430, 0x8430, 0x8430, 0x8430, 0x8430,
0x8430, 0x8430, 0x8430, 0x8430, 0x8430, 0x8430, 0x8430,
};
--- End code ---
its only one 16bit bitmap..
this is the command that prints it:
--- Code: --- display->mono_bitmap(bitmap_icons_7x8[mode], STATUSBAR_PLAY_MODE_X_POS,
STATUSBAR_Y_POS, STATUSBAR_PLAY_MODE_WIDTH,
STATUSBAR_HEIGHT);
--- End code ---
it prints monochrome bitmap, and i want it to print a 16bit bitmap, how do i do that?
Navigation
[0] Message Index
Go to full version