mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
9e946d4c5d
# Conflicts: # src/command.cpp # src/console_cmds.cpp # src/group_gui.cpp # src/lang/catalan.txt # src/lang/czech.txt # src/lang/danish.txt # src/lang/greek.txt # src/lang/hungarian.txt # src/lang/irish.txt # src/lang/japanese.txt # src/lang/luxembourgish.txt # src/lang/norwegian_bokmal.txt # src/lang/romanian.txt # src/lang/russian.txt # src/lang/serbian.txt # src/lang/simplified_chinese.txt # src/lang/slovak.txt # src/lang/spanish_MX.txt # src/lang/swedish.txt # src/lang/tamil.txt # src/lang/traditional_chinese.txt # src/lang/turkish.txt # src/lang/ukrainian.txt # src/lang/vietnamese.txt # src/network/network.cpp # src/network/network_client.cpp # src/network/network_func.h # src/network/network_internal.h # src/network/network_server.cpp # src/network/network_server.h # src/saveload/afterload.cpp # src/saveload/newgrf_sl.cpp # src/saveload/saveload.h # src/script/script_instance.cpp # src/toolbar_gui.cpp # src/toolbar_gui.h # src/vehicle_gui.cpp # src/widgets/rail_widget.h # src/widgets/vehicle_widget.h # src/window.cpp
75 lines
1.8 KiB
C
75 lines
1.8 KiB
C
/*
|
|
* This file is part of OpenTTD.
|
|
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
|
|
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
/** @file toolbar_gui.h Stuff related to the (main) toolbar. */
|
|
|
|
#ifndef TOOLBAR_GUI_H
|
|
#define TOOLBAR_GUI_H
|
|
|
|
#include "company_type.h"
|
|
#include "widgets/dropdown_type.h"
|
|
|
|
enum MainToolbarHotkeys {
|
|
MTHK_PAUSE,
|
|
MTHK_FASTFORWARD,
|
|
MTHK_SETTINGS,
|
|
MTHK_SAVEGAME,
|
|
MTHK_LOADGAME,
|
|
MTHK_SMALLMAP,
|
|
MTHK_TOWNDIRECTORY,
|
|
MTHK_SUBSIDIES,
|
|
MTHK_STATIONS,
|
|
MTHK_FINANCES,
|
|
MTHK_COMPANIES,
|
|
MTHK_STORY,
|
|
MTHK_GOAL,
|
|
MTHK_GRAPHS,
|
|
MTHK_LEAGUE,
|
|
MTHK_INDUSTRIES,
|
|
MTHK_INDUSTRY_CHAINS,
|
|
MTHK_TRAIN_LIST,
|
|
MTHK_ROADVEH_LIST,
|
|
MTHK_SHIP_LIST,
|
|
MTHK_AIRCRAFT_LIST,
|
|
MTHK_ZOOM_IN,
|
|
MTHK_ZOOM_OUT,
|
|
MTHK_BUILD_RAIL,
|
|
MTHK_BUILD_ROAD,
|
|
MTHK_BUILD_TRAM,
|
|
MTHK_BUILD_DOCKS,
|
|
MTHK_BUILD_AIRPORT,
|
|
MTHK_BUILD_TREES,
|
|
MTHK_MUSIC,
|
|
MTHK_LANDINFO,
|
|
MTHK_AI_DEBUG,
|
|
MTHK_SMALL_SCREENSHOT,
|
|
MTHK_ZOOMEDIN_SCREENSHOT,
|
|
MTHK_DEFAULTZOOM_SCREENSHOT,
|
|
MTHK_GIANT_SCREENSHOT,
|
|
MTHK_CHEATS,
|
|
MTHK_TERRAFORM,
|
|
MTHK_EXTRA_VIEWPORT,
|
|
MTHK_CLIENT_LIST,
|
|
MTHK_SIGN_LIST,
|
|
MTHK_PLAN_LIST,
|
|
MTHK_LINK_GRAPH_LEGEND,
|
|
MTHK_MESSAGE_HISTORY,
|
|
MTHK_TEMPLATE_REPLACEMENT,
|
|
MTHK_TRAIN_SLOTS,
|
|
MTHK_TRAIN_COUNTERS,
|
|
};
|
|
|
|
void AllocateToolbar();
|
|
void ToggleBoundingBoxes();
|
|
void ToggleDirtyBlocks();
|
|
|
|
DropDownListItem *MakeCompanyDropDownListItem(CompanyID cid);
|
|
|
|
extern uint _toolbar_width;
|
|
|
|
#endif /* TOOLBAR_GUI_H */
|