forked from len0rd/rockbox
Fix STRIDE macro for multiscreen and add stride support for picture lib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f6025186fd
commit
25123570c7
28 changed files with 194 additions and 112 deletions
|
@ -62,7 +62,7 @@ char buf[255];
|
|||
/* These parameters define the piece image dimensions, Stride is the total width
|
||||
* of the bitmap.
|
||||
*/
|
||||
#define ICON_STRIDE STRIDE(BMPWIDTH_superdom_boarditems, BMPHEIGHT_superdom_boarditems)
|
||||
#define ICON_STRIDE STRIDE(SCREEN_MAIN, BMPWIDTH_superdom_boarditems, BMPHEIGHT_superdom_boarditems)
|
||||
#define ICON_HEIGHT (BMPHEIGHT_superdom_boarditems/6)
|
||||
#define ICON_WIDTH (BMPWIDTH_superdom_boarditems/2)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue