Skip to content

Commit

Permalink
Fix main menu bg on >1920 resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
Yard1 committed Dec 25, 2019
1 parent 3ff2d2e commit 747d34f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
24 changes: 19 additions & 5 deletions interface/frontendmainview.gui
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,25 @@ guiTypes = {
quadTextureSprite = "GFX_frontend_bg_snow_anim"
orientation = upper_left
}
iconType = {
name = "luna"
alwaystransparent = yes
quadTextureSprite = "GFX_frontend_bg_luna"
}

containerWindowType = {
name = "luna_bg"
position = { x=0 y =0 }
size = {
width = 1920
height = 1440
min = { width = 100% height = 100% }
preserve_aspect_ratio = yes
}
Orientation = center
Origo = center
clipping = no

background = {
name = "Background"
quadTextureSprite ="GFX_frontend_bg_luna"
}
}
}

### MAIN MENU PANEL (upperleft)
Expand Down
9 changes: 5 additions & 4 deletions interface/zzz_frontendmainviewbg.gfx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ spriteTypes = {
effectFile = "gfx/FX/buttonstate_nodowneffect.lua"
}

SpriteType = {
corneredTileSpriteType = {
name = "GFX_frontend_bg_luna"
texturefile = "gfx/interface/moonshine_bg.dds"
#borderSize = { x=0 y= 0 }
#size = { x=1920 y= 1440 }
#tilingCenter = no
borderSize = { x=0 y= 0 }
size = { x=1920 y= 1440 }
tilingCenter = no
effectFile = "gfx/FX/buttonstate_nodowneffect.lua"
}
}

0 comments on commit 747d34f

Please sign in to comment.