Commit graph

267 commits

Author SHA1 Message Date
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
Linus Nielsen Feltzing
d0877aff89 splash(): Avoid negative x coordinates if the text doesn't fit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4914 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 13:58:18 +00:00
Jens Arnold
11888059a8 Const'ed the usb logo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4903 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 21:49:17 +00:00
Linus Nielsen Feltzing
736a19266d 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@4806 a1c6a512-1295-4272-9138-f99709370657
2004-06-27 01:35:33 +00:00
Jens Arnold
2d446fef06 Fixed lcd_bitmap() to use the bitmap format generated by bmp2rb correctly. Now it works for height > 8. Adapted font transposing & changed some other places to take advantage of that. bounce.c was (apart from fonts) the only routine that used the old format correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4620 a1c6a512-1295-4272-9138-f99709370657
2004-05-14 22:55:05 +00:00
Linus Nielsen Feltzing
08ebcad06a The month wasn't spoken in set_time_screen()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4540 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 21:40:26 +00:00
Linus Nielsen Feltzing
1de3dd570d Moved set_time_screen() to screens.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4534 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 06:49:12 +00:00
Linus Nielsen Feltzing
10b92c44b3 First step towards context sensitive and configurable menus, by Brent Coutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
2004-03-12 10:20:33 +00:00
Hardeep Sidhu
107ebc5ba9 Modified playlist handling to allow for multiple playlists to be edited at the same time. Added support in playlist viewer for viewing/editing playlists on disk (accessed via ON+PLAY->Playlist->View on a playlist). Added menu in playlist viewer for changing a few settings and saving playlist. Added File Options menu in playlist viewer ON+PLAY menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4276 a1c6a512-1295-4272-9138-f99709370657
2004-01-26 17:05:21 +00:00
Daniel Stenberg
1afa395c2f The splash() function's second argument (keymask) is now removed, as it
was not used by any code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 09:58:58 +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
Jörg Hohensohn
32c66315c8 oops, before code police arrests me: C++ style comment removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4187 a1c6a512-1295-4272-9138-f99709370657
2004-01-02 10:12:45 +00:00
Jörg Hohensohn
924972c743 on popular demand: flip screen now in F3 menu, instead of inverse
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4185 a1c6a512-1295-4272-9138-f99709370657
2004-01-01 18:35:47 +00:00
Daniel Stenberg
8e43ccbec6 Initial suppport for building Rockbox for Neo. The Neo has a different
key layout so we need to check for this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:34:27 +00:00
Björn Stenberg
461d6e347e Added a splash to indicate battery charging if user tries to shut off while plugged in.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4104 a1c6a512-1295-4272-9138-f99709370657
2003-12-04 00:08:25 +00:00
Jörg Hohensohn
eb28d43cd7 for FM and V2: removed the now false voltage reading from charging screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4096 a1c6a512-1295-4272-9138-f99709370657
2003-12-03 07:05:13 +00:00
Mats Lidell
49e53c1776 Added adc_read in place for saving simulator builds for
recorder. Please fix appropriately.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3852 a1c6a512-1295-4272-9138-f99709370657
2003-07-20 00:12:21 +00:00
Jörg Hohensohn
20caff2fbf doesn't mess with the charging (let algorithm decide), show charge phase as text, indicate current flow as animation and light, simulator fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3848 a1c6a512-1295-4272-9138-f99709370657
2003-07-19 21:43:12 +00:00
Jörg Hohensohn
b5b7304564 Charging screen displays status + animation, "On"-behaviour fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3846 a1c6a512-1295-4272-9138-f99709370657
2003-07-18 22:01:13 +00:00
Jörg Hohensohn
5dd17b1857 A very basic charging screen, probably buggy, the pro's would make it much nicer, but it's a starting point.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3841 a1c6a512-1295-4272-9138-f99709370657
2003-07-17 20:29:51 +00:00
Hardeep Sidhu
9e4262081b Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or playlist from file browser to see available options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 21:05:43 +00:00
Björn Stenberg
ba371fb595 Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3769 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:33:04 +00:00
Linus Nielsen Feltzing
a4d6ad77c4 Now the playlist isn't sorted/randomized if no music is playing (fixes the F2-shuffle bug reported by Henry Tremolo)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3707 a1c6a512-1295-4272-9138-f99709370657
2003-05-29 22:48:54 +00:00
Linus Nielsen Feltzing
a4ad4f7ef6 Stevie Oh's F3 menu patch (#729556)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3631 a1c6a512-1295-4272-9138-f99709370657
2003-04-30 01:59:42 +00:00
Linus Nielsen Feltzing
d6aa01bd90 The splash() now doesn't try to output text at negative X positions. This fixes the playlist problems when using french language.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3607 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 01:25:44 +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
Linus Nielsen Feltzing
a91713a216 splash() could draw the line outside the frame buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3512 a1c6a512-1295-4272-9138-f99709370657
2003-04-03 00:18:14 +00:00
Robert Hak
202169ed5a remove debug line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3479 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 22:51:12 +00:00
Daniel Stenberg
078f328544 When you use splash() and a centered output, it will now put the text in
a centered "box" on the screen and will not clear the rest of the screen.
This makes a neat "windows-effect", as can be seen on these demo-shots:

http://www.contactor.se/~dast/splash3.png
http://www.contactor.se/~dast/splash2.png
http://www.contactor.se/~dast/splash.png

Needless to say, current code that "pops-up" information should be moved
to use splash() instead...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3476 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 16:04:58 +00:00
Daniel Stenberg
87cd59f7e3 power-splash, this should be able to replace most cases where we "splash"
messages for a brief period


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3464 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 21:14:46 +00:00
Daniel Stenberg
7ab2ff550d adjust the splash timer if the wrong key is pressed many times
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3463 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 19:37:01 +00:00
Daniel Stenberg
2517523c30 Hey Linus! Here it is!
Added splash(). Shows a message on screen during a given period, waiting for
the given keymask.

This function word-wraps the input message itself to show it as nicely as
possible. Multi platform function.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3462 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 19:32:12 +00:00
Robert Hak
e218be8ccb invert is now an option on f3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3361 a1c6a512-1295-4272-9138-f99709370657
2003-02-28 08:07:45 +00:00
Daniel Stenberg
79a6cb67ba include sprintf.h when we use snprintf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3271 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 00:03:23 +00:00
Kjell Ericson
767d604bcd Removed unnecessary calls to lcd_stop_scroll().
Changed all lcd_scroll_pause() to lcd_stop_scroll().
Updated the tree system for new scroll-behaviour.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3154 a1c6a512-1295-4272-9138-f99709370657
2003-01-23 14:28:16 +00:00
Hardeep Sidhu
12d1844084 Fixes for player/studio in USB mode: 1) Update status bar 2) Disable USB status once disconnected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3043 a1c6a512-1295-4272-9138-f99709370657
2003-01-09 03:53:46 +00:00
Robert Hak
0789d42400 updateing a build failure (ata_power_off) and first attempt to add 'playlist only' file display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2894 a1c6a512-1295-4272-9138-f99709370657
2002-11-30 09:42:13 +00:00
Björn Stenberg
5cb429ec60 Added mpeg_set_pitch() stub to simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2721 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 14:03:11 +00:00
Björn Stenberg
0834d3f322 Pitch steps changed to 0.1% instead of 1%.
Holding down ON+RIGHT/LEFT increases/decreses pitch 2% while key is held down, then returns.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2718 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 12:05:15 +00:00
Mats Lidell
1873987315 Use status_set...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2661 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:56:05 +00:00
Markus Braun
88098be7e3 Enable status bar in usb mode.
Moved usb_display_info() to screens.c
Added functions queue_wait_w_tmo() and usb_wait_for_disconnect_w_tmo().


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2574 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 08:56:23 +00:00
Björn Stenberg
63e8f6b5c1 Reverted bad parts of last patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2533 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 14:05:49 +00:00
Linus Nielsen Feltzing
f7376e0e2e f2_screen used the wrong font size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2532 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 13:56:27 +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
3a1d3623c4 Quickscreens always use system font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2473 a1c6a512-1295-4272-9138-f99709370657
2002-10-02 10:58:31 +00:00
Björn Stenberg
46d2d3868b Quickscreen now stays up after a quick key press only, not if key is held down
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2442 a1c6a512-1295-4272-9138-f99709370657
2002-09-29 22:05:21 +00:00
Björn Stenberg
a7dcf912e1 Merged 'mp3 filter' and 'show hidden files' into a single filter option.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2405 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 19:12:09 +00:00
Björn Stenberg
a4c3b03f15 Removed lcd_getfontsize(). Removed font parameters to lcd_putsxy and lcd_getstringsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2403 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 18:04:15 +00:00
Björn Stenberg
b1b8bd4dd1 Moved on_screen, f2_screen, f3_screen and handle_usb (renamed usb_screen) to a new file: screens.c.
typedef Menu replaced with a bool.
All code now calls usb_screen() for usb handling.
Nearly all code now deals with USB connect/disconnect properly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2401 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:22:12 +00:00