Rockbox mail archiveSubject: Re: LCD Backlight - Customise your own menu
Re: LCD Backlight - Customise your own menu
From: BlueChip <cs_bluechip_at_webtribe.net>
Date: Tue, 20 Jul 2004 17:33:56 +0100
This is my patch to add sleep-timer to the root menu:
...in the list of #includes at the top, add
...in main_menu(), just before
m=menu_init( items, i, NULL, NULL, NULL, NULL );
items[i].desc = str(LANG_SLEEP_TIMER);
items[i].voice_id = LANG_SLEEP_TIMER;
items[i++].function = sleeptimer_screen;
I'm only guessing here, but i reckon if you use
...at the top; and then use
...in the second bit.
You will get your menu option where you want it.
DevKit and entry level instructions for complation can be found at
...it's simpler that you might think
...it should take you about 30mins to set it up (first time cost)
...and about 5mins to edit main_menu.c in notepad
Good luck, let us know how you get on :)
>You want a setting that you personally find most useful near the root
>menu? I don't mean to be harsh, but, get in line or roll your own. Pretty
>much every user of this software has their own needs, so if the devs.
>answered all of them the root menu would be 6 screens long :)
>It's the old saying: you get what you pay for.
>>I've noticed that the battery depletes more quickly when the backlight is
>>on. Well, I don't know if i've noticed, or just saw that my battery
>>depleted quickly and i used that as the reason. I remember some tests done
>>a while ago that have to do with battery usage in mAh of various activities
>>of the units.
>>What it all boils down to, is, why is the LCD backlight setting buried 3
>>screens deep in the menu? Many times I find myself out at night in my car
>>looking at a unlit screen, and in the day when I turn the backlight on I
>>feel that my battery just isn't lasting long enough.
Received on 2004-07-20