Add an ability to set a setting to a specific value with a touchscreen action.
commit98111a44e9f32228c893917b6d1296e90a35729f
authorjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Tue, 1 Mar 2011 12:31:03 +0000 (1 12:31 +0000)
committerjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Tue, 1 Mar 2011 12:31:03 +0000 (1 12:31 +0000)
tree63d99c6a73c55f9fb2159633264355209e186b38
parent06225e23cb6ee6efd33bb276d8ab2c81ca9edccb
Add an ability to set a setting to a specific value with a touchscreen action.

example: %T(0,0,20,12, setting_set, repeat, off)
That will set the repeat mode to "off" when it is pressed.
"setting_set" is the action name
"repeat" is the name of the setting in the config files
"off" is the value to set it to (same values as the legal values in the config files)

Not all settings are supported, outright unsupported settings will fail to parse. Some settings might not work too well if they don't apply instantly (Any that work well int he quickscreen should work well here)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29483 a1c6a512-1295-4272-9138-f99709370657
apps/action.h
apps/gui/skin_engine/skin_parser.c
apps/gui/skin_engine/skin_touchsupport.c
apps/gui/skin_engine/wps_internals.h
apps/settings.c
lib/skin_parser/tag_table.c