|
|
/* $Id$ */
|
|
|
|
|
|
/** @file order_gui.cpp */
|
|
|
/** @file order_gui.cpp GUI related to orders. */
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
#include "openttd.h"
|
|
|
#include "road_map.h"
|
|
|
#include "station_map.h"
|
|
|
#include "gui.h"
|
|
|
#include "window_gui.h"
|
|
|
#include "station_base.h"
|
|
|
#include "town.h"
|
|
|
#include "command_func.h"
|
|
|
#include "viewport_func.h"
|
|
|
#include "gfx_func.h"
|
|
|
#include "depot_base.h"
|
|
|
#include "waypoint.h"
|
|
|
#include "train.h"
|
|
|
#include "water_map.h"
|
|
|
#include "vehicle_gui.h"
|
|
|
#include "timetable.h"
|
|
|
#include "cargotype.h"
|
|
|
#include "strings_func.h"
|
|
|
#include "window_func.h"
|
|
|
#include "vehicle_func.h"
|
|
|
#include "settings_type.h"
|
|
|
#include "player_func.h"
|
|
|
#include "newgrf_cargo.h"
|
|
|
#include "widgets/dropdown_func.h"
|
|
|
#include "textbuf_gui.h"
|
|
|
#include "string_func.h"
|
|
|
#include "depot_base.h"
|
|
|
|
|
|
#include "table/sprites.h"
|
|
|
#include "table/strings.h"
|
|
|
|
|
|
enum OrderWindowWidgets {
|
|
|
ORDER_WIDGET_CLOSEBOX = 0,
|
|
|
ORDER_WIDGET_CAPTION,
|
|
|
ORDER_WIDGET_TIMETABLE_VIEW,
|
|
|
ORDER_WIDGET_ORDER_LIST,
|
|
|
ORDER_WIDGET_SCROLLBAR,
|
|
|
ORDER_WIDGET_SKIP,
|
|
|
ORDER_WIDGET_DELETE,
|
|
|
ORDER_WIDGET_NON_STOP,
|
|
|
ORDER_WIDGET_GOTO,
|
|
|
ORDER_WIDGET_GOTO_DROPDOWN,
|
|
|
ORDER_WIDGET_FULL_LOAD,
|
|
|
ORDER_WIDGET_UNLOAD,
|
|
|
ORDER_WIDGET_REFIT,
|
|
|
ORDER_WIDGET_SERVICE,
|