summaryrefslogtreecommitdiff
path: root/apps/gui/splash.c (follow)
Commit message (Collapse)AuthorAge
* Added a small interface to screens to translate colors into remote gray ↵Michael Sevakis2006-10-14
| | | | | | 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
* More visual annoyance fixes. Backdrops no longer show though on centered ↵Michael Sevakis2006-10-13
| | | | | | splash screens. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11213 a1c6a512-1295-4272-9138-f99709370657
* Splash function: Fixed several bugs and problems: (1) Off-by-one bug caused ↵Jens Arnold2006-10-07
| | | | | | a buffer overflow with splash text longer than the screen. (2) Last line wasn't centered properly in the same situation. (3) On player, string display length must be calculated using utf8length() instead of strlen() since unicode support was added (old bug). (4) Handle splash texts with multiple spaces properly, including correct length calculation and stripping on wrap. (5) Don't reset fg/bg colours to default if not centering (old bug). * Increased buffer sizes to account for (a) larger screens (b) utf-8 (c) words wider than the screen. * More efficient code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11144 a1c6a512-1295-4272-9138-f99709370657
* Should fix yellow player buid. warning only occurred on the real target so ↵Shachar Liberman2006-10-03
| | | | | | I've missed it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11116 a1c6a512-1295-4272-9138-f99709370657
* Improved code for the splash function: spare some calculation, fix a bug for ↵Shachar Liberman2006-10-02
| | | | | | screens wider then 255 (ipod 5g), fix FS#5775 by displaying complete lines instead of word by word. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11113 a1c6a512-1295-4272-9138-f99709370657
* patch #1422861 by Adam Boot - Fix splash() color problemsLinus Nielsen Feltzing2006-02-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8541 a1c6a512-1295-4272-9138-f99709370657
* kill gcc4 warningsDaniel Stenberg2005-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
* removed old statusbar and buttonbar codeKevin Ferrare2005-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8004 a1c6a512-1295-4272-9138-f99709370657
* private function made staticDaniel Stenberg2005-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7953 a1c6a512-1295-4272-9138-f99709370657
* Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now ↵Jens Arnold2005-11-16
| | | | | | all LCDs with depth > 1 use the same datatype. Added macros for easy pixel value definition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7912 a1c6a512-1295-4272-9138-f99709370657
* Replaced the common for(i = 0; i < NB_SCREENS; i++) loop with a macro that ↵Jens Arnold2005-11-09
| | | | | | 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
* Corrected a bug on archos with buttonbar which was erased when filetree ↵Kevin Ferrare2005-10-30
| | | | | | 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
* Changed some fn names, also corrected a bug with fonts and made the filetree ↵Kevin Ferrare2005-10-28
| | | | | | 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
* Initial multi screen support by Kévin Ferrare (Patch #1318081)Linus Nielsen Feltzing2005-10-28
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7666 a1c6a512-1295-4272-9138-f99709370657