summaryrefslogtreecommitdiff
path: root/apps/screen_access.c
AgeCommit message (Collapse)Author
2008-01-08Restore missing initialization of remote setfont()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16024 a1c6a512-1295-4272-9138-f99709370657
2008-01-08Add the viewport functions to the screens API, including a new getfont() ↵Dave Chapman
function to return the font used by the current viewport. A change to the screens API makes the plugin API incompatible, so we bump version and sort. Also commit the test_viewports plugin (not built by default). This is some more of FS#8385. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16022 a1c6a512-1295-4272-9138-f99709370657
2007-10-21Fixed warnings when logf is enabled.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15243 a1c6a512-1295-4272-9138-f99709370657
2007-10-15Remove the "invert scroll" code since it's not used anywhere anymore (and it ↵Antoine Cellerier
was broken on color targets with gradients anyway). Closes FS #7875. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15125 a1c6a512-1295-4272-9138-f99709370657
2007-09-27FS#7808 by Tom Ross, Ken Fazzone and me, with help from Antoine Cellerier.Nicolas Pennequin
Add two new line selector types: solid colour and gradient. Solid colour only uses the primary colour setting. The secondary colour setting is used for the gradient. Text colour for the selected item is also changeable. These new settings are a bit controversial so they may be removed later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14868 a1c6a512-1295-4272-9138-f99709370657
2007-09-18Simplify initing of the screens[] struct by using an initializer, also some ↵Nils Wallménius
reordering of the struct, and the required plugin api bump git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14743 a1c6a512-1295-4272-9138-f99709370657
2007-08-04Rewrote the clock plugin in a cleaner and more modular way so that it can ↵Kevin Ferrare
scale on remote screens. Use left-right keys to change the type of clock displayed (analogic, digital, binary) and up/downto change the look of the clock git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14174 a1c6a512-1295-4272-9138-f99709370657
2007-07-25Ported the archos player's jackpot plugin to bitmaps LCD (still need some ↵Kevin Ferrare
neat bitmaps), multi screen support for jackpot plugin and iriverify git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13978 a1c6a512-1295-4272-9138-f99709370657
2007-07-18Cleaned up the demistify plugin a litle bit, switched the key handling to ↵Kevin Ferrare
the action API git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13926 a1c6a512-1295-4272-9138-f99709370657
2007-04-24Small fix to prevent crashing when attempting to use non-mono bitmaps in a RWPS.Nicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13256 a1c6a512-1295-4272-9138-f99709370657
2007-04-16Temporary fix for remote bitmap functions in the multi-screen API. Fixed ↵Jens Arnold
icon.c to use this. Also fixed crash due to missing assignment of lcd_bitmap[_part] for monochrome main LCDs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13187 a1c6a512-1295-4272-9138-f99709370657
2007-04-03It's not necessary (anymore?) to map lcd_icon() to sim_lcd_icon() for the ↵Jens Arnold
simulator. * Removed a stray lcd_icon() call from usb handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13006 a1c6a512-1295-4272-9138-f99709370657
2007-04-02These remote LCD bitmap functions cannot be added without warning this way; ↵Jens Arnold
revert for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12997 a1c6a512-1295-4272-9138-f99709370657
2007-04-02Multi-screen API: * lcd_update() is now available for all LCDs. * Added ↵Jens Arnold
missing functions for non-monochrome remote LCDs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12995 a1c6a512-1295-4272-9138-f99709370657
2007-03-26First step of charcell LCD code rework: * Make it fully unicode aware so ↵Jens Arnold
that adding non-ISO8859-1 scripts becomes possible (limited by the LCD capabilities of course). * Make the API more similar to the bitmap LCD code's API. * Moved hardware dependent parts to target tree. * Simplified code. * Jumpscroll temporarily non-functional. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12916 a1c6a512-1295-4272-9138-f99709370657
2007-02-18Do the CONFIG_LED defineJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12383 a1c6a512-1295-4272-9138-f99709370657
2007-02-17Fix most (all?) CONFIG_LED warnings.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12370 a1c6a512-1295-4272-9138-f99709370657
2007-02-17build with -Wundef to make sure we have spelled the defines right in #if linesDaniel Stenberg
and have the proper includes included etc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657
2006-10-14Added a small interface to screens to translate colors into remote gray ↵Michael Sevakis
levels on the x5. Splash screens paint properly with light gray. Should be adapted to a more general approach in the future. A few trailing whitespace trimmings got into a couple files but that is fine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11218 a1c6a512-1295-4272-9138-f99709370657
2006-10-12Revert change to screen_access.c (adding the native-bitmap drawing function) ↵Dave Chapman
that caused warnings on the H3x0. We now draw the USB logo using the normal lcd_bitmap() and lcd_remote_bitmap() functions instead of the screens API, which doesn't handle the differing bitmaps types well. Remove apps/gui/logo.[ch] as they are now longer used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11208 a1c6a512-1295-4272-9138-f99709370657
2006-10-07Correctly initialise the screen->bitmap function for mono targets - prevents ↵Dave Chapman
crashes on those targets when inserting USB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11142 a1c6a512-1295-4272-9138-f99709370657
2006-10-06Move USB logo to an external (native-depth) bitmap.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11137 a1c6a512-1295-4272-9138-f99709370657
2006-07-01Added multi-screen API to the plugins API, made 'demystify plugin' use the ↵Kevin Ferrare
remote display as well git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10167 a1c6a512-1295-4272-9138-f99709370657
2006-05-22add seperate scroll options for remote. Patch by Alexander Spyridakis which ↵Marcoen Hirschberg
fixes bug #5348. Changes CONFIG_BLOCK_VERSION so save your settings.. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9974 a1c6a512-1295-4272-9138-f99709370657
2006-05-20Apply changes to scroll_delay, scroll_speed and scroll_step settings across ↵Dave Chapman
all screens when changing them in the settings menu. Fixes bug #5348. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9965 a1c6a512-1295-4272-9138-f99709370657
2006-04-04Fixed swapped screen access functions. Bug found by an anonymous person.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9496 a1c6a512-1295-4272-9138-f99709370657
2006-02-10add a bitmap progress bar option + add %P|filename.bmp| tag to the WPSBen Basha
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8648 a1c6a512-1295-4272-9138-f99709370657
2006-02-02patch #1422861 by Adam Boot - Fix splash() color problemsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8541 a1c6a512-1295-4272-9138-f99709370657
2006-01-28Work-in-progress transparent bitmaps with 255,0,255 as the transparent ↵Linus Nielsen Feltzing
color, not yet working on the H100 series git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8476 a1c6a512-1295-4272-9138-f99709370657
2006-01-28Color BMP supportLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8472 a1c6a512-1295-4272-9138-f99709370657
2006-01-22Horizontal screen scrolling part 3 (by Shachar Liberman)Brandon Low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8414 a1c6a512-1295-4272-9138-f99709370657
2006-01-22Horizontal scrolling patch by Shachar LibermanTomas Salfischberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8412 a1c6a512-1295-4272-9138-f99709370657
2005-11-24Fixed disk icon display in remote status bar on iriver. * Rolled back led.c ↵Jens Arnold
changes, introducing a changed #if condition only. Reduces code size on targets with real controllable LED. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8059 a1c6a512-1295-4272-9138-f99709370657
2005-11-22Added multi-screen support for quickscreen (mostly rewritten from scratch) ↵Kevin Ferrare
and USB screen ; just looking at the hour makes me think it could be buggy git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8039 a1c6a512-1295-4272-9138-f99709370657
2005-11-20removed old statusbar and buttonbar codeKevin Ferrare
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8004 a1c6a512-1295-4272-9138-f99709370657
2005-11-19Multi-screen API: Fixed macro checks for screen type/ depth, some cleanup. ↵Jens Arnold
The multi-screen code doesn't handle certain combinations (which aren't found in current targets). A combination of one charcell and one bitmap lcd will make it crash, and a combination of two bitmap LCDs with a depth > 1 but different pixel formats will show wrong colours/ shades on the remote. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7992 a1c6a512-1295-4272-9138-f99709370657
2005-11-17Remote WPS support (and some WPS bugfixes) by Stephan WezelChristi Scarborough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7934 a1c6a512-1295-4272-9138-f99709370657
2005-11-16Multi screen support for playlist viewer, some fixes in other gui filesKevin Ferrare
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7901 a1c6a512-1295-4272-9138-f99709370657
2005-11-09Replaced the common for(i = 0; i < NB_SCREENS; i++) loop with a macro that ↵Jens Arnold
just expands to i = 0; instead of the for() loop if NB_SCREENS == 1. Reduces binary size on platforms with only one screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7805 a1c6a512-1295-4272-9138-f99709370657
2005-11-09Fixed the icon for unknown file types on the archos Player, and the bug when ↵Kevin Ferrare
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-06Fixed the hang and weird behaviour with logf support enabled.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7762 a1c6a512-1295-4272-9138-f99709370657
2005-11-02no more warnings (I hope)Kevin Ferrare
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7721 a1c6a512-1295-4272-9138-f99709370657
2005-11-01Changed back the copyright's name in onplay.c (silly UTF-8, sorry Björn ! ↵Kevin Ferrare
), changed the internal multi-screen API a little bit, in a cleaner way git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7716 a1c6a512-1295-4272-9138-f99709370657
2005-10-30Partial menus support on remote (only browsing is working, changing option ↵Kevin Ferrare
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-30Corrected a bug on archos with buttonbar which was erased when filetree ↵Kevin Ferrare
refreshed (mistake introduced in 2005/10/29 commit; Changed some copyrights in the files (I hope this time will be the good one and the last one ! ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7684 a1c6a512-1295-4272-9138-f99709370657
2005-10-29Some changes to the remote code : some one lines function turned into macros ↵Kevin Ferrare
; changed pre-increment to post-increment since it's clearer that way ; added a data pointer to the list callback (global variables are baaaad) ; some more documentation of the API and minor cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7681 a1c6a512-1295-4272-9138-f99709370657
2005-10-28Changed some fn names, also corrected a bug with fonts and made the filetree ↵Kevin Ferrare
work like the original one (stop on reaching list limits when pressing button) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7679 a1c6a512-1295-4272-9138-f99709370657
2005-10-28Ooops, forgot to commit theseLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7668 a1c6a512-1295-4272-9138-f99709370657