summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-13 01:31:22 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-13 01:31:22 +0300
commitd8aaca79e608c98dfa82f145b032ca94ce473138 (patch)
tree576e6b2368869693de33837dd5b51dd2b3a5e780 /src
parent49549db4517dd7f1ec1d66626578296f5524517b (diff)
downloadmv-d8aaca79e608c98dfa82f145b032ca94ce473138.tar.gz
mv-d8aaca79e608c98dfa82f145b032ca94ce473138.tar.bz2
mv-d8aaca79e608c98dfa82f145b032ca94ce473138.tar.xz
mv-d8aaca79e608c98dfa82f145b032ca94ce473138.zip
Change shortcuts windows theming.
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/dropshortcutcontainer.cpp3
-rw-r--r--src/gui/widgets/emoteshortcutcontainer.cpp3
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp3
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp3
4 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/widgets/dropshortcutcontainer.cpp b/src/gui/widgets/dropshortcutcontainer.cpp
index af3b78a31..d6d31871b 100644
--- a/src/gui/widgets/dropshortcutcontainer.cpp
+++ b/src/gui/widgets/dropshortcutcontainer.cpp
@@ -55,7 +55,8 @@ DropShortcutContainer::DropShortcutContainer():
mItemPopup = new ItemPopup;
- mBackgroundImg = Theme::getImageFromTheme("item_shortcut_bgr.png");
+ mBackgroundImg = Theme::getImageFromThemeXml(
+ "item_shortcut_background.xml");
if (dropShortcut)
mMaxItems = dropShortcut->getItemCount();
else
diff --git a/src/gui/widgets/emoteshortcutcontainer.cpp b/src/gui/widgets/emoteshortcutcontainer.cpp
index aaf22c066..79a50bf40 100644
--- a/src/gui/widgets/emoteshortcutcontainer.cpp
+++ b/src/gui/widgets/emoteshortcutcontainer.cpp
@@ -56,7 +56,8 @@ EmoteShortcutContainer::EmoteShortcutContainer():
addMouseListener(this);
addWidgetListener(this);
- mBackgroundImg = Theme::getImageFromTheme("item_shortcut_bgr.png");
+ mBackgroundImg = Theme::getImageFromThemeXml(
+ "item_shortcut_background.xml");
if (mBackgroundImg)
mBackgroundImg->setAlpha(Client::getGuiAlpha());
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index 0585f59cd..714435d21 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -62,7 +62,8 @@ ItemShortcutContainer::ItemShortcutContainer(unsigned number):
mItemPopup = new ItemPopup;
mSpellPopup = new SpellPopup;
- mBackgroundImg = Theme::getImageFromTheme("item_shortcut_bgr.png");
+ mBackgroundImg = Theme::getImageFromThemeXml(
+ "item_shortcut_background.xml");
if (itemShortcut[mNumber])
mMaxItems = itemShortcut[mNumber]->getItemCount();
else
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index 7818dc8dc..c3e3b1495 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -63,7 +63,8 @@ SpellShortcutContainer::SpellShortcutContainer(unsigned number):
mSpellPopup = new SpellPopup;
- mBackgroundImg = Theme::getImageFromTheme("item_shortcut_bgr.png");
+ mBackgroundImg = Theme::getImageFromThemeXml(
+ "item_shortcut_background.xml");
if (spellShortcut)
mMaxItems = spellShortcut->getSpellsCount();
else