Mercurial > hg > openttd
changeset 12884:3c68578a8f63 draft
(svn r17376) -Fix: also draw the white "I've just opened" line for nested windows
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 02 Sep 2009 11:31:11 +0000 |
parents | 3cef4e937afd |
children | 79b60a486e6b |
files | src/widget.cpp |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/widget.cpp +++ b/src/widget.cpp @@ -582,6 +582,11 @@ { if (this->nested_root != NULL) { this->nested_root->Draw(this); + + if (this->flags4 & WF_WHITE_BORDER_MASK) { + DrawFrameRect(0, 0, this->width - 1, this->height - 1, COLOUR_WHITE, FR_BORDERONLY); + } + return; } @@ -695,7 +700,6 @@ if (this->flags4 & WF_WHITE_BORDER_MASK) { DrawFrameRect(0, 0, this->width - 1, this->height - 1, COLOUR_WHITE, FR_BORDERONLY); } - } /**