summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/tab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-07 20:19:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-07 20:19:33 +0300
commitea5da3bc3337b3125b780f7c24adbc1a73b5765b (patch)
tree958524afab76a2c69255e040874388983d988868 /src/gui/widgets/tabs/tab.h
parent1f4869cda453bc4e6df287a71dc061172db1e2ee (diff)
downloadmanaplus-ea5da3bc3337b3125b780f7c24adbc1a73b5765b.tar.gz
manaplus-ea5da3bc3337b3125b780f7c24adbc1a73b5765b.tar.bz2
manaplus-ea5da3bc3337b3125b780f7c24adbc1a73b5765b.tar.xz
manaplus-ea5da3bc3337b3125b780f7c24adbc1a73b5765b.zip
Fix tabs color update.
Diffstat (limited to 'src/gui/widgets/tabs/tab.h')
-rw-r--r--src/gui/widgets/tabs/tab.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/tab.h b/src/gui/widgets/tabs/tab.h
index f4644df08..1bc225ee1 100644
--- a/src/gui/widgets/tabs/tab.h
+++ b/src/gui/widgets/tabs/tab.h
@@ -121,7 +121,8 @@ class Tab notfinal : public BasicContainer,
{
mTabColor = color1;
mTabOutlineColor = color2;
- }
+ mRedraw = true;
+ }
/**
* Set the highlighted color for the tab's text.
@@ -131,6 +132,7 @@ class Tab notfinal : public BasicContainer,
{
mTabHighlightedColor = color1;
mTabHighlightedOutlineColor = color2;
+ mRedraw = true;
}
/**
@@ -141,6 +143,7 @@ class Tab notfinal : public BasicContainer,
{
mTabSelectedColor = color1;
mTabSelectedOutlineColor = color2;
+ mRedraw = true;
}
/**
@@ -151,6 +154,7 @@ class Tab notfinal : public BasicContainer,
{
mFlashColor = color1;
mFlashOutlineColor = color2;
+ mRedraw = true;
}
/**
@@ -161,6 +165,7 @@ class Tab notfinal : public BasicContainer,
{
mPlayerFlashColor = color1;
mPlayerFlashOutlineColor = color2;
+ mRedraw = true;
}
/**