Jonathan Gordon
3e5b38945c
const raid in option_select
...
add table settings and fix int settings with negative step in option_select_next_val
bump plugin API and sort newer functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17520 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 06:58:36 +00:00
Jonathan Gordon
39bccd65b9
recommit the talking quickscreen... silly rename bug which I mised this morning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17348 a1c6a512-1295-4272-9138-f99709370657
2008-05-04 08:11:28 +00:00
Stéphane Doyon
49a73ca90f
Revert r17345 on jdgordon's request, until we figure out why it crashes my x5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17346 a1c6a512-1295-4272-9138-f99709370657
2008-05-04 02:57:30 +00:00
Jonathan Gordon
dd4e3848b8
make the quickscreen talk
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17345 a1c6a512-1295-4272-9138-f99709370657
2008-05-04 02:11:24 +00:00
Jonathan Gordon
ef5286c48c
remove some dead code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17320 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 14:26:47 +00:00
Jonathan Gordon
ea664e0647
Viewported quickscreen (take 2 :D) (FS#8553)
...
- no customization support
- no top item
- much better use of the screen
- deprecates 20 odd lang strings (the QS can now use the regular lang strings and user font)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17315 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 12:30:40 +00:00
Jonathan Gordon
fe9dca3d5b
option_screen() now accepts a viewport
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17223 a1c6a512-1295-4272-9138-f99709370657
2008-04-23 11:07:40 +00:00
Stéphane Doyon
4b5f0909d1
Fix bug in r17188.
...
The warning from the build page was valid and helpful, wish my compiler had
given it to me...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17189 a1c6a512-1295-4272-9138-f99709370657
2008-04-20 14:44:36 +00:00
Stéphane Doyon
b2aa86a785
FS#7980: Select default option in an option list
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17188 a1c6a512-1295-4272-9138-f99709370657
2008-04-20 14:12:28 +00:00
Nils Wallménius
6848961aa5
Pass the buffer length to the list_get_name callback functions instead of using hardcoded MAX_PATH
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17049 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 15:25:17 +00:00
Jonathan Gordon
5ca1539969
the menu and list now accepts a parent viewport to draw in (and the menu can be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 03:35:24 +00:00
Steve Bavin
ae39135e2e
Oops. Mop up red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16799 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 15:35:14 +00:00
Paul Louden
f7c938a7b7
(Hopefully) Revert the quickscreen changes. Many fixes need to be made,
...
and the exact implementation needs discussion. We apologize for the
inconvenience and hope to bring an improved quickscreen to you soon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16224 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 09:09:38 +00:00
Jonathan Gordon
7ca3ccd2a4
quiet the masses...
...
stop the wps scrolling happening in the quickscreen
green delta for non quickscreen targets
nfi why colours arnt working... hopefully bug in firmware/?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16222 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 08:21:54 +00:00
Jonathan Gordon
2c82494e66
updated the quickscreen's:
...
- use viewports
- dont change to system font, fiddle with item positions to make them fit small screens
- user customizable options (use the .cfg settings "quickscreen_left, quickscreen_right, quickscreen_top, quickscreen_bottom" for the name and the .cfg name for the setting you want to use. it can be any except the string settings... (e.g. quickscreen_left:talk menu)
- a top item! if there is none set the up button will exit the screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16220 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 05:50:20 +00:00
Michael Sevakis
c4ebcbeaf4
Make set_option correctly return USB connect status.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16055 a1c6a512-1295-4272-9138-f99709370657
2008-01-11 17:43:07 +00:00
Jens Arnold
09a786138c
Allow (almost) arbitrary backlight fade in and fade out times (on targets with software PWM fading), and comvert the associated settings to table settings. * Settings system: Unify a bunch of formatters and getlang helpers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15817 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 23:10:20 +00:00
Jens Arnold
e54244480d
Convert 2 more settings to table settings. * Fix duplicate value display if the first value is selected in a table setting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15805 a1c6a512-1295-4272-9138-f99709370657
2007-11-25 20:05:04 +00:00
Jens Arnold
d63f2375a2
Fix 64 bit warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15804 a1c6a512-1295-4272-9138-f99709370657
2007-11-25 18:01:04 +00:00
Jens Arnold
d490f44112
New way of handling integer settings with variable steps: table settings (FS #8186 , with fixes by me). This allows to get rid of those synchronised tables in firmware/ and apps/, making things more flexible and less error prone. First application: backlight timeouts. * Make some more things 'const'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15803 a1c6a512-1295-4272-9138-f99709370657
2007-11-25 17:36:21 +00:00
Jens Arnold
3082a40b0a
Fix warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15789 a1c6a512-1295-4272-9138-f99709370657
2007-11-24 11:30:11 +00:00
Jens Arnold
a9fa492dfb
Make the sound settings talk unit selection slightly less hackish, and make it handle unitless settings (like the new bass/treble cutoff setting on iPod Video).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15788 a1c6a512-1295-4272-9138-f99709370657
2007-11-24 11:18:29 +00:00
Nils Wallménius
acbd780239
Make id's created with the TALK_ID macro work in 64 bit sims
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15723 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 19:50:52 +00:00
Karl Kurbjun
38548c7118
Build some more plugins for M:Robe most work, doom builds and runs if you use a hack - need to fix the user timer so that it works properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15403 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 05:21:34 +00:00
Stéphane Doyon
7736947b74
Voice the "Cancelled" splash in option_screen().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15235 a1c6a512-1295-4272-9138-f99709370657
2007-10-21 00:53:28 +00:00
Stéphane Doyon
27615a4b6d
From FS#7774: use list voice callback in option selection (option_screen(()).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15233 a1c6a512-1295-4272-9138-f99709370657
2007-10-21 00:22:49 +00:00
Steve Bavin
32a9575130
FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not just menus), hopefully save some space.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 15:31:42 +00:00
Jonathan Gordon
52040a05a2
fix the wrong value being selected initially
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15121 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 12:34:43 +00:00
Jonathan Gordon
0f7f3467bf
Integer setting changes to make all those settings consistant on the target.
...
wheel targets, clockwise is increase value
archos player, + is increase
button targets, up is increase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15120 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 10:33:01 +00:00
Jonathan Gordon
887ff33f2e
Fix int settings being backwards on the player
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15116 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 07:57:11 +00:00
Jonathan Gordon
58777c350a
Fix FS#7952 - flip list settings didnt work properly
...
Accept FS#7956 - flip some sound settings on wheel targets so clockwise increases
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15113 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 05:35:20 +00:00
Jonathan Gordon
cf1cef5f57
minor update to gui_synclist_do_button() which will hopefully simplify things later.
...
Now returns true if the action was handled in that function instead of returning the handled action.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657
2007-09-17 10:08:50 +00:00
Nils Wallménius
12a957b0e8
Disable wrapping of the bass and treble settings and do the same for volume in a cleaner way, closes FS#7783
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14712 a1c6a512-1295-4272-9138-f99709370657
2007-09-15 17:29:15 +00:00
Jonathan Gordon
24006ffeac
stop non-live settings from beign accepted even if cancel was chosen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14616 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 03:06:49 +00:00
Jonathan Gordon
51edc1102c
Change the way set_option() works so these settings are voiced again (recording settings mostly..) Fixes FS#7552
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14487 a1c6a512-1295-4272-9138-f99709370657
2007-08-28 11:00:54 +00:00
Nils Wallménius
9b59183953
Use size_t type for the buffer_size parameter to formatter functions, static two private functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14392 a1c6a512-1295-4272-9138-f99709370657
2007-08-19 10:22:46 +00:00
Peter D'Hoye
ebcf06d237
Make peakmeter release setting work in units per tick (was units per read), add the unit and make it voiced. Make old leftover in lang file deprecated
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14390 a1c6a512-1295-4272-9138-f99709370657
2007-08-18 23:03:03 +00:00
Jonathan Gordon
022173195f
Try to translate items when using the STRINGCHOICE_SETTING() macro (fixes FS#7603)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14353 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 13:16:16 +00:00
Nils Wallménius
b311367481
*** Lang v2 cleanup (FS#6574) ***
...
1) Introduces apps/features.txt that controls which strings are included
for each target based on defines.
2) .lng and .voice files are now target specific and the format versions
of both these file types have been bumped, which means that new voice
files are needed.
3) Use the 'features' mechanism to exclude strings for targets that
didn't use them.
4) Delete unused and deprecated and duplicated strings, sort strings in
english.lang
Some string IDs were changed so translations will be slightly worse than
before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14198 a1c6a512-1295-4272-9138-f99709370657
2007-08-05 19:19:39 +00:00
Jonathan Gordon
fe2b376060
Fix the text for settings which have a different title than what is shown in the menu (i.e scroll options)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13962 a1c6a512-1295-4272-9138-f99709370657
2007-07-23 05:40:45 +00:00
Jonathan Gordon
f7675a244b
remove the need for action_signalscreenchange().
...
Fixes problems with targets where the ACTION_STD_CANCEL event is a combo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13956 a1c6a512-1295-4272-9138-f99709370657
2007-07-22 06:05:53 +00:00
Jonathan Gordon
ca0cc784bc
Fix the problem where settings stopped saving automatically
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13929 a1c6a512-1295-4272-9138-f99709370657
2007-07-19 09:17:25 +00:00
Jonathan Gordon
a5278fa3db
Rearrange and cleanup settings code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13851 a1c6a512-1295-4272-9138-f99709370657
2007-07-11 05:41:23 +00:00
Nils Wallménius
e1374b0536
Oops, remove accidentally left in, commented out code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13492 a1c6a512-1295-4272-9138-f99709370657
2007-05-24 22:43:54 +00:00
Nils Wallménius
c2a77563c2
Remove dead code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13488 a1c6a512-1295-4272-9138-f99709370657
2007-05-24 19:03:26 +00:00
Brandon Low
a69c495e5d
Patches from bug #5001 by Rani Hod, should make settings more resiliant to having 'off-step' values in a general way, but specifically fixes that bug report, and also round the current sleep timer value up when entering settings for sleep timer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9527 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 22:36:42 +00:00
Dave Chapman
ddbf4e51aa
Prevent numerical settings from wrapping - patch by Stephan Wezel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8192 a1c6a512-1295-4272-9138-f99709370657
2005-12-07 15:37:21 +00:00
Jens Arnold
fd02642ee0
Fixed truncated option strings for numeric settings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8043 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 11:31:28 +00:00
Kevin Ferrare
74b6af93b1
Added multi-screen support for quickscreen (mostly rewritten from scratch) and USB screen ; just looking at the hour makes me think it could be buggy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8039 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 03:38:07 +00:00