Add eye icon for tab

This commit is contained in:
Ted John 2021-01-13 20:49:24 +00:00
parent 7b00f9d96d
commit afb4500c49
4 changed files with 7 additions and 2 deletions

BIN
resources/g2/icons/view.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

View File

@ -475,6 +475,9 @@
"x_offset": -30,
"y_offset": -15
},
{
"path": "icons/view.png"
},
{
"path": "font/latin/ae-uc-small.png",
"y_offset": 0,

View File

@ -372,7 +372,7 @@ private:
{
_tabs.clear();
_tabs.push_back({ "interface", SPR_TAB_GEARS_0, 2, 4 });
_tabs.push_back({ "view", 0, 0, 0 });
_tabs.push_back({ "view", SPR_G2_VIEW, 0, 0 });
_tabs.push_back({ "window", SPR_TAB_PARK_ENTRANCE, 0, 0 });
_tabs.push_back({ {}, SPR_TAB_WRENCH_0, 2, 16 });
}

View File

@ -863,7 +863,9 @@ enum
SPR_G2_WOODEN_RC_BOOSTER_SW_NE = SPR_G2_BEGIN + 135,
SPR_G2_WOODEN_RC_BOOSTER_NW_SE = SPR_G2_BEGIN + 136,
SPR_G2_CHAR_BEGIN = SPR_G2_BEGIN + 137,
SPR_G2_VIEW = SPR_G2_BEGIN + 137,
SPR_G2_CHAR_BEGIN = SPR_G2_BEGIN + 138,
SPR_G2_AE_UPPER = SPR_G2_CHAR_BEGIN,
SPR_G2_AE_LOWER = SPR_G2_CHAR_BEGIN + 1,