mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
Change: Standardize progress bar layout.
Progress bars are drawn differently depending on when it was added, with different layouts and sizes. This change adds a standard padding size to use, and makes all progress bars visually similar, with scaled padding.
This commit is contained in:
@@ -14,8 +14,9 @@
|
||||
|
||||
/** Widgets of the #NetworkContentDownloadStatusWindow class. */
|
||||
enum NetworkContentDownloadStatusWidgets {
|
||||
WID_NCDS_BACKGROUND, ///< Background of the window.
|
||||
WID_NCDS_CANCELOK, ///< (Optional) Cancel/OK button.
|
||||
WID_NCDS_PROGRESS_BAR, ///< Simple progress bar.
|
||||
WID_NCDS_PROGRESS_TEXT, ///< Text explaining what is happening.
|
||||
WID_NCDS_CANCELOK, ///< (Optional) Cancel/OK button.
|
||||
};
|
||||
|
||||
/** Widgets of the #NetworkContentListWindow class. */
|
||||
|
@@ -94,8 +94,9 @@ enum ClientListWidgets {
|
||||
|
||||
/** Widgets of the #NetworkJoinStatusWindow class. */
|
||||
enum NetworkJoinStatusWidgets {
|
||||
WID_NJS_BACKGROUND, ///< Background of the window.
|
||||
WID_NJS_CANCELOK, ///< Cancel / OK button.
|
||||
WID_NJS_PROGRESS_BAR, ///< Simple progress bar.
|
||||
WID_NJS_PROGRESS_TEXT, ///< Text explaining what is happening.
|
||||
WID_NJS_CANCELOK, ///< Cancel / OK button.
|
||||
};
|
||||
|
||||
/** Widgets of the #NetworkCompanyPasswordWindow class. */
|
||||
|
Reference in New Issue
Block a user