Commit graph

335 commits

Author SHA1 Message Date
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