Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/pregame/mainmenu.js
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | if (g_BackgroundLayerset[i].tiling) | ||||
left -= iw; | left -= iw; | ||||
guiObj.size = new GUISize(left, screen.top, screen.right, screen.bottom); | guiObj.size = new GUISize(left, screen.top, screen.right, screen.bottom); | ||||
} | } | ||||
else | else | ||||
guiObj.size = new GUISize(screen.right/2 - h + offset, screen.top, screen.right/2 + h + offset, screen.bottom); | guiObj.size = new GUISize(screen.right/2 - h + offset, screen.top, screen.right/2 + h + offset, screen.bottom); | ||||
} | } | ||||
} | } | ||||
function submitUserReportMessage() | |||||
{ | |||||
let input = Engine.GetGUIObjectByName("userReportMessageInput"); | |||||
if (input.caption.length) | |||||
Engine.SubmitUserReport("message", 1, input.caption); | |||||
input.caption = ""; | |||||
} | |||||
function formatUserReportStatus(status) | function formatUserReportStatus(status) | ||||
{ | { | ||||
let d = status.split(/:/, 3); | let d = status.split(/:/, 3); | ||||
if (d[0] == "disabled") | if (d[0] == "disabled") | ||||
return translate("disabled"); | return translate("disabled"); | ||||
if (d[0] == "connecting") | if (d[0] == "connecting") | ||||
▲ Show 20 Lines • Show All 202 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator