(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
This commit is contained in:
@@ -45,7 +45,6 @@ enum SmallMapWindowWidgets {
|
||||
SM_WIDGET_OWNERS,
|
||||
SM_WIDGET_CENTERMAP,
|
||||
SM_WIDGET_TOGGLETOWNNAME,
|
||||
SM_WIDGET_BOTTOMPANEL,
|
||||
SM_WIDGET_SELECTINDUSTRIES,
|
||||
SM_WIDGET_ENABLEINDUSTRIES,
|
||||
SM_WIDGET_DISABLEINDUSTRIES,
|
||||
@@ -84,7 +83,7 @@ static const NWidgetPart _nested_smallmap_widgets[] = {
|
||||
EndContainer(),
|
||||
/* Bottom button row and resize box. */
|
||||
NWidget(NWID_HORIZONTAL),
|
||||
NWidget(WWT_PANEL, COLOUR_BROWN, SM_WIDGET_BOTTOMPANEL),
|
||||
NWidget(WWT_PANEL, COLOUR_BROWN),
|
||||
NWidget(NWID_HORIZONTAL),
|
||||
NWidget(NWID_SELECTION, INVALID_COLOUR, SM_WIDGET_SELECTINDUSTRIES),
|
||||
NWidget(NWID_HORIZONTAL, NC_EQUALSIZE),
|
||||
|
Reference in New Issue
Block a user