Rockbox mail archive
Subject: Re: Loading settings in CFG
From: Fred -- Speed Up -- (speedup_at_free.fr)
Date: 2003-02-13
I don't know if you're french (your name sound like that), if so just aswer
me in french ;))
I tried to add the bookmarking and fading patch settings this way (code
added at line 1069, after else if (!strcasecmp(name, "poweroff"))) :
else if (!strcasecmp(name, "fade"))
{
if( !test_int(value, 0, 0, 1,
&global_settings.fade_on_stop))
global_settings.fade_on_stop=1;
}
else if (!strcasecmp(name, "autobookmark"))
{
if( !test_int(value, 0, 0, 1,
&global_settings.autocreatebookmark))
{
if (global_settings.autocreatebookmark == 0)
global_settings.autocreatebookmark = AUTOCREATEBOOKMARK_NO;
else
global_settings.autocreatebookmark = AUTOCREATEBOOKMARK_YES;
}
else global_settings.autocreatebookmark = AUTOCREATEBOOKMARK_NO;
}
But it didn't worked ... can you help me correcting the code so that it
would load the right settings ?
Fred
----- Original Message -----
From: "Christian D" <QInter_at_gmx.net>
Newsgroups: gmane.comp.systems.archos.rockbox.general
Sent: Thursday, February 13, 2003 12:34 PM
Subject: Re: Loading settings in CFG
> > I'll integrate it into my package tonight, thank you Christian ;)
> Thank you! I'm really happy that you like it.
>
> >
> > PS : could you make some more general settings, for the bookmarking or
> > fading patch for instance ?
> >
> Yes, I'll do that. I already had the intention to merge the bookmarking,
> fade and settings load features in one patch and to add some more
settings. So
> stay tuned...
>
> Christian
Page was last modified "Jan 10 2012" The Rockbox Crew
|