static void draw_background (view_t *view, ply_pixel_buffer_t *pixel_buffer, int x, int y, int width, int height) { ply_boot_splash_plugin_t *plugin; ply_rectangle_t area; plugin = view->plugin; area.x = x; area.y = y; area.width = width; area.height = height; if (plugin->background_start_color != plugin->background_end_color) ply_pixel_buffer_fill_with_gradient (pixel_buffer, &area, plugin->background_start_color, plugin->background_end_color); else ply_pixel_buffer_fill_with_hex_color (pixel_buffer, &area, plugin->background_start_color); }
static void draw_background (view_t *view, ply_pixel_buffer_t *pixel_buffer, int x, int y, int width, int height) { ply_rectangle_t area; area.x = x; area.y = y; area.width = width; area.height = height; ply_pixel_buffer_fill_with_gradient (pixel_buffer, &area, PLYMOUTH_BACKGROUND_START_COLOR, PLYMOUTH_BACKGROUND_END_COLOR); }