(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
This commit is contained in:
48
src/widgets/misc_widget.h
Normal file
48
src/widgets/misc_widget.h
Normal file
@@ -0,0 +1,48 @@
|
||||
/* $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 */
|
Reference in New Issue
Block a user