mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-24 20:54:08 +01:00
49 lines
1.6 KiB
C
49 lines
1.6 KiB
C
/* $Id$ */
|
|
|
|
/*
|
|
* 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 misc_widget.h Types related to the misc widgets. */
|
|
|
|
#ifndef WIDGETS_MISC_WIDGET_H
|
|
#define WIDGETS_MISC_WIDGET_H
|
|
|
|
/** Widgets of the WC_LAND_INFO. */
|
|
enum LandInfoWidgets {
|
|
LIW_BACKGROUND, ///< Background to draw on
|
|
};
|
|
|
|
/** Widgets of the WC_TOOLTIPS. */
|
|
enum ToolTipsWidgets {
|
|
TTW_BACKGROUND, ///< Background to draw on
|
|
};
|
|
|
|
/** Widgets of the WC_GAME_OPTIONS (WC_GAME_OPTIONS is also used in others). */
|
|
enum AboutWidgets {
|
|
AW_SCROLLING_TEXT, ///< The actually scrolling text
|
|
AW_WEBSITE, ///< URL of OpenTTD website
|
|
};
|
|
|
|
/** Widgets of the WC_QUERY_STRING (WC_QUERY_STRING is also used in QueryEditSignWidgets). */
|
|
enum QueryStringWidgets {
|
|
QUERY_STR_WIDGET_CAPTION,
|
|
QUERY_STR_WIDGET_TEXT,
|
|
QUERY_STR_WIDGET_DEFAULT,
|
|
QUERY_STR_WIDGET_CANCEL,
|
|
QUERY_STR_WIDGET_OK
|
|
};
|
|
|
|
/** Widgets of the WC_CONFIRM_POPUP_QUERY (WC_CONFIRM_POPUP_QUERY is also used in BootstrapAskForDownloadWidgets). */
|
|
enum QueryWidgets {
|
|
QUERY_WIDGET_CAPTION,
|
|
QUERY_WIDGET_TEXT,
|
|
QUERY_WIDGET_NO,
|
|
QUERY_WIDGET_YES
|
|
};
|
|
|
|
#endif /* WIDGETS_MISC_WIDGET_H */
|