mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
- Fix some reds by implementing lcd_get_dpi().
- Use the list item centering capabilities in the plugin lib - Bump plugin ABI for the changed viewport struct (sort the API too). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30775 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
55f078f4b5
commit
a13e9644b5
5 changed files with 49 additions and 67 deletions
|
|
@ -556,8 +556,12 @@ extern void lcd_bitmap_transparent(const fb_data *src, int x, int y,
|
|||
* once needed
|
||||
*/
|
||||
|
||||
#if defined(LCD_DPI) && (LCD_DPI > 0)
|
||||
/* returns the pixel density of the display */
|
||||
static inline int lcd_get_dpi(void) { return LCD_DPI; }
|
||||
#else
|
||||
extern int lcd_get_dpi(void);
|
||||
#endif
|
||||
#endif /* LCD_DPI */
|
||||
#endif /* HAVE_TOUCHSCREEN */
|
||||
|
||||
#endif /* __LCD_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue