Commit graph

63 commits

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