Use new server logo
This commit is contained in:
@@ -42,7 +42,7 @@ function initLoginGUI() {
|
|||||||
login.window.titleBarIconSize = toVector2(0,0);
|
login.window.titleBarIconSize = toVector2(0,0);
|
||||||
login.window.titleBarHeight = 0;
|
login.window.titleBarHeight = 0;
|
||||||
|
|
||||||
login.logoImage = login.window.image(85, -10, 140, 140, mainLogoPath, {
|
login.logoImage = login.window.image(5, 20, 290, 80, mainLogoPath, {
|
||||||
focused: {
|
focused: {
|
||||||
borderColour: toColour(0, 0, 0, 0),
|
borderColour: toColour(0, 0, 0, 0),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ let newCharacter = {
|
|||||||
|
|
||||||
function initNewCharacterGUI() {
|
function initNewCharacterGUI() {
|
||||||
logToConsole(LOG_DEBUG, `[VRR.GUI] Creating new character GUI ...`);
|
logToConsole(LOG_DEBUG, `[VRR.GUI] Creating new character GUI ...`);
|
||||||
newCharacter.window = mexui.window(game.width/2-130, game.height/2-100, 300, 200, 'Character Name', {
|
newCharacter.window = mexui.window(game.width/2-130, game.height/2-100, 300, 200, 'New Character', {
|
||||||
main: {
|
main: {
|
||||||
backgroundColour: toColour(secondaryColour[0], secondaryColour[1], secondaryColour[2], windowAlpha),
|
backgroundColour: toColour(secondaryColour[0], secondaryColour[1], secondaryColour[2], windowAlpha),
|
||||||
transitionTime: 500,
|
transitionTime: 500,
|
||||||
@@ -38,9 +38,9 @@ function initNewCharacterGUI() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
newCharacter.window.titleBarIconSize = toVector2(0,0);
|
newCharacter.window.titleBarIconSize = toVector2(0,0);
|
||||||
//newCharacter.window.titleBarHeight = 0;
|
newCharacter.window.titleBarHeight = 0;
|
||||||
|
|
||||||
newCharacter.mainLogoImage = newCharacter.window.image(115, 10, 65, 65, mainLogoPath, {
|
newCharacter.mainLogoImage = newCharacter.window.image(5, 20, 290, 80, mainLogoPath, {
|
||||||
focused: {
|
focused: {
|
||||||
borderColour: toColour(0, 0, 0, 0),
|
borderColour: toColour(0, 0, 0, 0),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ function initRegisterGUI() {
|
|||||||
register.window.titleBarIconSize = toVector2(0,0);
|
register.window.titleBarIconSize = toVector2(0,0);
|
||||||
register.window.titleBarHeight = 0;
|
register.window.titleBarHeight = 0;
|
||||||
|
|
||||||
register.window.image(85, -10, 140, 140, mainLogoPath, {
|
register.window.image(5, 20, 290, 80, mainLogoPath, {
|
||||||
focused: {
|
focused: {
|
||||||
borderColour: toColour(0, 0, 0, 0),
|
borderColour: toColour(0, 0, 0, 0),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ function initResetPasswordGUI() {
|
|||||||
resetPassword.window.titleBarIconSize = toVector2(0,0);
|
resetPassword.window.titleBarIconSize = toVector2(0,0);
|
||||||
resetPassword.window.titleBarHeight = 0;
|
resetPassword.window.titleBarHeight = 0;
|
||||||
|
|
||||||
resetPassword.logoImage = resetPassword.window.image(85, -10, 140, 140, mainLogoPath, {
|
resetPassword.logoImage = resetPassword.window.image(5, 20, 290, 80, mainLogoPath, {
|
||||||
focused: {
|
focused: {
|
||||||
borderColour: toColour(0, 0, 0, 0),
|
borderColour: toColour(0, 0, 0, 0),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user