New button layout

This commit is contained in:
Paul Chote
2011-05-05 20:46:35 +12:00
parent 79674b7418
commit 3e6d1fc1e2
4 changed files with 98 additions and 87 deletions

View File

@@ -130,38 +130,38 @@ tabs-normal: tabs.png
nod-Plane: 134,160,27,41
nod-Ship: 134,200,27,41
dialog: dialog.png
background: 46,46,36,36
border-r: 82,46,46,36
border-l: 0,46,46,36
border-b: 46,82,36,46
border-t: 46,0,36,46
corner-tl: 0,0,46,46
corner-tr: 82,0,46,46
corner-bl: 0,82,46,46
corner-br: 82,82,46,46
dialog: uibuttons.png
background: 2,2,60,60
border-r: 62,2,2,60
border-l: 0,2,2,60
border-b: 2,62,60,2
border-t: 2,0,60,2
corner-tl: 0,0,2,2
corner-tr: 62,0,2,2
corner-bl: 0,62,2,2
corner-br: 62,62,2,2
dialog3: uibuttons.png
background: 2,2,60,60
border-r: 62,2,2,60
border-l: 0,2,2,60
border-b: 2,62,60,2
border-t: 2,0,60,2
corner-tl: 0,0,2,2
corner-tr: 62,0,2,2
corner-bl: 0,62,2,2
corner-br: 62,62,2,2
dialog2: uibuttons.png
background: 2,2,124,124
border-r: 126,2,2,124
border-l: 0,2,2,124
border-b: 2,126,124,2
border-t: 2,0,124,2
corner-tl: 0,0,2,2
corner-tr: 126,0,2,2
background: 2,66,60,60
border-r: 62,66,2,60
border-l: 0,66,2,60
border-b: 2,126,60,2
border-t: 2,64,60,2
corner-tl: 0,64,2,2
corner-tr: 62,64,2,2
corner-bl: 0,126,2,2
corner-br: 126,126,2,2
dialog3: dialog3.png
background: 1,1,126,126
border-r: 127,1,1,126
border-l: 0,1,1,126
border-b: 1,127,126,1
border-t: 1,0,126,1
corner-tl: 0,0,1,1
corner-tr: 82,0,1,1
corner-bl: 0,82,1,1
corner-br: 82,82,1,1
corner-br: 62,126,2,2
dialog4: dialog4.png
border-t: 5,0,52,6

View File

@@ -4,7 +4,6 @@ Container@MAINMENU_BG:
Y:0
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Delegate:MainMenuButtonsDelegate
Children:
Image@RETICLE:
X:(WINDOW_RIGHT-WIDTH)/2
@@ -19,54 +18,53 @@ Container@MAINMENU_BG:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Background:shellmapborder
Button@MAINMENU_BUTTON_JOIN:
Id:MAINMENU_BUTTON_JOIN
X:WINDOW_RIGHT-WIDTH-47
Y:150
Width:160
Container@BUTTON_CONTAINER:
Id:BUTTON_CONTAINER
X:(WINDOW_RIGHT-WIDTH)/2
Y:WINDOW_BOTTOM-33-HEIGHT-10
Width:740
Height:35
Text:Campaign
Bold:True
Button@MAINMENU_BUTTON_CREATE:
Id:MAINMENU_BUTTON_CREATE
X:WINDOW_RIGHT-WIDTH-47
Y:200
Width:160
Height:35
Text:Skirmish/Online
Bold:True
Button@MAINMENU_BUTTON_SETTINGS:
Id:MAINMENU_BUTTON_SETTINGS
X:WINDOW_RIGHT-WIDTH-47
Y:250
Width:160
Height:35
Text:Settings
Bold:True
Button@MAINMENU_BUTTON_MUSIC:
Id:MAINMENU_BUTTON_MUSIC
X:WINDOW_RIGHT-WIDTH-47
Y:300
Width:160
Height:35
Text:Music
Bold:True
Button@MAINMENU_BUTTON_REPLAY_VIEWER:
Id:MAINMENU_BUTTON_REPLAY_VIEWER
X:WINDOW_RIGHT-WIDTH-47
Y:350
Width:160
Height:35
Text: Replay Viewer
Bold: True
Button@MAINMENU_BUTTON_QUIT:
Id:MAINMENU_BUTTON_QUIT
X:WINDOW_RIGHT-WIDTH-47
Y:400
Width:160
Height:35
Text:Quit
Bold:True
Children:
Button@SOLO_BUTTON:
Id:SOLO_BUTTON
X:0
Y:0
Width:140
Height:35
Text:Solo Play
Bold:True
Button@MULTIPLAYER_BUTTON:
Id:MULTIPLAYER_BUTTON
X:150
Y:0
Width:140
Height:35
Text:Multiplayer
Bold:True
Button@REPLAY_BUTTON:
Id:REPLAY_BUTTON
X:300
Y:0
Width:140
Height:35
Text: Replays
Bold: True
Button@SETTINGS_BUTTON:
Id:SETTINGS_BUTTON
X:450
Y:0
Width:140
Height:35
Text:Options
Bold:True
Button@QUIT_BUTTON:
Id:QUIT_BUTTON
X:600
Y:0
Width:140
Height:35
Text:Quit
Bold:True
Background@QUICKMODSWITCHER:
Id:QUICKMODSWITCHER
Background: dialog4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 490 B

After

Width:  |  Height:  |  Size: 526 B