Index: src/apps/plugins/pictureflow/pictureflow.c =================================================================== --- src/apps/plugins/pictureflow/pictureflow.c (revision 26251) +++ src/apps/plugins/pictureflow/pictureflow.c (working copy) @@ -2253,8 +2252,10 @@ #ifdef HAVE_LCD_COLOR MYLCD(set_foreground)(G_PIX(c2+80-(c >> 9), c2+100-(c >> 9), c2+250-(c >> 8))); +#elseif BIT_DEPTH > 1 + MYLCD(set_foreground)(G_BRIGHT(c2+160-(c >> 8))); #else - MYLCD(set_foreground)(G_BRIGHT(c2+160-(c >> 8))); + MYLCD(set_foreground)(G_BRIGHT(255)); #endif MYLCD(hline)(0, LCD_WIDTH, r+y); if ( r > h/2 ) @@ -2317,7 +2318,7 @@ create_track_index(center_slide.slide_index); reset_track_list(); } - static int titletxt_w, titletxt_x, color, titletxt_h; + static int titletxt_w, titletxt_x, titletxt_h; titletxt_h = rb->screens[SCREEN_MAIN]->getcharheight(); int titletxt_y = track_list_y; @@ -2341,8 +2342,11 @@ MYLCD(putsxy)(titletxt_x,titletxt_y,get_track_name(track_i)); } else { - color = 250 - (abs(selected_track - track_i) * 200 / track_count); - MYLCD(set_foreground)(G_BRIGHT(color)); +#if LCD_DEPTH > 1 + MYLCD(set_foreground)(G_BRIGHT(250 - (abs(selected_track - track_i) * 200 / track_count))); +#else + MYLCD(set_foreground)(G_BRIGHT(255)); +#endif MYLCD(putsxy)(titletxt_x,titletxt_y,get_track_name(track_i)); } titletxt_y += titletxt_h;