Commit graph

69 commits

Author SHA1 Message Date
Jens Arnold
7e11acbce9 Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Hardeep Sidhu
74d082c038 Added new shuffle repeat mode that reshuffles playlist before repeating. Also added new shuffled insert mode that randomly inserts selected track(s) somewhere between current track and end of playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6861 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 04:46:25 +00:00
Jens Arnold
04daef17a1 First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Jens Arnold
97a8049389 New feature for units that can be powered or charged from USB (Recorder fm/v2, Ondios): USB power mode, based on patch #1110332 by Pieter Bos. This way you can save battery power or even charge the battery (fm/v2) while using your unit near a PC. Hold MODE (Ondio) or F1 (fm/v2) while plugging USB to enter that mode. A tiny USB plug icon will be displayed is the status bar (overridden by the regular power plug icon in case of fm/v2 when the charger is connected).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6836 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 02:18:29 +00:00
Jens Arnold
5690f78fb2 Multiple choice LED configuration instead of HAVE_LED. Removes erroneous MMC icon display on iriver, and saves some code on Ondio. Removed invert_led() as it is no longer used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6568 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 23:15:52 +00:00
Christian Gmeiner
ed0c8764c4 iRiver: added support for hold-button on main unit and remote control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6320 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 11:34:22 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
674eaca5ef Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Jörg Hohensohn
2e429ff762 a bit nicer: delay of the disk activity indicator is supplied by app layer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6019 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 14:44:31 +00:00
Jörg Hohensohn
9f0d4a1f65 oops, a stray char slipped in
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6013 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 09:08:25 +00:00
Jörg Hohensohn
c76fbf7162 Ondio: disk indication in the status bar, to compensate for lacking LED
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6012 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 00:34:15 +00:00
Jens Arnold
1f0908dfaf Removed button bar for devices with no F buttons (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5237 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 20:54:15 +00:00
Jörg Hohensohn
43079ea07f multiple battery types prepared (CONFIG_BATTERY)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5227 a1c6a512-1295-4272-9138-f99709370657
2004-10-08 17:45:52 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +00:00
Jens Arnold
8fb336148f Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Linus Nielsen Feltzing
3dc50b0d74 Fixed the slow status bar update in bug report #727790.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4868 a1c6a512-1295-4272-9138-f99709370657
2004-07-13 06:59:11 +00:00
Linus Nielsen Feltzing
32e27d93e8 The status bar now keeps track of the mpeg status, instead of having to call status_set_playmode() all the time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4805 a1c6a512-1295-4272-9138-f99709370657
2004-06-27 01:05:40 +00:00
Björn Stenberg
94077449cc Keep running charging animation until top-off is completed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4611 a1c6a512-1295-4272-9138-f99709370657
2004-05-12 14:21:35 +00:00
Linus Nielsen Feltzing
77936e6ec5 First shot at a nice little button bar at the bottom of the recorder LCD. Enable Button Bar in the Display settings. Only the dir browser uses it at the moment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4391 a1c6a512-1295-4272-9138-f99709370657
2004-03-16 13:44:56 +00:00
Linus Nielsen Feltzing
a258fe1887 Better charging feedback for FM/V2 devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4296 a1c6a512-1295-4272-9138-f99709370657
2004-02-05 13:44:04 +00:00
Jörg Hohensohn
f993365447 Moved the low-level playback functionality into a new, separate module "mp3_playback". This e.g. allows to export a memory playback API to the plugins, opens the door to games with sound, UI sounds, etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4192 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 20:42:51 +00:00
Björn Stenberg
34a4111ade Battery meter now shows '?' after boot instead of nothing at all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4103 a1c6a512-1295-4272-9138-f99709370657
2003-12-03 23:21:13 +00:00
Björn Stenberg
f6b6db4167 Don't show battery meter until a proper power reading has been done
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4042 a1c6a512-1295-4272-9138-f99709370657
2003-11-19 14:14:41 +00:00
Linus Nielsen Feltzing
de8b0c31a6 Now clears the buttonbar before drawing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4017 a1c6a512-1295-4272-9138-f99709370657
2003-11-05 09:42:29 +00:00
Linus Nielsen Feltzing
0a2e2c82a9 Renamed the buttonbar functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4016 a1c6a512-1295-4272-9138-f99709370657
2003-11-05 08:59:55 +00:00
Linus Nielsen Feltzing
1e781eab6c Generic F-key buttonbar functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4013 a1c6a512-1295-4272-9138-f99709370657
2003-11-04 13:17:29 +00:00
Björn Stenberg
b1c429e6fb Car Ignition Auto Stop (patch #736339 by Craig Sather)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3976 a1c6a512-1295-4272-9138-f99709370657
2003-10-17 14:49:00 +00:00
Björn Stenberg
fb067481a8 Runtime display bug fix by Craig Sather (patch #766552)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3974 a1c6a512-1295-4272-9138-f99709370657
2003-10-17 13:54:48 +00:00
Björn Stenberg
7eb6d002b4 Simplified and corrected status update. Contributions by Magnus Holmgren and Mats Lidell.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3723 a1c6a512-1295-4272-9138-f99709370657
2003-06-04 12:03:23 +00:00
Björn Stenberg
942bc9449e Only redraw the status line when info actually changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3588 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 11:26:25 +00:00
Uwe Freese
cc9b62f6b2 Mike Holden's patch that corrects the FM charger plugged symbol
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3251 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 21:45:19 +00:00
Björn Stenberg
cc11e885d1 Corrected get_time(). This should fix the bad file date bug. Also changed status.c to use get_time() instead of reading directly from RTC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3170 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:24:40 +00:00
Uwe Freese
0a0fd19788 show 100% instead of animation when top-off chg.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3018 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 19:00:34 +00:00
Björn Stenberg
c3fd67c6c9 Killed a dozen global variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 14:57:45 +00:00
Uwe Freese
34299df8c8 status bar: battery symbol animation in charge and top off charge mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2989 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 15:46:23 +00:00
Björn Stenberg
34351e8251 Moved runtime-reset-when-charger-connected to status.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2925 a1c6a512-1295-4272-9138-f99709370657
2002-12-04 11:25:56 +00:00
Mats Lidell
a87ce29bf8 Draw all icons for player from status_draw. Added set methods for
icons that isn't deduced from somewhere.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2660 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:53:33 +00:00
Björn Stenberg
6e9d574b2b Removed the 'repeat off' icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2553 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 23:30:40 +00:00
Björn Stenberg
7e23c70f65 Added repeat-one icon for recorders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2523 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 10:24:29 +00:00
Mats Lidell
a0baf382f2 Show repeat icons for player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2507 a1c6a512-1295-4272-9138-f99709370657
2002-10-05 13:12:01 +00:00
Björn Stenberg
a6d0abb602 Repeat off/all/one toggle. By Hardeep Sidhu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2498 a1c6a512-1295-4272-9138-f99709370657
2002-10-04 08:48:20 +00:00
Björn Stenberg
6e35351506 Don't draw statusbar if it's disabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2455 a1c6a512-1295-4272-9138-f99709370657
2002-09-30 21:27:53 +00:00
Daniel Stenberg
faf31f0b30 use lcd_update_rect() even on simulators (*crosses fingers*)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2258 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:43:01 +00:00
Justin Heiner
e07a97ed00 Minor update to the last commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2176 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 22:32:19 +00:00
Justin Heiner
a425105b66 Added status indicator for charging on Player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2175 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 22:29:04 +00:00
Björn Stenberg
26964fd957 Merged Magnus Holmgren's wps.config code.
Moved wps.config from root to /.rockbox dir.
Removed WPS display setting.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2111 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 19:50:45 +00:00
Markus Braun
b8660c4120 Killed warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2088 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 19:52:33 +00:00
Markus Braun
4e4dfc0848 Fixed time display in statusbar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2087 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 19:44:58 +00:00
Björn Stenberg
1c4f60f7cb Removed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2068 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:58:55 +00:00
Björn Stenberg
b847a7b296 Added status_draw() to set_playmode().
Moved rtc reading from icons.c code to status.c
Added boundary checks for time display values.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2066 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:39:31 +00:00