Commit graph

133 commits

Author SHA1 Message Date
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
Linus Nielsen Feltzing
fe90635256 Killed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3716 a1c6a512-1295-4272-9138-f99709370657
2003-06-01 01:01:37 +00:00
Linus Nielsen Feltzing
b6b1294590 Patch #744268 (info screen USB mode)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3715 a1c6a512-1295-4272-9138-f99709370657
2003-06-01 00:59:45 +00:00
Linus Nielsen Feltzing
20d031f9c7 Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
2003-05-09 16:01:21 +00:00
Linus Nielsen Feltzing
331c7d9255 Finally, FM radio support on the FM Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3640 a1c6a512-1295-4272-9138-f99709370657
2003-05-03 02:40:09 +00:00
Björn Stenberg
39f7b66ca4 Added Genre+Year to ID3 viewer, and added the viewer to the main menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3234 a1c6a512-1295-4272-9138-f99709370657
2003-02-11 15:03:28 +00:00
Björn Stenberg
efb165f65c Added basic playlist creation. Creates <dirname>.m3u in the parent directory, containing all mp3/mp2/mpa files found recursively. The process can be aborted with OFF or STOP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3185 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 13:20:22 +00:00
Mats Lidell
858f04bb39 Local variables line removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3160 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 13:50:26 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Uwe Freese
86352ccc3f Code for alarm mod. Enable with adding -DHAVE_ALARM_MOD in Makefile (EXTRA_DEFINES).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3150 a1c6a512-1295-4272-9138-f99709370657
2003-01-22 12:50:34 +00:00
Uwe Freese
bc8029ee59 avoid mem info overflow when having 8MB ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3128 a1c6a512-1295-4272-9138-f99709370657
2003-01-18 18:21:13 +00:00
Uwe Freese
062afb3a36 main menu shows different charge states
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2986 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 15:44:01 +00:00
Linus Nielsen Feltzing
b43dba8760 Sleep timer, inspired by Jim Hagani
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2918 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 22:41:50 +00:00
Björn Stenberg
f09c5f4c63 Finally, merged the improved power code from Uwe Freese:
- The battery level (percentage) is more realistic and considers if the charger is on.
- It considers the "lazyness" a battery shows when the charging has just turned on or off (see below). But this is not perfect by now.
- The battery level is good enough to estimate the remaining running time and the remaining charging time. And so the info screen now shows this info.
- The maximum time of a charging cycle is now dynamically calculated out of the battery level (percentage) and is not a fixed value.
- A minimum of 60 minutes is waited after a charging cycle stops before another one starts.
- Added another screen in the battery debug screen (press down three times).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2913 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 14:18:51 +00:00
Björn Stenberg
6fb512aba5 Added disk space to Info menu item. (Players press + to see it.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2837 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 11:32:26 +00:00
Linus Nielsen Feltzing
afe0da9e16 Recording settings are now persistent. Added a Recording Settings menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2818 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 23:18:33 +00:00
Linus Nielsen Feltzing
1325c9d9fe Added recording functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2816 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 16:42:31 +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
Linus Nielsen Feltzing
0a4b247080 The player firmware now autodetects the LCD type. No need for two player versions anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2658 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:25:57 +00:00
Daniel Stenberg
57688469f4 fixed the buffer info to use one more decimal, also now require both a key
press and key release even to exit


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2630 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:21:34 +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
Björn Stenberg
505eca76e6 New language/string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 14:08:05 +00:00
Daniel Stenberg
b377086bef a few more translated strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2316 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:45:19 +00:00
Daniel Stenberg
0bc588cddc First simple steps using possibly translated strings for the main menu.
The lang.h file in CVS is meant to contain the default english strings.
Generate your favourite local one using the proper language file.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2306 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 06:44:10 +00:00
Daniel Stenberg
93b231c693 Greg Haerr's new loadable font. No more #ifdef font-style, removed old
propfont and loadable font code. New font file format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Björn Stenberg
451d7f5d37 Renamed menu item 'Screensavers' to more descriptive 'Demos'. Added snow, removed blank and boxes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2215 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 22:28:28 +00:00
Daniel Stenberg
0eefad89e5 include options.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2209 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 09:08:23 +00:00
Robert Hak
d97423527f corrected for games define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2103 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 23:07:11 +00:00
Robert Hak
1b9109aba2 USE_SCREENSAVERS define added so that we can build w/o Screensavers for the recorders if we want
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2097 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 20:57:53 +00:00
Justin Heiner
a9b2208723 Centered the ROCKbox! logo in the player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2042 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 18:01:55 +00:00
Daniel Stenberg
b285076925 Remade the menu system slightly. All functions invoked from menus now use
the Menu typedef as return type, and *ALL* menus that intercept USB connect
can then return MENU_REFRESH_DIR so that the parent (any parent really) that
do file or dir-accesses knows that and can do the refresh. If no refresh
is needed by the parent, MENU_OK is returned.

Somewhat biggish commit this close to 1.3, but we need to sort out this
refresh-after-usb-connected business.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1948 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:32:52 +00:00
Daniel Stenberg
82340129a6 made the main menu have a USB selection when built for simulator so that
we can simulate the USB stuff at least basicly


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1893 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:26:12 +00:00
Björn Stenberg
1330bfbb7c Removed 'saving seetings' message, since writing is delayed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1765 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 13:50:14 +00:00
Björn Stenberg
cd7691de22 Enabled saving settings to disk on player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1717 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 17:16:09 +00:00
Mats Lidell
cbb24497e2 Set param icon when in menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1705 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 09:16:18 +00:00
Heikki Hannikainen
77e05c6803 info menu: show 'charging' instead of charge percentage while charging,
the percentage is incorrect anyway, and an indication of charging is good.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1681 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 11:08:50 +00:00
Heikki Hannikainen
6b84bb4cf4 info now indicates non-safe battery level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1586 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 11:23:36 +00:00
Linus Nielsen Feltzing
217023ff67 show_info() now updates the display continuously
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1494 a1c6a512-1295-4272-9138-f99709370657
2002-07-30 09:00:11 +00:00
Linus Nielsen Feltzing
b92c0cf3eb Removed the boot count and brushed up the info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1483 a1c6a512-1295-4272-9138-f99709370657
2002-07-28 15:57:59 +00:00
Linus Nielsen Feltzing
d21f8b9ba3 Added battery level to the info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1473 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 21:29:33 +00:00
Linus Nielsen Feltzing
ebfff5a43d Better handling of key-up event in show_info() and show_credits()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1436 a1c6a512-1295-4272-9138-f99709370657
2002-07-24 16:57:21 +00:00
Linus Nielsen Feltzing
c0ab48b88b Killed simulator compiler error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1429 a1c6a512-1295-4272-9138-f99709370657
2002-07-24 11:35:23 +00:00
Linus Nielsen Feltzing
39dede951b show_info() now displays buffer size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1425 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 22:33:13 +00:00
Jerome Kuptz
ceef544fe0 primitive hold mode enabled for wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1413 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 06:21:35 +00:00
Björn Stenberg
6b25f79af0 Settings are now saved in RTC RAM on Recorder (Heikki Hannikainen).
Introduced debug menu (Heikki Hannikainen).
Cleaned up settings API.
Added scroll_speed init.
Moved dbg_ports() and dbg_rtc() from firmware/debug.c to apps/debug_menu.c
Made panic buffer static.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1347 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 11:02:12 +00:00
Linus Nielsen Feltzing
b9e69e2b6f Added Player debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1329 a1c6a512-1295-4272-9138-f99709370657
2002-07-04 13:38:49 +00:00
Linus Nielsen Feltzing
d506e7a357 Removed debug code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1301 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 15:58:27 +00:00
Linus Nielsen Feltzing
2dc3d8f5e3 Extended the debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1299 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 14:24:14 +00:00
Linus Nielsen Feltzing
7c441258ff Removed warning on Players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1297 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 08:20:23 +00:00
Jerome Kuptz
13059a4c6d The compile would error in dbg_ports for BUTTON_OFF. Added ifdef to use the BUTTON_STOP for player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1295 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 02:39:25 +00:00
Linus Nielsen Feltzing
93cf3d3f46 Added debug menu entry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1294 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 21:50:52 +00:00
Björn Stenberg
60b356ea25 Abstracted settings user interface into set_bool, set_int and set_option.
Removed the unnecessary menu entry ids.
Made playlist_shuffle and scroll_speed proper global settings.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1220 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 01:08:11 +00:00
Robert Hak
5687c7a83a general settings and sound in their own menus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1162 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 21:40:41 +00:00
Linus Nielsen Feltzing
0e2092f5ac Added backlight setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1156 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 13:52:03 +00:00
Robert Hak
3827d4764b games and screensavers are now in submenus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1142 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 08:51:28 +00:00
Björn Stenberg
fc2bb6cd20 Made playlist shuffle an option instead of an action
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1031 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 10:36:42 +00:00
Robert Hak
6077eb3f46 added menu options for bounce, sokoban and corrected screensaver => boxes reference
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1022 a1c6a512-1295-4272-9138-f99709370657
2002-06-16 23:30:56 +00:00
Daniel Stenberg
3dabd06e34 current_tick is now simulated too (hey Felix, this breaks the win32 sim!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1006 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:45:51 +00:00
Daniel Stenberg
c0b7f4d97c the shuffle says something if we don't have a playlist loaded
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@991 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 07:48:48 +00:00
Björn Stenberg
aa26b5cbe3 Added playlist shuffle menu option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@986 a1c6a512-1295-4272-9138-f99709370657
2002-06-13 13:53:22 +00:00
Björn Stenberg
1e47b1f470 Added simple scroll speed setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@963 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 12:46:06 +00:00
Daniel Stenberg
bd711ee5be Use only internally provided logotype, as we are too early in the init
stage here to use the ATA stuff for loading!

The BMP file loading code is still left here for educational purposes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@942 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 14:01:05 +00:00
Felix Arends
434c4c5725 included string.h for strlen function and sprintf.h for snprintf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@862 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 20:27:40 +00:00
Daniel Stenberg
97dcb445e4 now uses the internal image/bitmap/icon called rockbox112x37 if there's no
available bitmap using the appropriate file name!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@857 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 12:32:00 +00:00
Björn Stenberg
aa9776404f Show boot screen double height on new players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@852 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 09:56:05 +00:00
Robert Hak
65379df445 credits and version merged
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@844 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 08:12:29 +00:00
Robert Hak
c3f95cdd75 cleaner version of the version and splash merge
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@839 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 07:13:08 +00:00
Robert Hak
6ae63b78e2 merged the splash screen and version info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@838 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 07:04:13 +00:00
Robert Hak
6f9e35df28 fixed the display time for the splash screen on menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@830 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 19:14:44 +00:00
Robert Hak
bca0ca0be7 didn't commit this. allows for delay display of splash screen from menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@829 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 16:54:48 +00:00
Daniel Stenberg
2426025bbf fixed show_logo()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@817 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 09:49:54 +00:00
Robert Hak
c501ac7be2 corrected the curson not being drawn for the recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@814 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 08:06:42 +00:00
Daniel Stenberg
b169804437 rearranged to prevent compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@812 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:59:47 +00:00
Daniel Stenberg
1b06c8f868 #include "bmp.h" moved into the conditional include for BITMAP displays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@806 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:32:06 +00:00
Felix Arends
ebbbe4b863 included sprintf.h for snprintf definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@803 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 16:38:19 +00:00
Björn Stenberg
d2a90d2d32 Version waits for key press instead of 1s sleep
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@788 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 10:57:29 +00:00
Björn Stenberg
220f69c24e Added version display to menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@787 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 10:55:49 +00:00
Björn Stenberg
6c890966a4 Show splash during init, no delay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@781 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 09:12:21 +00:00
Björn Stenberg
856a13a2d2 Adapted to modified button_get() call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@760 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 12:10:12 +00:00
Björn Stenberg
faf157f208 Added sound menu, adapted to new menu API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@709 a1c6a512-1295-4272-9138-f99709370657
2002-05-26 17:11:02 +00:00
Björn Stenberg
63882eae82 Added 1s timeout to splash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@650 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 15:14:15 +00:00
Björn Stenberg
ab2649fbef app.c removed, main_menu.c introduced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@645 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 14:35:18 +00:00