mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Rename WWT_14 to WWT_LABEL.
This is used for left-aligned label text.
This commit is contained in:
@@ -352,7 +352,7 @@ static rct_widget window_options_advanced_widgets[] = {
|
||||
{ WWT_CHECKBOX, 2, 10, 299, 114, 125, STR_STAY_CONNECTED_AFTER_DESYNC, STR_STAY_CONNECTED_AFTER_DESYNC_TIP }, // Do not disconnect after the client desynchronises with the server
|
||||
{ WWT_DROPDOWN, 1, 165, 299, 130, 141, STR_NONE, STR_NONE }, // Autosave dropdown
|
||||
{ WWT_DROPDOWN_BUTTON, 1, 288, 298, 131, 140, STR_DROPDOWN_GLYPH, STR_AUTOSAVE_FREQUENCY_TIP }, // Autosave dropdown button
|
||||
{ WWT_14, 1, 23, 298, 148, 159, STR_PATH_TO_RCT1, STR_PATH_TO_RCT1_TIP }, // RCT 1 path text
|
||||
{ WWT_LABEL, 1, 23, 298, 148, 159, STR_PATH_TO_RCT1, STR_PATH_TO_RCT1_TIP }, // RCT 1 path text
|
||||
{ WWT_DROPDOWN_BUTTON, 1, 24, 289, 163, 176, STR_NONE, STR_STRING_TOOLTIP }, // RCT 1 path button
|
||||
{ WWT_DROPDOWN_BUTTON, 1, 289, 299, 163, 176, STR_CLOSE_X, STR_PATH_TO_RCT1_CLEAR_TIP }, // RCT 1 path clear button
|
||||
{ WIDGETS_END },
|
||||
|
||||
@@ -144,7 +144,7 @@ void widget_draw(rct_drawpixelinfo *dpi, rct_window *w, rct_widgetindex widgetIn
|
||||
case WWT_LABEL_CENTRED:
|
||||
widget_text_unknown(dpi, w, widgetIndex);
|
||||
break;
|
||||
case WWT_14:
|
||||
case WWT_LABEL:
|
||||
widget_text(dpi, w, widgetIndex);
|
||||
break;
|
||||
case WWT_SPINNER:
|
||||
|
||||
@@ -34,7 +34,7 @@ typedef enum {
|
||||
WWT_11, // Same as dropdown button but uses .text + 1 while pressed/active
|
||||
WWT_LABEL_CENTRED = 12, // Centred text
|
||||
WWT_TABLE_HEADER = 13, // Left-aligned textual button
|
||||
WWT_14,
|
||||
WWT_LABEL = 14, // Left-aligned text
|
||||
WWT_SPINNER = 15,
|
||||
WWT_DROPDOWN = 16,
|
||||
WWT_VIEWPORT = 17,
|
||||
|
||||
Reference in New Issue
Block a user