changed the way listbox draw selected items; list box now has a frame & different spacing; clicking outside any widget doesn't cause the focus widget to loose focus; other tweaks

svn-id: r4906
This commit is contained in:
Max Horn 2002-09-08 16:00:13 +00:00
parent 27bfe32f16
commit c0df1c2df2
7 changed files with 68 additions and 24 deletions

View file

@ -37,7 +37,7 @@ void Widget::draw()
{
NewGui *gui = _boss->getGui();
if (_flags & WIDGET_INVISIBLE)
if (!isVisible() || !_boss->isVisible())
return;
// Account for our relative position in the dialog