std::vector<int> border_values;
std::vector<BorderOption> border_options;
- if (!splash_data.background_image.empty() &&
+ if (!splash_data.background_images.empty() &&
ParseImageBorder(
splash_data.image_border, &border_values, &border_options)) {
const std::string& background_image_path =
- splash_data.background_image.front();
+ splash_data.background_images.front().first;
background_image_ = elm_image_add(background_);
evas_object_image_file_set(background_image_,
image_ = elm_image_add(background_);
if (!image_) return;
- const std::string& image_path = splash_data.image.front();
+ if (splash_data.images.empty()) return;
+
+ const std::string& image_path = splash_data.images.front().first;
elm_image_file_set(image_, (app_path + image_path).c_str(), NULL);
evas_object_resize(image_, bound.first, bound.second);
evas_object_show(image_);