mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
DIRECTOR: Field text is always black in Director
This commit is contained in:
parent
a64462a60f
commit
0c0ea1c778
@ -889,7 +889,7 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo
|
||||
if (sprite->_editable) {
|
||||
if (!textCast->_widget) {
|
||||
warning("Creating MacEditableText with '%s'", toPrintable(textCast->_ftext).c_str());
|
||||
textCast->_widget = new Graphics::MacEditableText(score->_window, x, y, width, height, g_director->_wm, textCast->_ftext, new Graphics::MacFont(), sprite->_foreColor, sprite->_backColor, width);
|
||||
textCast->_widget = new Graphics::MacEditableText(score->_window, x, y, width, height, g_director->_wm, textCast->_ftext, new Graphics::MacFont(), 0, 255, width);
|
||||
warning("Finished creating MacEditableText");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user