STARK: Fix linker issue under mingw.
This commit is contained in:
parent
685f5308ca
commit
4b604e2d2e
1 changed files with 5 additions and 1 deletions
|
@ -145,9 +145,13 @@ void DialogPanel::onRender() {
|
|||
void DialogPanel::updateSubtitleVisual() {
|
||||
delete _subtitleVisual;
|
||||
|
||||
uint32 color = _otherColor;
|
||||
if (_currentSpeech->characterIsApril())
|
||||
color = _aprilColor;
|
||||
|
||||
_subtitleVisual = new VisualText(_gfx);
|
||||
_subtitleVisual->setText(_currentSpeech->getPhrase());
|
||||
_subtitleVisual->setColor(_currentSpeech->characterIsApril() ? _aprilColor : _otherColor);
|
||||
_subtitleVisual->setColor(color);
|
||||
_subtitleVisual->setFont(FontProvider::kBigFont);
|
||||
_subtitleVisual->setTargetWidth(600);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue