Commit graph

349 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
Daniel Stenberg
35d6da6b19 language.c stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2391 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:43:52 +00:00
Daniel Stenberg
e998b895f9 added the language.c apps file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2390 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:41:41 +00:00
Björn Stenberg
d4e2ee56ef Fixed win32 build problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2371 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:23:13 +00:00
Björn Stenberg
86f9a8410b Split lcd driver into lcd-player and lcd-recorder. Player simulator still needs fixing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2370 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:17:52 +00:00
Björn Stenberg
bed3d3f7e0 New full ISO-8859-1 system font.
Added font loading from dir browser.
Changed default font location to /.rockbox/default.fnt.
Code-policed font code.
Removed old font tools.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2347 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 08:07:51 +00:00
Björn Stenberg
3c28705da5 Win32 lang build fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2328 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 15:06:45 +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
Björn Stenberg
808519ed69 Fix reds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2319 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 21:54:47 +00:00
Daniel Stenberg
f2f4d794f6 chartables.c is gone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2286 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:43:28 +00:00
Daniel Stenberg
c455e7bd53 minor corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2279 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:06:26 +00:00
Robert Hak
11b67af481 Bill Napier's patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2278 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 21:33:33 +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
Robert Hak
2625ebb202 added snake ref
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2262 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 21:21:29 +00:00
Robert Hak
c633d42212 snakes reference added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2261 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 20:56:31 +00:00
Daniel Stenberg
c25e97f161 lcd_update_rect() added. *please* verify this someone who can actually
run this code. It can still be improved a bit.

Also, I code-policed the source somewhat, this is crowded with C++ comments
and weirdo indents.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2256 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 07:19:40 +00:00
Daniel Stenberg
cd864070e4 added lcd_update_rect() simulator-style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2255 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 07:07:44 +00:00
Daniel Stenberg
14b91cca74 clean off heaps of unused code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2238 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 13:28:29 +00:00
Robert Hak
7d4c693281 fixed the sim makefile, needed to remove boxes.c and blank.c calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2222 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 07:36:24 +00:00
Björn Stenberg
84d4812492 Fixed red win32 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2217 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 23:05:34 +00:00
Justin Heiner
ba349223bf wps-display.c
* Made 'Remaining Time' count correctly when doing FF/REW.
    * Fixed bug in player_progressbar that caused Illegal Instruction
      if the FF/Play went past the end of the song.
wps.c
    * Removed 'if(lastbutton!=BUTTON_LEFT)' from track changes.
      It was causing tracks to not change unless button was pressed
      numerous times quickly :-)
    * For player, changed BUTTON_STOP to BUTTON_STOP | BUTTON_REL.
      Since stop is also the key to turn the device off, we don't want
      it to go to the dir browser unless the stop button is released.
settings_menu.c
    * Changed the minimum disk spindown time to 3 seconds, due to
      reported problems if set below that.
makefile.vc6
    * Fixed the VC makefile to work with both Recorder & Player again.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2159 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 01:51:09 +00:00
Björn Stenberg
62794583ef Updated win32 Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2150 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 10:13:46 +00:00
Linus Nielsen Feltzing
3d641c92a5 Added lcd_putc()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2148 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:39:52 +00:00
Linus Nielsen Feltzing
7f22b84793 Now handles both player/ and recorder/ directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2146 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 08:30:15 +00:00
Linus Nielsen Feltzing
644e4ce792 Added lcd_define_pattern()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2145 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 08:29:03 +00:00
Björn Stenberg
6131a3cc0d Moved display portions of wps.c into new file: wps-display.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2079 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 11:04:41 +00:00
Björn Stenberg
1f4e4d339c Reverted back to monospace again. Let's not rock the boat until people can change it themselves (i.e. loadable fonts).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2032 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:54:41 +00:00
Björn Stenberg
af406a1f6d Made LCD_PROPFONTS default on recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2016 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 22:49:13 +00:00
Björn Stenberg
457b8a0a67 Added configurable disk spindown. The disk will also now not spin down while you are running around in the dir browser or pressing buttons in the wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1987 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 13:21:14 +00:00
Björn Stenberg
354d3d9527 Removed beep-on-keypress
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1979 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 09:41:54 +00:00
Björn Stenberg
e67958ba86 Adapted wormlet to code standard and added it to simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1978 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 09:21:59 +00:00
Daniel Stenberg
7c3dd40ed2 menu fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1954 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 13:01:36 +00:00
Felix Arends
d841ca9797 removed backlight-win32.c as it is not needed any more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1928 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 17:59:20 +00:00
Felix Arends
b1819f64de this makefile works at least for the recorder, we will have to talk about a recorder fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1927 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 17:58:24 +00:00
Björn Stenberg
b1d5124434 simulate_usb ignores key releases
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1898 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 18:11:06 +00:00
Daniel Stenberg
42564a1b99 USB display for simulator purpose
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1892 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:24:42 +00:00
Björn Stenberg
9af59727b3 Added button release events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1885 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 14:13:53 +00:00
Daniel Stenberg
de87a894dc darned compiler couldn't see I made a mistake so I had to correct it myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1878 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:29:54 +00:00
Daniel Stenberg
e33b439216 matsl's simulator icons added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1877 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:24:51 +00:00
Mats Lidell
da11a22e3c Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1862 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:52:16 +00:00
Mats Lidell
6866cef936 Added icons for charcell simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1857 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:43:31 +00:00
Mats Lidell
89d2285e00 Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1856 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:37:34 +00:00
Robert Hak
52e0e21fde don't package hacking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1853 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:32:34 +00:00
Robert Hak
9d317c0d1e correction of what file to read
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1852 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:32:00 +00:00
Robert Hak
52407c3e4e added reference to docs dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1845 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:20:46 +00:00
Björn Stenberg
6224cdb166 Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:41:47 +00:00
Björn Stenberg
c9d98ca927 Added delayed write for settings. Doesn't write until someone else accesses the disk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1762 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:42:37 +00:00
Daniel Stenberg
5e38c071cb added tags target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1754 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 10:04:53 +00:00
Björn Stenberg
3f88797671 Corrective brain surgery
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1721 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 17:42:51 +00:00