Subversion Repositories freemyipod

Rev

Rev 834 | Rev 843 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 834 Rev 838
Line 110... Line 110...
110
        .text_color_selected = 0xff7fffff,
110
        .text_color_selected = 0xff7fffff,
111
        .text_color_active = 0xffff7f7f
111
        .text_color_active = 0xffff7f7f
112
    },
112
    },
113
    .returntext = "Return to tools menu",
113
    .returntext = "Return to tools menu",
114
    .tickinterval = 10000000,
114
    .tickinterval = 10000000,
115
    .itemcount = 6,
115
    .itemcount = 7,
116
    .items =
116
    .items =
117
    {
117
    {
118
        {
118
        {
119
            .text = "Initial timeout",
119
            .text = "Initial timeout",
120
            .icon = LIBUI_SURFACE_NULL,
120
            .icon = LIBUI_SURFACE_NULL,
Line 193... Line 193...
193
                .min = SETTINGS_SNOW_MIN,
193
                .min = SETTINGS_SNOW_MIN,
194
                .max = SETTINGS_SNOW_MAX,
194
                .max = SETTINGS_SNOW_MAX,
195
                .step = SETTINGS_SNOW_STEP,
195
                .step = SETTINGS_SNOW_STEP,
196
                .tostring = NULL
196
                .tostring = NULL
197
            }
197
            }
-
 
198
        },
-
 
199
        {
-
 
200
            .text = "Backlight brightness",
-
 
201
            .icon = LIBUI_SURFACE_NULL,
-
 
202
            .icon_selected = LIBUI_SURFACE_NULL,
-
 
203
            .type = SETTINGCHOOSER_TYPE_INTEGER,
-
 
204
            .setting = &settings.brightness,
-
 
205
            .validator = setting_validate,
-
 
206
            .config.integer =
-
 
207
            {
-
 
208
                .min = SETTINGS_BRIGHTNESS_MIN,
-
 
209
                .max = SETTINGS_BRIGHTNESS_MAX,
-
 
210
                .step = SETTINGS_BRIGHTNESS_STEP,
-
 
211
                .tostring = NULL
-
 
212
            }
198
        }
213
        }
199
    }
214
    }
200
};
215
};
201
 
216
 
202
void run_settingchooser()
217
void run_settingchooser()