summaryrefslogtreecommitdiff
path: root/src/timetable_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r--src/timetable_gui.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp
index 8b4ec2334..5a9dfafe8 100644
--- a/src/timetable_gui.cpp
+++ b/src/timetable_gui.cpp
@@ -24,10 +24,8 @@
#include "table/strings.h"
enum TimetableViewWindowWidgets {
- TTV_WIDGET_CLOSEBOX = 0,
TTV_CAPTION,
TTV_ORDER_VIEW,
- TTV_STICKY,
TTV_TIMETABLE_PANEL,
TTV_SCROLLBAR,
TTV_SUMMARY_PANEL,
@@ -36,7 +34,6 @@ enum TimetableViewWindowWidgets {
TTV_RESET_LATENESS,
TTV_AUTOFILL,
TTV_EMPTY,
- TTV_RESIZE,
};
/**
@@ -359,10 +356,10 @@ struct TimetableWindow : Window {
static const NWidgetPart _nested_timetable_widgets[] = {
NWidget(NWID_HORIZONTAL),
- NWidget(WWT_CLOSEBOX, COLOUR_GREY, TTV_WIDGET_CLOSEBOX),
+ NWidget(WWT_CLOSEBOX, COLOUR_GREY),
NWidget(WWT_CAPTION, COLOUR_GREY, TTV_CAPTION), SetDataTip(STR_TIMETABLE_TITLE, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, TTV_ORDER_VIEW), SetMinimalSize(61, 14), SetDataTip( STR_TIMETABLE_ORDER_VIEW, STR_TIMETABLE_ORDER_VIEW_TOOLTIP),
- NWidget(WWT_STICKYBOX, COLOUR_GREY, TTV_STICKY),
+ NWidget(WWT_STICKYBOX, COLOUR_GREY),
EndContainer(),
NWidget(NWID_HORIZONTAL),
NWidget(WWT_PANEL, COLOUR_GREY, TTV_TIMETABLE_PANEL), SetMinimalSize(388, 82), SetResize(1, 10), SetDataTip(STR_NULL, STR_TIMETABLE_TOOLTIP), EndContainer(),
@@ -375,7 +372,7 @@ static const NWidgetPart _nested_timetable_widgets[] = {
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, TTV_RESET_LATENESS), SetMinimalSize(118, 12), SetDataTip(STR_TIMETABLE_RESET_LATENESS, STR_TIMETABLE_RESET_LATENESS_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, TTV_AUTOFILL), SetMinimalSize(50, 12), SetDataTip(STR_TIMETABLE_AUTOFILL, STR_TIMETABLE_AUTOFILL_TOOLTIP),
NWidget(WWT_PANEL, COLOUR_GREY, TTV_EMPTY), SetMinimalSize(0, 12), SetResize(1, 0), EndContainer(),
- NWidget(WWT_RESIZEBOX,COLOUR_GREY, TTV_RESIZE),
+ NWidget(WWT_RESIZEBOX,COLOUR_GREY),
EndContainer(),
};