diff options
Diffstat (limited to 'src/widget.cpp')
-rw-r--r-- | src/widget.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/widget.cpp b/src/widget.cpp index 3b1cc8d21..8d564ac8f 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -235,6 +235,13 @@ void DrawWindowWidgets(const Window *w) goto draw_default; } + case WWT_TEXT: { + StringID str = wi->data; + + if (str != STR_NULL) DrawStringTruncated(r.left, r.top, str, wi->color, r.right - r.left); + break; + } + case WWT_INSET: { StringID str = wi->data; DrawFrameRect(r.left, r.top, r.right, r.bottom, wi->color, FR_LOWERED | FR_DARKENED); |