diff options
-rw-r--r-- | apps/plugins/pictureflow.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/pictureflow.c b/apps/plugins/pictureflow.c index 2dbbb81d85..665ef9576f 100644 --- a/apps/plugins/pictureflow.c +++ b/apps/plugins/pictureflow.c | |||
@@ -106,8 +106,8 @@ typedef fb_data pix_t; | |||
106 | #define REFLECT_TOP (LCD_HEIGHT * 2 / 3) | 106 | #define REFLECT_TOP (LCD_HEIGHT * 2 / 3) |
107 | #define REFLECT_HEIGHT (LCD_HEIGHT - REFLECT_TOP) | 107 | #define REFLECT_HEIGHT (LCD_HEIGHT - REFLECT_TOP) |
108 | #define DISPLAY_HEIGHT REFLECT_TOP | 108 | #define DISPLAY_HEIGHT REFLECT_TOP |
109 | #define DISPLAY_WIDTH (LCD_HEIGHT * LCD_PIXEL_ASPECT_HEIGHT / \ | 109 | #define DISPLAY_WIDTH MAX((LCD_HEIGHT * LCD_PIXEL_ASPECT_HEIGHT / \ |
110 | LCD_PIXEL_ASPECT_WIDTH / 2) | 110 | LCD_PIXEL_ASPECT_WIDTH / 2), (LCD_WIDTH * 2 / 5)) |
111 | #define REFLECT_SC ((0x10000U * 3 + (REFLECT_HEIGHT * 5 - 1)) / \ | 111 | #define REFLECT_SC ((0x10000U * 3 + (REFLECT_HEIGHT * 5 - 1)) / \ |
112 | (REFLECT_HEIGHT * 5)) | 112 | (REFLECT_HEIGHT * 5)) |
113 | #define DISPLAY_OFFS ((LCD_HEIGHT / 2) - REFLECT_HEIGHT) | 113 | #define DISPLAY_OFFS ((LCD_HEIGHT / 2) - REFLECT_HEIGHT) |
@@ -205,14 +205,14 @@ static char* show_album_name_conf[] = | |||
205 | #define MAX_MARGIN 80 | 205 | #define MAX_MARGIN 80 |
206 | 206 | ||
207 | /* config values and their defaults */ | 207 | /* config values and their defaults */ |
208 | static int slide_spacing = (LCD_WIDTH - DISPLAY_WIDTH) / 8; | 208 | static int slide_spacing = DISPLAY_WIDTH / 4; |
209 | static int center_margin = (LCD_WIDTH - DISPLAY_WIDTH) / 16; | 209 | static int center_margin = (LCD_WIDTH - DISPLAY_WIDTH) / 12; |
210 | static int num_slides = 4; | 210 | static int num_slides = 4; |
211 | static int zoom = 100; | 211 | static int zoom = 100; |
212 | static bool show_fps = false; | 212 | static bool show_fps = false; |
213 | static bool resize = true; | 213 | static bool resize = true; |
214 | static int cache_version = 0; | 214 | static int cache_version = 0; |
215 | static int show_album_name = album_name_top; | 215 | static int show_album_name = (LCD_HEIGHT > 100) ? album_name_top : album_name_bottom; |
216 | 216 | ||
217 | static struct configdata config[] = | 217 | static struct configdata config[] = |
218 | { | 218 | { |