Linus Nielsen Feltzing
6ffd8043cb
Removed some unused menu code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12335 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 10:40:59 +00:00
Jonathan Gordon
1ea4f0d4eb
fix menu exiting bug I introduced in the last commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12325 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 00:55:52 +00:00
Jonathan Gordon
f8e08f0f5e
Remove the menu title on the player.
...
Fix the enu callbacks so ACTION_EXIT_MENUITEM is called when exiting a
menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12324 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 23:27:57 +00:00
Jonathan Gordon
5599d6806d
Icons in the menus. Thanks midkay for them.
...
Any menus which dont yet show them are not converted to the new system.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12300 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 06:58:30 +00:00
Jonathan Gordon
24c8da0b56
remove put_cursorxy() which is not used
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12296 a1c6a512-1295-4272-9138-f99709370657
2007-02-13 09:13:47 +00:00
Jonathan Gordon
fb62831faa
* Move playback menu to the new sysetm
...
(http://forums.rockbox.org/index.php?topic=8703.0 if I broke any of
those settings accidently).
* Add set_int_ex() which is the same as set_int() but adds a param which
is a callback that returns the voice ID to talk for the selected value
* Change the "pause on headphone unplug" to use meaningful strings in
the config instead of numbers, this setting will be reset.
* saves ~500bytes on the rec build :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12285 a1c6a512-1295-4272-9138-f99709370657
2007-02-12 14:22:35 +00:00
Jonathan Gordon
9bb864b82a
unstatic the string buffer, fix the recording setting lang, change the
...
menu title... aparently im the only one who thinks it should match the
logo...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12233 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 11:12:22 +00:00
Jonathan Gordon
217ad16850
OK, this was crazy overkill... the worst setting current
...
(default_codepage) will _just_ fit in 128, so 256 gives plenty of
headroom
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12232 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 10:38:28 +00:00
Jonathan Gordon
fe3cfcc9b2
Convert the sound menu to the new system
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12230 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 10:28:42 +00:00
Jonathan Gordon
4718a1e752
beginning of the new menu system. This commit shouldnt break anything,
...
but comming ones might.. report bugs in
http://forums.rockbox.org/index.php?topic=8703.0 and more info at
http://www.rockbox.org/twiki/bin/view/Main/SettingsRecode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12227 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 04:33:41 +00:00
Jens Arnold
314f3b58f1
More static'ing, and a few fixes resulting from that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11737 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 22:22:21 +00:00
Jonathan Gordon
6a1161b634
dont allow the volume setting to wrap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11445 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 10:11:51 +00:00
Peter D'Hoye
a3d686f961
Somebody found a way to nest 6 menus deep. Congratulations. Fixes FS#5970
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10962 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 19:51:46 +00:00
Linus Nielsen Feltzing
224c0a13eb
Finally, the new button action system is here, thanks to Jonathan Gordon. Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 12:27:07 +00:00
Shachar Liberman
f53779d2f4
Committing FS#5182 - One button hold for Horizontal screen scrolling.
...
=>hold RIGHT or LEFT button on a GUI based list to scroll horizontally.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10545 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 13:40:49 +00:00
Kevin Ferrare
f77ac7a6a7
added support remote support for the id3 infos screen (had to slightly change the list engine to use it here as well), corrected a mistake in the french translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10175 a1c6a512-1295-4272-9138-f99709370657
2006-07-02 12:28:27 +00:00
Daniel Stenberg
f981ea93fb
kill gcc4 warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 22:44:42 +00:00
Kevin Ferrare
15046f99b3
show/hide icons now works properly in playlist viewer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7911 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 17:23:49 +00:00
Kevin Ferrare
f7c97522a8
Fixed the icon for unknown file types on the archos Player, and the bug when removing the last file on the screen in filetree, added some code for playlists integration with multi-screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7800 a1c6a512-1295-4272-9138-f99709370657
2005-11-09 01:17:57 +00:00
Kevin Ferrare
cbbdc95d9c
Fixed a bug in the multi-screen menus, the statusbar wasn't refreshed when coming from some custom wps that erases it ; Initial support for options in the menus
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7747 a1c6a512-1295-4272-9138-f99709370657
2005-11-04 07:18:36 +00:00
Kevin Ferrare
c43822d102
Fixed a bug whith the multi-screen menus : when entering / leaving a menu, the selected item was not voiced
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7739 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 11:56:21 +00:00
Kevin Ferrare
b83dc3861e
Corrected a small bug about status bar not refreshing the clock in menus on archos, added some H1x0 remote key bindings (thanks Stephan Wezel for the patch ! )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7698 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 18:38:48 +00:00
Kevin Ferrare
162ab7baeb
A small visual bug fixed with menus when in some cases the status bar was not redrawn
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7695 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 23:54:12 +00:00
Kevin Ferrare
2b3695f538
oops a little warning in menu.c, fixed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7694 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 22:41:29 +00:00
Kevin Ferrare
db8415c99e
Partial menus support on remote (only browsing is working, changing option isn't), corrected a bug in gui_list about scrollbar beeing displayed sometimes when it musn't
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7693 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 22:34:51 +00:00
Jens Arnold
1a4083d828
Adjust menu scrollbar height to the actual text height. Idea taken from patch #1306243 by Stephan Wezel.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7598 a1c6a512-1295-4272-9138-f99709370657
2005-10-08 07:38:44 +00:00
Linus Nielsen Feltzing
6c2af7c2aa
On popular demand, the arrow cursor is reintroduced
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7438 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 08:04:37 +00:00
Linus Nielsen Feltzing
f43216ff0b
Removed the line selector option, it is now always an inverse bar (except for the Player/Studio of course)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7423 a1c6a512-1295-4272-9138-f99709370657
2005-08-30 11:10:08 +00:00
Jens Arnold
6c00e38665
Icon code cleanup, optimisation & policeing. Removed unused icons. Applied uniform icon naming scheme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7396 a1c6a512-1295-4272-9138-f99709370657
2005-08-24 00:09:42 +00:00
Jens Arnold
f894a4c269
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Jens Arnold
7e11acbce9
Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Jens Arnold
04daef17a1
First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Jens Arnold
da2b45f2e5
When exiting the context menu with the menu button, call the main menu. Mainly useful on Ondio which can't have both main menu and context menu bound in wps. Holding MODE on Ondio will now bring up the wps context menu instead of the main menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6840 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 10:11:10 +00:00
Marcoen Hirschberg
fb369b063b
Make remote-control code more complete
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6696 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 20:18:37 +00:00
Marcoen Hirschberg
c19e0f0d02
Add remote control support to tree and menu. Move defines from wps.c to wps.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6692 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 16:10:17 +00:00
Marcoen Hirschberg
7527bfb4d6
center-scrolling: start scrolling when the cursor is at 2/3 of the screen. There is still a bug when the fontsize changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6678 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 17:35:30 +00:00
Jens Arnold
fa924f1b05
Don't swallow button events. It's unnecessary and maybe even confusing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6486 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 17:38:07 +00:00
Jens Arnold
cef15c6efc
FM preset menu: Set cursor to the current preset on enter. Added a generic function to the menu system which allows for setting the position.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6264 a1c6a512-1295-4272-9138-f99709370657
2005-04-10 17:36:55 +00:00
Jens Arnold
5265edda08
Removed remnants of buttonbar code for units without recorder keypad.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5563 a1c6a512-1295-4272-9138-f99709370657
2005-01-13 19:37:34 +00:00
Linus Nielsen Feltzing
ae75ea8858
Patch #1016041 by Eric Lassauge
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5561 a1c6a512-1295-4272-9138-f99709370657
2005-01-13 10:48:44 +00:00
Linus Nielsen Feltzing
e88f8b1ffe
Deleting the last menu item no longer gives a negative cursor position
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5307 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 09:07:08 +00:00
Jens Arnold
1f0908dfaf
Removed button bar for devices with no F buttons (Ondio)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5237 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 20:54:15 +00:00
Björn Stenberg
d6b47ece14
Don't exit menus on repeat.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5167 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 06:35:54 +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
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
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
Jörg Hohensohn
b1403ee024
New way of defining menus and options allows to declare them static const, which saves the code to runtime-assemble them. Rockbox just got 6 KB smaller.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4931 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 23:01:20 +00:00
Linus Nielsen Feltzing
82586a69e6
Added menu_insert()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4826 a1c6a512-1295-4272-9138-f99709370657
2004-07-05 14:26:58 +00:00
Linus Nielsen Feltzing
49ea16e2eb
Fixed the bug that caused the menu cursor to start at the first line every time
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4500 a1c6a512-1295-4272-9138-f99709370657
2004-04-14 06:04:38 +00:00
Linus Nielsen Feltzing
361dd29cad
Cleaned up the menu drawing code, and fixed a bug where the menu entry wasn't spoken if the menu scrolled
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4481 a1c6a512-1295-4272-9138-f99709370657
2004-04-09 17:47:18 +00:00