summaryrefslogtreecommitdiff
path: root/src/gui/widgets/slider.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-28 13:27:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-28 13:27:26 +0300
commit8f018529676006ed744138a929fcc621694d6d75 (patch)
tree03ef706a48100c1bb42a4611add5601844d2cbf5 /src/gui/widgets/slider.cpp
parentad43ff0ddf9b0484e00db7b7f0930bad975bf21a (diff)
downloadmanaplus-8f018529676006ed744138a929fcc621694d6d75.tar.gz
manaplus-8f018529676006ed744138a929fcc621694d6d75.tar.bz2
manaplus-8f018529676006ed744138a929fcc621694d6d75.tar.xz
manaplus-8f018529676006ed744138a929fcc621694d6d75.zip
In renderers replace ImagePattern in methods into Pattern.
Diffstat (limited to 'src/gui/widgets/slider.cpp')
-rw-r--r--src/gui/widgets/slider.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/slider.cpp b/src/gui/widgets/slider.cpp
index 039af9743..e68482821 100644
--- a/src/gui/widgets/slider.cpp
+++ b/src/gui/widgets/slider.cpp
@@ -156,7 +156,7 @@ void Slider::draw(gcn::Graphics *graphics)
if (buttons[0].grid[HMID])
{
const Image *const hMid = buttons[0].grid[HMID];
- g->calcImagePattern(mVertexes, hMid, x, y,
+ g->calcPattern(mVertexes, hMid, x, y,
w, hMid->getHeight());
}
@@ -184,7 +184,7 @@ void Slider::draw(gcn::Graphics *graphics)
if (buttons[1].grid[HMID])
{
const Image *const hMid = buttons[1].grid[HMID];
- g->calcImagePattern(mVertexes, hMid, x, y,
+ g->calcPattern(mVertexes, hMid, x, y,
w, hMid->getHeight());
}
@@ -217,7 +217,7 @@ void Slider::draw(gcn::Graphics *graphics)
if (buttons[0].grid[HMID])
{
const Image *const hMid = buttons[0].grid[HMID];
- g->drawImagePattern(hMid, x, y, w, hMid->getHeight());
+ g->drawPattern(hMid, x, y, w, hMid->getHeight());
}
x += w;
@@ -243,7 +243,7 @@ void Slider::draw(gcn::Graphics *graphics)
if (buttons[1].grid[HMID])
{
const Image *const hMid = buttons[1].grid[HMID];
- g->drawImagePattern(hMid, x, y, w, hMid->getHeight());
+ g->drawPattern(hMid, x, y, w, hMid->getHeight());
}
x += w;