Code: Select all
static const NWidgetPart _nested_main_status_widgets[] = {
NWidget(NWID_HORIZONTAL),
NWidget(WWT_PANEL, COLOUR_YELLOW, WID_S_LEFT), SetMinimalSize(140, 34), EndContainer(),
NWidget(WWT_PUSHBTN, COLOUR_GREEN, WID_S_MIDDLE), SetMinimalSize(40, 34), SetDataTip(0x0, STR_STATUSBAR_TOOLTIP_SHOW_LAST_NEWS), SetResize(1, 0),
NWidget(WWT_PUSHBTN, COLOUR_RED, WID_S_RIGHT), SetMinimalSize(140, 34),
EndContainer(),
};