Dominik Riebeling
08c813d45a
Respect the progressbar length when drawing AB markers. Fixes FS#6463. Also fix a function name typo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11857 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 19:17:03 +00:00
Jens Arnold
2597a13497
Next round of static'ing and related fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11836 a1c6a512-1295-4272-9138-f99709370657
2006-12-25 14:01:47 +00:00
Jonathan Gordon
7258b5e51a
Make AB mode uable on the ipods. In AB mode select is used to set/reset
...
the markers in he WPS. AB mode must be disblaed ot get into the browser.
This can allow the Ondio's to have AB mode but it makes rombox too
large.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11832 a1c6a512-1295-4272-9138-f99709370657
2006-12-22 05:19:56 +00:00
Nils Wallménius
20338ca60d
Removed unused button defines and made private functions static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11750 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 11:52:21 +00:00
Nils Wallménius
ed15e2994d
1) Delete unused files from old database and old gui files 2) Remove unneccesary includes of the old database header 3) Delete the deprecated databox plugin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11715 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 20:21:36 +00:00
Peter D'Hoye
3e1f837d11
Turned function back into define as that uses less bytes because gcc inlined the function.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11699 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 12:27:04 +00:00
Peter D'Hoye
552ac5a724
Fix crash in browser when using very big fonts and show path option together. Solves FS#6397. Patch created by Mark Arigo and modified by me. Minor code ploicing while in there.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11696 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 10:02:09 +00:00
Jonathan Gordon
4049d44b03
dont allow the ata callbacks to be run less than once every 30s unless
...
explicitly forced to.
The sleep_after param is only true in the Q_SLEEP event, so its uneeded,
so removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11599 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 09:53:42 +00:00
Jens Arnold
38d716660e
Fix bug in large-value handling of gui_scrollbar_draw() that went unnoticed for ages...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11587 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 00:20:53 +00:00
Magnus Holmgren
ea7992455a
Make the updated %rg tag match playback behaviour (fall back to track gain if album gain requested but not available). Share the mode decision logic with playback code and simplify the %rg tag handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11532 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 20:26:33 +00:00
Martin Scarratt
442c0e663f
Improved replaygain tags for WPS by Ian Webber fs#6223. Shows the current status of the gain rather than what the setting is set to. %?rg<off|track|album|shuffletrack|shufflealbum|notag>. Also, %rg will give the current gain adjustment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11531 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 17:29:03 +00:00
Jens Arnold
0297873f6a
Backdrop support for greyscale targets. WPS backdrop is untested.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 00:45:21 +00:00
Jens Arnold
780f79e7a4
Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 20:26:01 +00:00
Jonathan Gordon
d9f7ac24f4
fix booboo in ata.c (SYS_POWEROFF falling into SYS_USB_CONNECTED)
...
enable ata_idle callbacks in ata_mmc.c (calls the callbacks after 10s of
real inactivity)
fix builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11462 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 02:23:01 +00:00
Michael Sevakis
0f5cb94aa4
Big Patch adds primarily: Samplerate and format selection to recording for SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:07:30 +00:00
Jonathan Gordon
6a1161b634
dont allow the volume setting to wrap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11445 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 10:11:51 +00:00
Jonathan Gordon
717f63e8e2
fixes fs# 5938 - scrollbar with title enabled shows one less than it should
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11412 a1c6a512-1295-4272-9138-f99709370657
2006-11-01 12:03:27 +00:00
Jens Arnold
c1767ddf4a
Remove format_align from the format_lines array, as it's unnecessary. Saves code & memory. Patch by Mark Arigo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11388 a1c6a512-1295-4272-9138-f99709370657
2006-10-30 00:23:32 +00:00
Michael Sevakis
e0710b2af1
More color adjustments. Better translation to and from native colors with even distribution of levels. Macros for extracting native depth components and packing them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11227 a1c6a512-1295-4272-9138-f99709370657
2006-10-15 17:51:00 +00:00
Michael Sevakis
6aa12c11f7
Added a small interface to screens to translate colors into remote gray levels on the x5. Splash screens paint properly with light gray. Should be adapted to a more general approach in the future. A few trailing whitespace trimmings got into a couple files but that is fine.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11218 a1c6a512-1295-4272-9138-f99709370657
2006-10-14 01:32:58 +00:00
Michael Sevakis
e627e35439
More visual annoyance fixes. Backdrops no longer show though on centered splash screens.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11213 a1c6a512-1295-4272-9138-f99709370657
2006-10-13 11:53:57 +00:00
Michael Sevakis
6e46bc2c19
One little thing needed changing in gui_bitmap_scrollbar_draw.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11211 a1c6a512-1295-4272-9138-f99709370657
2006-10-13 04:25:47 +00:00
Michael Sevakis
661c3406a9
Added inner fill option to normal scrollbar and foreground only option. Added a left-pointing cursor for using pointer. Updated color picker and now sliders look very good on color, grayscale and mono screens when using bar selector. Some misc. changes for appearance.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11210 a1c6a512-1295-4272-9138-f99709370657
2006-10-13 04:16:49 +00:00
Dave Chapman
fc865cb5a8
Revert change to screen_access.c (adding the native-bitmap drawing function) that caused warnings on the H3x0. We now draw the USB logo using the normal lcd_bitmap() and lcd_remote_bitmap() functions instead of the screens API, which doesn't handle the differing bitmaps types well. Remove apps/gui/logo.[ch] as they are now longer used.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11208 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 20:45:31 +00:00
Michael Sevakis
a7c8c71dad
Corrected the calculation to determine to display three sliders or one in the colorpicker. Same wonderment as before...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11197 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 00:50:13 +00:00
Michael Sevakis
fa0ea19d5a
Fixed the problem with the backdrops on iPod. The same problem was in the updated color picker and that is fixed too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11195 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 23:26:17 +00:00
Michael Sevakis
cc66aea55d
Made color picker work on x5 remote and display nicely when using backdrops. Also tweaked the appearance in general. Keymap still does not entirely function however (no inc/dec yet).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11193 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 20:34:25 +00:00
Jens Arnold
803331841e
Splash function: Fixed several bugs and problems: (1) Off-by-one bug caused a buffer overflow with splash text longer than the screen. (2) Last line wasn't centered properly in the same situation. (3) On player, string display length must be calculated using utf8length() instead of strlen() since unicode support was added (old bug). (4) Handle splash texts with multiple spaces properly, including correct length calculation and stripping on wrap. (5) Don't reset fg/bg colours to default if not centering (old bug). * Increased buffer sizes to account for (a) larger screens (b) utf-8 (c) words wider than the screen. * More efficient code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11144 a1c6a512-1295-4272-9138-f99709370657
2006-10-07 16:37:30 +00:00
Dave Chapman
da2bf53230
Move USB logo to an external (native-depth) bitmap.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11137 a1c6a512-1295-4272-9138-f99709370657
2006-10-06 08:37:22 +00:00
Shachar Liberman
f5a3569899
Should fix yellow player buid. warning only occurred on the real target so I've missed it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11116 a1c6a512-1295-4272-9138-f99709370657
2006-10-03 15:02:49 +00:00
Shachar Liberman
f5452c0bde
Improved code for the splash function: spare some calculation, fix a bug for screens wider then 255 (ipod 5g), fix FS#5775 by displaying complete lines instead of word by word.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11113 a1c6a512-1295-4272-9138-f99709370657
2006-10-02 23:54:28 +00:00
Martin Scarratt
183499a2d4
Recording screen statusbar: Improved channel icon by Paul Louden and improved Q value display for Hardware codec targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11062 a1c6a512-1295-4272-9138-f99709370657
2006-09-26 11:56:59 +00:00
Martin Scarratt
4a1d8d272a
fix warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11043 a1c6a512-1295-4272-9138-f99709370657
2006-09-25 11:06:54 +00:00
Martin Scarratt
1ab1f02dfe
fix the bug where when scrolling text left in the filebrowser you could suddenly find yourself in the root directory. A long press on the left scrolling button will still take you to the root quickly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11042 a1c6a512-1295-4272-9138-f99709370657
2006-09-25 10:56:38 +00:00
Jonathan Gordon
4553069f9d
holding left in the tree will quickly get back to root, as long as the text is in the left-most position (like before)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10965 a1c6a512-1295-4272-9138-f99709370657
2006-09-17 08:30:17 +00:00
Magnus Holmgren
1ecdbcced2
Save a few bytes on hwcodec targets...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10937 a1c6a512-1295-4272-9138-f99709370657
2006-09-12 20:32:06 +00:00
Martin Scarratt
98f78870f8
fix some sim warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10936 a1c6a512-1295-4272-9138-f99709370657
2006-09-12 19:11:51 +00:00
Martin Scarratt
d7fa569df6
Improved statusbar icons in recording screen by Davide Gentile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10935 a1c6a512-1295-4272-9138-f99709370657
2006-09-12 18:26:27 +00:00
Martin Scarratt
617b67e769
Display bitrate (Q value for Archos), samplerate, channels and recording format (M = MP3) in the statusbar in the recording screen. This is all new info for archos targets and I-river targets now have this info on the remote as well as the main screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10856 a1c6a512-1295-4272-9138-f99709370657
2006-09-02 17:30:30 +00:00
Magnus Holmgren
606f745c7c
WPS: Fix problem with transparancy in the first image of an enum.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10793 a1c6a512-1295-4272-9138-f99709370657
2006-08-29 12:54:22 +00:00
Magnus Holmgren
ed1a26d567
1 is the correct value here. Not that it makes any difference... :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10760 a1c6a512-1295-4272-9138-f99709370657
2006-08-26 15:52:44 +00:00
Magnus Holmgren
dd87c364a0
Make volume and battery level enums dynamic, inspired by patch 4802. Almost backwards compatible; for the battery level, the first enum is used when the level is unknown, while the remaining enums are used as before.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10756 a1c6a512-1295-4272-9138-f99709370657
2006-08-26 13:25:33 +00:00
Mark Arigo
34301bb37b
Add optional icon to list title, current path display shows a dir icon, and list titles now left-justified.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10726 a1c6a512-1295-4272-9138-f99709370657
2006-08-23 20:02:06 +00:00
Jonathan Gordon
66c4bd6e63
Stop lists wrapping when using page up/down
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10712 a1c6a512-1295-4272-9138-f99709370657
2006-08-23 08:35:31 +00:00
Jonathan Gordon
cbcc9db1a8
initial (re)support for F3
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10689 a1c6a512-1295-4272-9138-f99709370657
2006-08-22 08:23:24 +00:00
Jonathan Gordon
89ed855b89
directory navigation in wps works as before (short then long next/prev)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10687 a1c6a512-1295-4272-9138-f99709370657
2006-08-22 07:57:40 +00:00
Jonathan Gordon
d12f81ddd4
fixed the settings action context, time/eq/colour chooser/dbug screens
...
should all work correctly again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10670 a1c6a512-1295-4272-9138-f99709370657
2006-08-21 07:03:15 +00:00
Jonathan Gordon
f1781318d3
software keylock works again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10632 a1c6a512-1295-4272-9138-f99709370657
2006-08-17 12:33:36 +00:00
Jonathan Gordon
07d3db2dec
really fix the yes/no screen now, also id3 viewer shows the status bar
...
correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10630 a1c6a512-1295-4272-9138-f99709370657
2006-08-17 09:28:04 +00:00
Jonathan Gordon
f7db043fbc
* fix pitchscreen
...
* stop yes/no screen eating the first press sometimes
* add enter id3 button from wps in irivier
* update keymap-h10 from Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10614 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 14:14:16 +00:00