Skip to content

Commit

Permalink
NWN: Add colors to the text
Browse files Browse the repository at this point in the history
The color might be different from the default one.
  • Loading branch information
Supermanu authored and DrMcCoy committed Dec 8, 2013
1 parent 2c01212 commit b41f6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engines/nwn/gui/widgets/tooltip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void Tooltip::addLine(const Common::UString &text, float r, float g, float b, fl
_lines.back().b = b;
_lines.back().a = a;
_lines.back().line = *l;
_lines.back().text = new Graphics::Aurora::Text(FontMan.get(getFontName()), *l);
_lines.back().text = new Graphics::Aurora::Text(FontMan.get(getFontName()), *l, r, g, b, a);
_lines.back().text->setTag("Tooltip#Text");
}

Expand Down

0 comments on commit b41f6df

Please sign in to comment.