summaryrefslogtreecommitdiff
path: root/src/gui/beingpopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/beingpopup.cpp')
-rw-r--r--src/gui/beingpopup.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/beingpopup.cpp b/src/gui/beingpopup.cpp
index f7118d48c..865e29abd 100644
--- a/src/gui/beingpopup.cpp
+++ b/src/gui/beingpopup.cpp
@@ -55,14 +55,16 @@ BeingPopup::BeingPopup() :
// Being's party
mBeingParty->setPosition(getPadding(), fontHeight);
-
// Being's party
mBeingGuild->setPosition(getPadding(), 2 * fontHeight);
-
mBeingRank->setPosition(getPadding(), 3 * fontHeight);
-
mBeingComment->setPosition(getPadding(), 4 * fontHeight);
+ mBeingParty->setForegroundColor(Theme::getThemeColor(Theme::POPUP));
+ mBeingGuild->setForegroundColor(Theme::getThemeColor(Theme::POPUP));
+ mBeingRank->setForegroundColor(Theme::getThemeColor(Theme::POPUP));
+ mBeingComment->setForegroundColor(Theme::getThemeColor(Theme::POPUP));
+
add(mBeingName);
add(mBeingParty);
add(mBeingGuild);
@@ -110,7 +112,7 @@ void BeingPopup::show(const int x, const int y, Being *const b)
}
else
{
- mBeingName->setForegroundColor(Theme::getThemeColor(Theme::LABEL));
+ mBeingName->setForegroundColor(Theme::getThemeColor(Theme::POPUP));
}
mBeingName->adjustSize();