Add icon for path railings tab

This commit is contained in:
Michael Steenbeek 2021-09-13 09:29:46 +02:00 committed by GitHub
parent 36b0837318
commit 6ffb03dde0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -478,6 +478,10 @@
{
"path": "icons/view.png"
},
{
"path": "icons/path_railings_tab.png",
"x_offset": 1
},
{
"path": "font/latin/ae-uc-small.png",
"y_offset": 0,

View File

@ -108,10 +108,12 @@ static constexpr const ObjectPageDesc ObjectSelectionPages[] = {
{ STR_OBJECT_SELECTION_WATER, SPR_TAB_WATER, false },
// Currently hidden until new save format arrives:
// { STR_OBJECT_SELECTION_TERRAIN_SURFACES, SPR_G2_TAB_LAND, false },
// { STR_OBJECT_SELECTION_TERRAIN_EDGES, SPR_G2_TAB_LAND, false },
// { STR_OBJECT_SELECTION_STATIONS, SPR_TAB_PARK, false },
// { STR_OBJECT_SELECTION_TERRAIN_SURFACES, SPR_G2_TAB_LAND, true },
// { STR_OBJECT_SELECTION_TERRAIN_EDGES, SPR_G2_TAB_LAND, true },
// { STR_OBJECT_SELECTION_STATIONS, SPR_TAB_PARK, true },
// { STR_OBJECT_SELECTION_MUSIC, SPR_TAB_MUSIC_0, false },
// { STR_OBJECT_SELECTION_FOOTPATH_SURFACES, SPR_TAB_SCENERY_PATHS, false },
// { STR_OBJECT_SELECTION_FOOTPATH_RAILINGS, SPR_G2_PATH_RAILINGS_TAB, false },
};
#pragma region Widgets

View File

@ -864,7 +864,9 @@ enum
SPR_G2_VIEW = SPR_G2_BEGIN + 137,
SPR_G2_CHAR_BEGIN = SPR_G2_BEGIN + 138,
SPR_G2_PATH_RAILINGS_TAB = SPR_G2_BEGIN + 138,
SPR_G2_CHAR_BEGIN = SPR_G2_BEGIN + 139,
SPR_G2_AE_UPPER = SPR_G2_CHAR_BEGIN,
SPR_G2_AE_LOWER = SPR_G2_CHAR_BEGIN + 1,