From 15309c3bb75a5d5d1b56171fe1bd91b96e1735b8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Dec 2013 20:03:20 +0300 Subject: allow fill complete part of progress bar with images. For this need add in progress bar theme file option fillImage and set it to 1. Then add progress bar xml file for image with name: name_fill.xml. Default is: progressbar_fill.xml New theme option: fillImage New theme file (default name): progressbar_fill.xml --- data/graphics/gui/CMakeLists.txt | 1 + data/graphics/gui/Makefile.am | 1 + data/graphics/gui/progressbar.xml | 2 ++ data/graphics/gui/progressbar_fill.xml | 19 +++++++++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 data/graphics/gui/progressbar_fill.xml (limited to 'data/graphics') diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt index 870b86b60..61acadfa0 100644 --- a/data/graphics/gui/CMakeLists.txt +++ b/data/graphics/gui/CMakeLists.txt @@ -51,6 +51,7 @@ SET (FILES popupbrowserbox.xml progress-indicator.png progressbar.xml + progressbar_fill.xml quests.xml radio.xml resize.xml diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am index 50ea62178..740f81613 100644 --- a/data/graphics/gui/Makefile.am +++ b/data/graphics/gui/Makefile.am @@ -54,6 +54,7 @@ gui_DATA = \ popupbrowserbox.xml \ progress-indicator.png \ progressbar.xml \ + progressbar_fill.xml \ quests.xml \ radio.xml \ resize.xml \ diff --git a/data/graphics/gui/progressbar.xml b/data/graphics/gui/progressbar.xml index 1be7e4100..c2b1f46e9 100644 --- a/data/graphics/gui/progressbar.xml +++ b/data/graphics/gui/progressbar.xml @@ -3,6 +3,8 @@