Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/credits/credits.js
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | for (let category of g_OrderTabNames) | ||||
g_PanelData.push({ | g_PanelData.push({ | ||||
"label": json.Title || category, | "label": json.Title || category, | ||||
"content": parseHelper(json.Content) | "content": parseHelper(json.Content) | ||||
}); | }); | ||||
} | } | ||||
placeTabButtons( | placeTabButtons( | ||||
g_PanelData, | g_PanelData, | ||||
false, | |||||
g_TabButtonHeight, | g_TabButtonHeight, | ||||
g_TabButtonDist, | g_TabButtonDist, | ||||
selectPanel, | selectPanel, | ||||
category => { | category => { | ||||
Engine.GetGUIObjectByName("creditsText").caption = g_PanelData[category].content; | Engine.GetGUIObjectByName("creditsText").caption = g_PanelData[category].content; | ||||
}); | }); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator