Commit graph

98 commits

Author SHA1 Message Date
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Michiel Van Der Kolk
1076eb1d27 Check for invalid song data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7045 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:35:21 +00:00
Magnus Holmgren
1e5119b77b Show the same information in the ID3 browser as in the WPS screen; use string version of tags if available, format time in the same way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7029 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 19:33:33 +00:00
Linus Nielsen Feltzing
6e80ac39a5 New poweroff handling, using the SYS_POWEROFF event, allowing plugins to save their settings before powering off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7019 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 00:03:18 +00:00
Michiel Van Der Kolk
afe0941ae5 song rating support.. should probably be moved with browse id3 to a "song options" submenu in the wps context menu...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7013 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:01:31 +00:00
Daniel Stenberg
9a6a4e79a2 quick scren fixed for h300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6920 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 13:47:22 +00:00
Christi Scarborough
9e8918b086 Resume rework. With the new resume function, 'Ask' and 'Ask Once' are redundant options, since you can resume after any startup using the resume key. These have been stripped out, and the resume code has been streamlined. A small bug in button handler initialisation has been fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6911 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:23:09 +00:00
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
Christi Scarborough
37c3d8b610 Quick menu for iRiver: A long press on the PLAY key in the browser or the WPS will take you into the quick menu screen where certain common settings can be adjusted. Works just the same as F2 menu on Archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6880 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 20:16:26 +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
934941294b Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +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
422a141a6e Fix some player build errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6837 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 02:20:40 +00:00
Linus Nielsen Feltzing
8b493fa6c4 Leave the ID3 viewer with LEFT as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6834 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 01:24:25 +00:00
Jens Arnold
e23348ac8b Shutdown screen is for recorder v1 only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6831 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 22:22:23 +00:00
Andy
59b78940e8 Center USB logo on all models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6744 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 09:34:10 +00:00
Jens Arnold
748c751595 Fixed RED builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6536 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 05:57:19 +00:00
Christian Gmeiner
7477c09b42 Remote LCD: added own backlight timeout stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6533 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 00:00:22 +00:00
Jens Arnold
b9ebe6af0a Better pitch handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6503 a1c6a512-1295-4272-9138-f99709370657
2005-05-22 12:45:35 +00:00
Jens Arnold
27abc2a641 (1) Early USB detection on boot, before trying to mount the partitions. Cleaner & quicker; removes the need for the extra USB check at the top of ask_resume() which caused a deadlock in screenshot mode (see patch #1110332). On Ondio, this allows to leave an MMC in the slot when booting with USB connected for instant access. (2) Ondio: Track MMC status, only ask to remove the card if required. Probe MMC status if unknown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6488 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 22:10:51 +00:00
Jens Arnold
6e37dcf91b Not-so-elegant fix for the simulator builds not defining HAVE_CHARGING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6413 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:49:16 +00:00
Jens Arnold
cd0bb1cbec Ondio: Disabled unused code for time setting and charging splash, saving almost 2 KB binary size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6412 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:30:16 +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
ce51bc4b81 overlooked warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6021 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 16:23:30 +00:00
Jörg Hohensohn
7e1d36f35b Ondio: disk activity indication in USB mode, too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6020 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 14:45:34 +00:00
Jean-Philippe Bernardy
06f1c0afc6 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5933 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 12:51:06 +00:00
Jens Arnold
3c348df5ca Changed several places to use button_clear_queue() to empty the button queue. Added the ability to empty the (system's) button queue to the X11 simulatr.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 22:48:25 +00:00
Björn Stenberg
fc53fd708f Added ID3 database dirfilter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5574 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 11:37:36 +00:00
Linus Nielsen Feltzing
c8cf5e0e65 You can now leave the quick menus with OFF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5489 a1c6a512-1295-4272-9138-f99709370657
2004-12-17 11:14:27 +00:00
Jens Arnold
61753a893e Fixed a simulator warning, and disabled some unused code for targets without charging (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5453 a1c6a512-1295-4272-9138-f99709370657
2004-11-21 00:44:44 +00:00
Jens Arnold
2996d17736 Animated charging screen for player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5452 a1c6a512-1295-4272-9138-f99709370657
2004-11-21 00:17:59 +00:00
Jens Arnold
b3e31b9d04 Fix: Properly apply the backlight settings for the charging screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5451 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 22:43:38 +00:00
Linus Nielsen Feltzing
e68ccbd1d8 Added iRiver button codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5437 a1c6a512-1295-4272-9138-f99709370657
2004-11-19 10:54:59 +00:00
Jens Arnold
1f6c48011c Only voice the MMC remove prompt if voicing is enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5406 a1c6a512-1295-4272-9138-f99709370657
2004-11-12 22:19:29 +00:00
Kjell Ericson
6c2fb55b7d The display is forced in to two row modes for player before showing the splash text
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5311 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 16:17:35 +00:00
Linus Nielsen Feltzing
ae815a0272 Removed the backlight control from the charging screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5255 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 08:42:11 +00:00
Jens Arnold
7f6b640b1e Request to remove MMC before acknowledging USB (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5254 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 00:02:51 +00:00
Jens Arnold
ccfa4cd97a Removed car adapter mode for Ondio, and changed the misleading config option HAVE_BATTERIES to the more appropriate HAVE_CHARGING
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5242 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 01:25:32 +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
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Jörg Hohensohn
d4e527b811 temporary hacks to make it compile with the Ondio (=Player) keypad. No influence for the other platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5060 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 13:19:41 +00:00
Jörg Hohensohn
24c7c04899 adjustment for the Ondio: button driver has an Odio part, for now it has a Player layout. Some fixes in the app code were necessary to remove dependencies of LCD, keypad, this wasn't independent everywhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5055 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 10:51:54 +00:00
Jens Arnold
033ba1669b Made local constant arrays static, saving a few bytes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5014 a1c6a512-1295-4272-9138-f99709370657
2004-08-26 20:30:22 +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
00e384f30a Fix for bug #998515, by Jan Gajdos
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4959 a1c6a512-1295-4272-9138-f99709370657
2004-07-27 07:12:07 +00:00
Linus Nielsen Feltzing
ade5d7b848 First step in revamping the USB event handling, paving the way for the upcoming SYS_POWER_OFF event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 16:06:59 +00:00
Linus Nielsen Feltzing
b73caf745f Ignore repeat button events in the shutdown confirmation screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4949 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 07:39:57 +00:00
Linus Nielsen Feltzing
bdbb0ef470 Replaced the poweroff confirmation string with a language ID, and removed the shutdown_screen() function for players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4941 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 21:35:38 +00:00
Linus Nielsen Feltzing
5b5003dcb1 New feature: clean shutdown if you press OFF twice in the file browser, or select "Shut
off" in the main menu. Players only have the menu option, due to lack of keys.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4940 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 21:26:41 +00:00