Feature: Help and manuals access window
This commit is contained in:

committed by
Patric Stout

parent
2cff43251e
commit
41de0d46f3
@@ -24,6 +24,7 @@ add_files(
|
||||
goal_widget.h
|
||||
graph_widget.h
|
||||
group_widget.h
|
||||
help_widget.h
|
||||
highscore_widget.h
|
||||
industry_widget.h
|
||||
intro_widget.h
|
||||
|
25
src/widgets/help_widget.h
Normal file
25
src/widgets/help_widget.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* 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 help_widget.h Types related to the help window widgets. */
|
||||
|
||||
#ifndef WIDGETS_HELP_WIDGET_H
|
||||
#define WIDGETS_HELP_WIDGET_H
|
||||
|
||||
/** Widgets of the #HelpWindow class. */
|
||||
enum HelpWindowWidgets {
|
||||
WID_HW_README,
|
||||
WID_HW_CHANGELOG,
|
||||
WID_HW_KNOWN_BUGS,
|
||||
WID_HW_LICENSE,
|
||||
WID_HW_WEBSITE,
|
||||
WID_HW_WIKI,
|
||||
WID_HW_BUGTRACKER,
|
||||
WID_HW_COMMUNITY,
|
||||
};
|
||||
|
||||
#endif /* WIDGETS_HELP_WIDGET_H */
|
@@ -28,6 +28,7 @@ enum SelectGameIntroWidgets {
|
||||
WID_SGI_TRANSLATION, ///< Translation errors.
|
||||
WID_SGI_OPTIONS, ///< Options button.
|
||||
WID_SGI_HIGHSCORE, ///< Highscore button.
|
||||
WID_SGI_HELP, ///< Help and manuals button.
|
||||
WID_SGI_SETTINGS_OPTIONS, ///< Settings button.
|
||||
WID_SGI_GRF_SETTINGS, ///< NewGRF button.
|
||||
WID_SGI_CONTENT_DOWNLOAD, ///< Content Download button.
|
||||
|
@@ -48,11 +48,15 @@ enum QueryWidgets {
|
||||
|
||||
/** Widgets of the #TextfileWindow class. */
|
||||
enum TextfileWidgets {
|
||||
WID_TF_CAPTION, ///< The caption of the window.
|
||||
WID_TF_WRAPTEXT, ///< Whether or not to wrap the text.
|
||||
WID_TF_BACKGROUND, ///< Panel to draw the textfile on.
|
||||
WID_TF_VSCROLLBAR, ///< Vertical scrollbar to scroll through the textfile up-and-down.
|
||||
WID_TF_HSCROLLBAR, ///< Horizontal scrollbar to scroll through the textfile left-to-right.
|
||||
WID_TF_CAPTION, ///< The caption of the window.
|
||||
WID_TF_NAVBACK, ///< Navigate back button.
|
||||
WID_TF_NAVFORWARD, ///< Navigate forward button.
|
||||
WID_TF_WRAPTEXT, ///< Whether or not to wrap the text.
|
||||
WID_TF_JUMPLIST, ///< List to jump around the file.
|
||||
WID_TF_SEL_JUMPLIST, ///< Selection to display the jump list or not.
|
||||
WID_TF_BACKGROUND, ///< Panel to draw the textfile on.
|
||||
WID_TF_VSCROLLBAR, ///< Vertical scrollbar to scroll through the textfile up-and-down.
|
||||
WID_TF_HSCROLLBAR, ///< Horizontal scrollbar to scroll through the textfile left-to-right.
|
||||
};
|
||||
|
||||
#endif /* WIDGETS_MISC_WIDGET_H */
|
||||
|
Reference in New Issue
Block a user