add BGBrightnessNoZero
This commit is contained in:
@@ -265,6 +265,12 @@ static void BGBrightness( int &sel, bool ToSel, const ConfOption *pConfOption )
|
|||||||
MoveMap( sel, pConfOption, ToSel, mapping, ARRAYSIZE(mapping) );
|
MoveMap( sel, pConfOption, ToSel, mapping, ARRAYSIZE(mapping) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void BGBrightnessNoZero( int &sel, bool ToSel, const ConfOption *pConfOption )
|
||||||
|
{
|
||||||
|
const float mapping[] = { 0.1f,0.2f,0.3f,0.4f,0.5f,0.6f,0.7f,0.8f,0.9f,1.0f };
|
||||||
|
MoveMap( sel, pConfOption, ToSel, mapping, ARRAYSIZE(mapping) );
|
||||||
|
}
|
||||||
|
|
||||||
static void BGBrightnessOrStatic( int &sel, bool ToSel, const ConfOption *pConfOption )
|
static void BGBrightnessOrStatic( int &sel, bool ToSel, const ConfOption *pConfOption )
|
||||||
{
|
{
|
||||||
const float mapping[] = { 0.4f,0.4f,0.7f };
|
const float mapping[] = { 0.4f,0.4f,0.7f };
|
||||||
@@ -538,6 +544,7 @@ static void InitializeConfOptions()
|
|||||||
/* Background options */
|
/* Background options */
|
||||||
ADD( ConfOption( "RandomBackgroundMode", MovePref, "OFF","ANIMATIONS","VISUALIZATIONS","RANDOM MOVIES" ) );
|
ADD( ConfOption( "RandomBackgroundMode", MovePref, "OFF","ANIMATIONS","VISUALIZATIONS","RANDOM MOVIES" ) );
|
||||||
ADD( ConfOption( "BGBrightness", BGBrightness, "0%","10%","20%","30%","40%","50%","60%","70%","80%","90%","100%" ) );
|
ADD( ConfOption( "BGBrightness", BGBrightness, "0%","10%","20%","30%","40%","50%","60%","70%","80%","90%","100%" ) );
|
||||||
|
ADD( ConfOption( "BGBrightnessNoZero", BGBrightnessNoZero, "10%","20%","30%","40%","50%","60%","70%","80%","90%","100%" ) );
|
||||||
ADD( ConfOption( "BGBrightnessOrStatic", BGBrightnessOrStatic,"DISABLED","DIM","BRIGHT" ) );
|
ADD( ConfOption( "BGBrightnessOrStatic", BGBrightnessOrStatic,"DISABLED","DIM","BRIGHT" ) );
|
||||||
ADD( ConfOption( "ShowDanger", MovePref, "HIDE","SHOW" ) );
|
ADD( ConfOption( "ShowDanger", MovePref, "HIDE","SHOW" ) );
|
||||||
ADD( ConfOption( "ShowDancingCharacters", MovePref, "DEFAULT TO OFF","DEFAULT TO RANDOM","SELECT" ) );
|
ADD( ConfOption( "ShowDancingCharacters", MovePref, "DEFAULT TO OFF","DEFAULT TO RANDOM","SELECT" ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user