Changeset - r876:691edcf3e2f9
[Not reviewed]
master
0 1 0
darkvater - 19 years ago 2005-01-03 22:04:34
darkvater@openttd.org
(svn r1357) -Fix: Disabled dropdown menu options are gray again (instead of blue)
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
widget.c
Show inline comments
 
@@ -443,7 +443,7 @@ static WindowNumber _dropdown_windownum;
 
static byte _dropdown_var1;
 
static byte _dropdown_var2;
 

	
 
static const Widget _dropdown_menu_widgets[] = {
 
static Widget _dropdown_menu_widgets[] = {
 
{     WWT_IMGBTN,   RESIZE_NONE,     0,     0, 0,     0, 0, 0x0, STR_NULL},
 
{   WIDGETS_END},
 
};
 
@@ -617,6 +617,8 @@ void ShowDropDownMenu(Window *w, const S
 
		}
 
	}
 

	
 
	_dropdown_menu_widgets[0].color = wi->color;
 

	
 
	w2 = AllocateWindow(
 
		w->left + wi[-1].left + 1,
 
		w->top + wi->bottom + 2,
0 comments (0 inline, 0 general)