summaryrefslogtreecommitdiff
path: root/ui/joinserver.menu
diff options
context:
space:
mode:
Diffstat (limited to 'ui/joinserver.menu')
-rw-r--r--ui/joinserver.menu139
1 files changed, 81 insertions, 58 deletions
diff --git a/ui/joinserver.menu b/ui/joinserver.menu
index 1daeb6e1..2700f623 100644
--- a/ui/joinserver.menu
+++ b/ui/joinserver.menu
@@ -63,7 +63,7 @@
{
name refreshdate
ownerdraw UI_SERVERREFRESHDATE
- textscale .22
+ textscale .33
rect 10 365 265 25
textalign 0
textalignx 10
@@ -77,7 +77,7 @@
{
name messageoftheday
ownerdraw UI_SERVERMOTD
- textscale .3
+ textscale .33
rect 280 365 345 25
forecolor 1 1 1 1
visible 1
@@ -92,7 +92,7 @@
name gametypefield
style WINDOW_STYLE_EMPTY
ownerdraw UI_NETSOURCE
- rect 10 20 128 26
+ rect 46 20 128 26
textalign ITEM_ALIGN_LEFT
textalignx 10
textaligny 22
@@ -103,27 +103,6 @@
action { play "sound/misc/kcaction.wav" }
}
- itemDef
- {
- name createServer
- text "Create Server"
- textscale .4
- style WINDOW_STYLE_EMPTY
- type ITEM_TYPE_BUTTON
- rect 164 20 128 26
- textalign ITEM_ALIGN_LEFT
- textalignx 10
- textaligny 22
- backcolor .5 .5 .5 .5
- forecolor 1 1 1 1
- visible 1
- action
- {
- close joinserver;
- open createserver
- }
- }
-
// BUTTONS //
itemDef
@@ -133,7 +112,7 @@
type ITEM_TYPE_BUTTON
textscale .4
style WINDOW_STYLE_EMPTY
- rect 10 60 128 26
+ rect 200 20 128 26
textalign ITEM_ALIGN_LEFT
textalignx 10
textaligny 22
@@ -154,7 +133,7 @@
textscale .4
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
- rect 164 60 128 26
+ rect 364 20 128 26
textalign ITEM_ALIGN_LEFT
textalignx 10
textaligny 22
@@ -176,7 +155,7 @@
text "View Empty:"
cvar "ui_browserShowEmpty"
textscale .4
- rect 328 20 128 26
+ rect 128 50 128 26
textalign ITEM_ALIGN_LEFT
textalignx 10
textaligny 22
@@ -198,7 +177,7 @@
text "View Full:"
cvar "ui_browserShowFull"
textscale .4
- rect 328 60 128 26
+ rect 256 50 128 26
textalign ITEM_ALIGN_LEFT
textalignx 10
textaligny 22
@@ -301,7 +280,7 @@
style WINDOW_STYLE_EMPTY
elementwidth 120
elementheight 20
- textscale .25
+ textscale .33
elementtype LISTBOX_TEXT
feeder FEEDER_SERVERS
border 1
@@ -328,7 +307,7 @@
group grpTabs
text "Server Name"
type ITEM_TYPE_BUTTON
- textscale .25
+ textscale .33
style WINDOW_STYLE_EMPTY
rect 10 103 365 26
textalign ITEM_ALIGN_LEFT
@@ -340,12 +319,14 @@
backcolor 0.2 0.2 0.2 1
outlinecolor 0.1 0.1 0.1 0.5
visible 1
- action { play "sound/misc/nomenu.wav" ;
- uiScript ServerSort 0 ;
- setitemcolor grpTabs backcolor .1 .1 .37 1 ;
- setitemcolor server backcolor .1 .37 .1 1 ;
- setitemcolor grpColumn backcolor 0 0 0 0 ;
- setitemcolor serverColumn backcolor 0 1 0 .25 }
+ action
+ {
+ play "sound/misc/nomenu.wav";
+ uiScript ServerSort 0;
+
+ setitemcolor grpColumn backcolor 0 0 0 0;
+ setitemcolor serverColumn backcolor 0.3 1 1 0.5
+ }
}
itemDef
@@ -354,7 +335,7 @@
group grpTabs
type ITEM_TYPE_BUTTON
text "Map Name"
- textscale .25
+ textscale .33
style WINDOW_STYLE_EMPTY
rect 375 103 125 26
textalign ITEM_ALIGN_LEFT
@@ -366,21 +347,23 @@
backcolor 0.2 0.2 0.2 1
outlinecolor 0.1 0.1 0.1 0.5
visible 1
- action { play "sound/misc/nomenu.wav" ;
- uiScript ServerSort 1 ;
- setitemcolor grpTabs backcolor .1 .1 .37 1 ;
- setitemcolor map backcolor .1 .37 .1 1 ;
- setitemcolor grpColumn backcolor 0 0 0 0 ;
- setitemcolor mapColumn backcolor 0 1 0 .25 }
+ action
+ {
+ play "sound/misc/nomenu.wav";
+ uiScript ServerSort 1;
+
+ setitemcolor grpColumn backcolor 0 0 0 0;
+ setitemcolor mapColumn backcolor 0.3 1 1 0.5
+ }
}
itemDef
{
name Players
group grpTabs
- text "#Plyrs"
+ text "Players"
type ITEM_TYPE_BUTTON
- textscale .25
+ textscale .33
style WINDOW_STYLE_EMPTY
rect 500 103 60 26
textalign ITEM_ALIGN_LEFT
@@ -392,12 +375,14 @@
backcolor 0.2 0.2 0.2 1
outlinecolor 0.1 0.1 0.1 0.5
visible 1
- action { play "sound/misc/nomenu.wav" ;
- uiScript ServerSort 2 ;
- setitemcolor grpTabs backcolor .1 .1 .37 1 ;
- setitemcolor Players backcolor .1 .37 .1 1 ;
- setitemcolor grpColumn backcolor 0 0 0 0 ;
- setitemcolor playerColumn backcolor 0 1 0 .25 }
+ action
+ {
+ play "sound/misc/nomenu.wav";
+ uiScript ServerSort 2;
+
+ setitemcolor grpColumn backcolor 0 0 0 0;
+ setitemcolor playerColumn backcolor 0.3 1 1 0.5
+ }
}
itemDef
@@ -406,7 +391,7 @@
group grpTabs
text "Ping"
type ITEM_TYPE_BUTTON
- textscale .25
+ textscale .33
style WINDOW_STYLE_EMPTY
rect 560 103 70 26
textalign ITEM_ALIGN_LEFT
@@ -418,12 +403,14 @@
backcolor 0.2 0.2 0.2 1
outlinecolor 0.1 0.1 0.1 0.5
visible 1
- action { play "sound/misc/nomenu.wav" ;
- uiScript ServerSort 4 ;
- setitemcolor grpTabs backcolor .1 .1 .37 1 ;
- setitemcolor Ping backcolor .1 .37 .1 1 ;
- setitemcolor grpColumn backcolor 0 0 0 0 ;
- setitemcolor pingColumn backcolor 0 1 0 .25 }
+ action
+ {
+ play "sound/misc/nomenu.wav";
+ uiScript ServerSort 4;
+
+ setitemcolor grpColumn backcolor 0 0 0 0;
+ setitemcolor pingColumn backcolor 0.3 1 1 0.5
+ }
}
@@ -539,6 +526,28 @@
+ itemDef
+ {
+ name createServer
+ text "Create Server"
+ textscale .5
+ style WINDOW_STYLE_EMPTY
+ type ITEM_TYPE_BUTTON
+ rect 254 424 128 26
+ textalign ITEM_ALIGN_LEFT
+ textalignx 10
+ textaligny 32
+ backcolor .5 .5 .5 .5
+ forecolor 1 1 1 1
+ visible 1
+ action
+ {
+ close joinserver;
+ open createserver
+ }
+ }
+
+
// BACK BAR //
itemDef
@@ -571,6 +580,13 @@
forecolor 1 1 1 1
visible 0
type ITEM_TYPE_BUTTON
+
+ text "Back"
+ textalign ITEM_ALIGN_LEFT
+ textaligny 36
+ textalignx 60
+ textscale .6
+
mouseExit
{
hide back_alt;
@@ -616,6 +632,13 @@
forecolor 1 1 1 1
visible 0
type ITEM_TYPE_BUTTON
+
+ text "Join"
+ textalign ITEM_ALIGN_LEFT
+ textaligny 36
+ textalignx -55
+ textscale .6
+
mouseExit
{
hide accept_alt;