(svn r23531) -Codechange: document and rename widgets to be consistent and understandable
This commit is contained in:
@@ -13,24 +13,24 @@
|
||||
#define WIDGETS_FIOS_WIDGET_H
|
||||
|
||||
/** Widgets of the WC_SAVELOAD. */
|
||||
enum SaveLoadWindowWidgets {
|
||||
SLWW_WINDOWTITLE,
|
||||
SLWW_SORT_BYNAME,
|
||||
SLWW_SORT_BYDATE,
|
||||
SLWW_BACKGROUND,
|
||||
SLWW_FILE_BACKGROUND,
|
||||
SLWW_HOME_BUTTON,
|
||||
SLWW_DRIVES_DIRECTORIES_LIST,
|
||||
SLWW_SCROLLBAR,
|
||||
SLWW_CONTENT_DOWNLOAD, ///< only available for play scenario/heightmap (content download)
|
||||
SLWW_SAVE_OSK_TITLE, ///< only available for save operations
|
||||
SLWW_DELETE_SELECTION, ///< same in here
|
||||
SLWW_SAVE_GAME, ///< not to mention in here too
|
||||
SLWW_CONTENT_DOWNLOAD_SEL, ///< Selection 'stack' to 'hide' the content download
|
||||
SLWW_DETAILS, ///< Panel with game details
|
||||
SLWW_NEWGRF_INFO, ///< Button to open NewGgrf configuration
|
||||
SLWW_LOAD_BUTTON, ///< Button to load game/scenario
|
||||
SLWW_MISSING_NEWGRFS, ///< Button to find missing NewGRFs online
|
||||
enum SaveLoadWidgets {
|
||||
WID_SL_CAPTION, ///< Caption of the window.
|
||||
WID_SL_SORT_BYNAME, ///< Sort by name button.
|
||||
WID_SL_SORT_BYDATE, ///< Sort by date button.
|
||||
WID_SL_BACKGROUND, ///< Background of window.
|
||||
WID_SL_FILE_BACKGROUND, ///< Background of file selection.
|
||||
WID_SL_HOME_BUTTON, ///< Home button.
|
||||
WID_SL_DRIVES_DIRECTORIES_LIST, ///< Drives list.
|
||||
WID_SL_SCROLLBAR, ///< Scrollbar of the file list.
|
||||
WID_SL_CONTENT_DOWNLOAD, ///< Content download button, only available for play scenario/heightmap.
|
||||
WID_SL_SAVE_OSK_TITLE, ///< Title textbox, only available for save operations.
|
||||
WID_SL_DELETE_SELECTION, ///< Delete button, only available for save operations.
|
||||
WID_SL_SAVE_GAME, ///< Save button, only available for save operations.
|
||||
WID_SL_CONTENT_DOWNLOAD_SEL, ///< Selection 'stack' to 'hide' the content download.
|
||||
WID_SL_DETAILS, ///< Panel with game details.
|
||||
WID_SL_NEWGRF_INFO, ///< Button to open NewGgrf configuration.
|
||||
WID_SL_LOAD_BUTTON, ///< Button to load game/scenario.
|
||||
WID_SL_MISSING_NEWGRFS, ///< Button to find missing NewGRFs online.
|
||||
};
|
||||
|
||||
#endif /* WIDGETS_FIOS_WIDGET_H */
|
||||
|
Reference in New Issue
Block a user