diff options
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/createserver.menu | 3 | ||||
| -rw-r--r-- | ui/findplayer.menu | 9 | ||||
| -rw-r--r-- | ui/hud.txt | 2 | ||||
| -rw-r--r-- | ui/joinserver.menu | 2497 | ||||
| -rw-r--r-- | ui/serverinfo.menu | 759 | ||||
| -rw-r--r-- | ui/teamscore.menu | 771 | ||||
| -rw-r--r-- | ui/tremulous_human_hud.menu | 20 | 
7 files changed, 1946 insertions, 2115 deletions
diff --git a/ui/createserver.menu b/ui/createserver.menu index 68f1d3de..47df6df6 100644 --- a/ui/createserver.menu +++ b/ui/createserver.menu @@ -205,7 +205,8 @@ itemDef {  	backcolor 0 0 .5 .25  	outlinecolor .1 .1 .7 .5  	visible 1 -	columns 1 2 190 25 +	columns 1 +    2 190 25 ITEM_ALIGN_LEFT  	mouseEnter { fadein message_arena ; setitemcolor maplist bordercolor .7 0 0 1 }   	mouseExit { fadeout message_arena ; setitemcolor maplist bordercolor .5 .5 .5 .5 }     	} diff --git a/ui/findplayer.menu b/ui/findplayer.menu index 1eaf7354..dc7d59bb 100644 --- a/ui/findplayer.menu +++ b/ui/findplayer.menu @@ -301,10 +301,11 @@ itemDef {  		feeder FEEDER_SERVERSTATUS  		notselectable  		visible 1 -		columns 4	2 40 20 -				40 40 10 -				90 40 10 -				135 40 20 +		columns 4 +      2   40  20   ITEM_ALIGN_LEFT +      40  40  10   ITEM_ALIGN_LEFT +      90  40  10   ITEM_ALIGN_LEFT +      135 40  20   ITEM_ALIGN_LEFT  		mouseenter { setitemcolor serverInfowindow bordercolor .7 0 0 1  }  		mouseexit { setitemcolor serverInfowindow bordercolor .5 .5 .5 1 } @@ -2,6 +2,6 @@  //   {  	loadMenu { "ui/tremulous_human_hud.menu" } - 	loadMenu { "ui/score.menu" }  	loadMenu { "ui/teamscore.menu" } +  loadMenu { "ui/loading.menu" }  } diff --git a/ui/joinserver.menu b/ui/joinserver.menu index 8686ee8c..70a2cf6b 100644 --- a/ui/joinserver.menu +++ b/ui/joinserver.menu @@ -1,926 +1,972 @@  #include "ui/menudef.h"  { -\\ Server Join \\ - -  menuDef { -    	name "joinserver" -    	visible 0 -    	fullscreen 1 -    	rect 0 0 640 480 -	background "menuback_a" -	focusColor 1 .75 0 1 -	outOfBoundsClick	 -    	style 1 -    	border 1 -	onOpen { setitemcolor fadebox backcolor 0 0 0 1 ;  -	playlooped "music/fla_mp03.wav" ; -	fadeout fadebox ;  -	uiScript UpdateFilter ; -	hide lightning ;  -	hide accept_alt ;  -	show accept ; -	hide back_alt ; -	show back ; -	hide grpmessage } -	onEsc { uiScript closeJoin } - - -//	top bar	// - - -  itemDef { -      	name sourcebar -      	style 2 -      	rect 0 20 640 40  -      	style 2 -      	border 4 -      	bordercolor 0.5 0.5 0.5 0.5 -      	bordersize 2 -				backcolor 0 0 .75 0.5 -				visible 1  -				mouseEnter { setcolor backcolor .75 0 0 .5 } -      	mouseExit { setcolor backcolor 0 0 .75 .5 } -      	decoration  -    } - -// DATE AND MESSAGE OF THE DAY	// - -itemDef { -	name datewindow -	rect 10 365 265 25 -	style WINDOW_STYLE_FILLED	 -	border 1 -	bordercolor .5 .5 .5 1 -	backcolor 0 0 0 .15 -	visible 1 -	} -itemDef { -	name messagewindow -	rect 275 365 355 25 -	style WINDOW_STYLE_FILLED	 -	border 1 -	bordercolor .5 .5 .5 1 -	backcolor 0 0 0 .15 -	visible 1 -	} - -itemDef { -      	name refreshdate -		ownerdraw UI_SERVERREFRESHDATE -      	textscale .22 -      	rect 10 365 265 25 -		textalign 0 -      	textalignx 10		 -      	textaligny 20 -      	forecolor 1 1 1 1 -      	visible 1 -	decoration  -    } -itemDef { -      	name messageoftheday -		ownerdraw UI_SERVERMOTD -      	textscale .3 -      	rect 280 365 345 25 -      	forecolor 1 1 1 1 -      	visible 1  -	decoration -    } - - - -// map selection - - -itemDef { -      	name gametypefield -      	style 0	 - 	ownerdraw UI_NETSOURCE -    	rect 10 20 134 40  -	textstyle 6 -      	textalign ITEM_ALIGN_LEFT		 -      	textalignx 2      -      	textaligny 30     -	textscale .32      -      	forecolor 1 1 1 1 -     	visible 1  -	action { play "sound/misc/kcaction.wav" } -	mouseEnter { show message_source } -      	mouseExit { hide message_source } -    	} - -itemDef { -      	name gametypefield -      	style 0	 -	textstyle 6 -	ownerdraw UI_NETFILTER -    	rect 149 20 181 40  -      	textalign ITEM_ALIGN_LEFT		 -      	textalignx 2      -      	textaligny 30     -	textscale .32      -    	forecolor 1 1 1 1 -    	visible 1  -	action { play "sound/misc/kcaction.wav" } -	mouseEnter { show message_gamefilter } -	mouseExit { hide message_gamefilter } -  	} - -itemDef { -	name gametypefield -	style 0	 -	textstyle 6 -	text "Type:" -	ownerdraw UI_JOINGAMETYPE -    	rect 330 20 160 40  -    	textalign ITEM_ALIGN_LEFT		 -    	textalignx 2      -    	textaligny 30     -	textscale .32      -      	forecolor 1 1 1 1 -      	border 0 -      	bordercolor 0 0 0 0 -      	visible 1  -	action { play "sound/misc/kcaction.wav" } -	mouseEnter { show message_typefilter } -      	mouseExit { hide message_typefilter } -    } - -itemDef { -      	name mappreview -      	style 0	 - 	ownerdraw UI_NETMAPCINEMATIC -      	rect 505 5 128 96 -      	border 1 -      	bordercolor 0 .5 0 .5 -      	visible 1  -    } - -itemDef { -      	name mappreview -	style WINDOW_STYLE_FILLED	 -      	rect 505 5 128 96  -      	border 1 -      	bordercolor .5 .5 .5 .5 -      	visible 1  -    } - - - -itemDef { -	name horizontoalseparators -	rect 10 132 604 20 -	style WINDOW_STYLE_FILLED -	border 0 -	backcolor 0 0 .5 .25 -	visible 1 -	decoration -  } -itemDef { -	name horizontoalseparators -	rect 10 172 604 20 -	style WINDOW_STYLE_FILLED -	border 0 -	backcolor 0 0 .5 .25 -	visible 1 -	decoration -  } -itemDef { -	name horizontoalseparators -	rect 10 212 604 20 -	style WINDOW_STYLE_FILLED -	border 0 -	backcolor 0 0 .5 .25 -	visible 1 -	decoration -  } -itemDef { -	name horizontoalseparators -	rect 10 252 604 20 -	style WINDOW_STYLE_FILLED -	border 0 -	backcolor 0 0 .5 .25 -	visible 1 -	decoration -  } -itemDef { -	name horizontoalseparators -	rect 10 292 604 20 -	style WINDOW_STYLE_FILLED -	border 0 -	backcolor 0 0 .5 .25 -	visible 1 -	decoration -  } -itemDef { -	name horizontoalseparators -	rect 10 332 604 20 -	style WINDOW_STYLE_FILLED -	border 0 -	backcolor 0 0 .5 .25 -	visible 1 -	decoration -  } +  \\ Server Join \\ + +  menuDef +  { +    name "joinserver" +    visible 0 +    fullscreen 1 +    rect 0 0 640 480 +    focusColor 1 .75 0 1 +    outOfBoundsClick   +    style 0 +    onOpen { setitemcolor fadebox backcolor 0 0 0 1 ;  +    fadeout fadebox ;  +    uiScript UpdateFilter ; +    hide lightning ;  +    hide accept_alt ;  +    show accept ; +    hide back_alt ; +    show back ; +    hide grpmessage } +    onEsc { uiScript closeJoin } + +    itemDef +    { +      name background +      rect 0 0 640 480 +      style WINDOW_STYLE_FILLED +      backcolor 0 0 0 1 +      visible 1 +      decoration +    } -//	COLUMNS	// +    //  top bar // +/*    itemDef +    { +      name sourcebar +      style 2 +      rect 0 20 640 40  +      style 2 +      border 4 +      bordercolor 0.5 0.5 0.5 0.5 +      bordersize 2 +      backcolor 0 0 .75 0.5 +      visible 1  +      mouseEnter { setcolor backcolor .75 0 0 .5 } +      mouseExit { setcolor backcolor 0 0 .75 .5 } +      decoration  +    }*/ + +    // DATE AND MESSAGE OF THE DAY  // + +    itemDef +    { +      name datewindow +      rect 10 365 265 25 +      style WINDOW_STYLE_FILLED  +      border 1 +      bordercolor .5 .5 .5 1 +      backcolor 0 0 0 .15 +      visible 1 +    } +     +    itemDef +    { +      name messagewindow +      rect 275 365 355 25 +      style WINDOW_STYLE_FILLED  +      border 1 +      bordercolor .5 .5 .5 1 +      backcolor 0 0 0 .15 +      visible 1 +    } +    itemDef +    { +      name refreshdate +      ownerdraw UI_SERVERREFRESHDATE +      textscale .22 +      rect 10 365 265 25 +      textalign 0 +      textalignx 10    +      textaligny 20 +      forecolor 1 1 1 1 +      visible 1 +      decoration  +    } +     +    itemDef +    { +      name messageoftheday +      ownerdraw UI_SERVERMOTD +      textscale .3 +      rect 280 365 345 25 +      forecolor 1 1 1 1 +      visible 1  +      decoration +    } -itemDef { -	name serverColumn -	group grpColumn -	rect 10 128 265 235 -	style WINDOW_STYLE_FILLED -	border 1 -	backcolor 0 0 0 0 -	bordersize 1 -	bordercolor .5 .5 .5 1 -	visible 1 -	decoration -  } -itemDef { -	name mapColumn -	group grpColumn -	rect 275 128 125 235 -	style WINDOW_STYLE_FILLED -	border 1 -	backcolor 0 0 0 0 -	bordersize 1 -	bordercolor .5 .5 .5 1 -	visible 1 -	decoration -  } -itemDef { -	name playerColumn -	group grpColumn -	rect 400 128 60 235 -	style WINDOW_STYLE_FILLED -	border 1 -	backcolor 0 0 0 0 -	bordersize 1 -	bordercolor .5 .5 .5 1 -	visible 1 -	decoration -  } -itemDef { -	name typeColumn -	group grpColumn -	rect 460 128 100 235 -	style WINDOW_STYLE_FILLED -	border 1 -	backcolor 0 0 0 0 -	bordersize 1 -	bordercolor .5 .5 .5 1 -	visible 1 -	decoration -  } -itemDef { -	name pingColumn -	group grpColumn -	rect 560 128 52 235 -	style WINDOW_STYLE_FILLED -	border 1 -	backcolor 0 0 0 0 -	bordersize 1 -	bordercolor .5 .5 .5 1 -	visible 1 -	decoration -  } +    // map selection +    itemDef { +      name gametypefield +      style 0  +      ownerdraw UI_NETSOURCE +      rect 10 20 134 40  +      textstyle 6 +      textalign ITEM_ALIGN_LEFT    +      textalignx 2      +      textaligny 30     +      textscale .32      +      forecolor 1 1 1 1 +      visible 1  +      action { play "sound/misc/kcaction.wav" } +      mouseEnter { show message_source } +      mouseExit { hide message_source } +    } - itemDef { -	name serverlist -	rect 10 128 620 235 -	type ITEM_TYPE_LISTBOX -	style WINDOW_STYLE_FILLED -	elementwidth 120 -	elementheight 20 -	textscale .25 -	elementtype LISTBOX_TEXT -	feeder FEEDER_SERVERS -	border 1 -	bordercolor .5 .5 .5 1 -	forecolor 1 1 1 1 -	backcolor 0 0 .7 .25 -	outlinecolor 0 1 0 .25 -	visible 1 -	columns 5 2 40 40 275 40 20 400 5 10 460 20 10 560 20 20 -	mouseenter { setitemcolor serverlist bordercolor .7 0 0 1 } -	mouseexit { setitemcolor serverlist bordercolor .5 .5 .5 .5 } -	doubleClick { uiScript JoinServer } -  } +    itemDef +    { +      name gametypefield +      style 0  +      textstyle 6 +      ownerdraw UI_NETFILTER +      rect 149 20 181 40  +      textalign ITEM_ALIGN_LEFT    +      textalignx 2      +      textaligny 30     +      textscale .32      +      forecolor 1 1 1 1 +      visible 1  +      action { play "sound/misc/kcaction.wav" } +      mouseEnter { show message_gamefilter } +      mouseExit { hide message_gamefilter } +    } + +    itemDef +    { +      name gametypefield +      style 0  +      textstyle 6 +      text "Type:" +      ownerdraw UI_JOINGAMETYPE +      rect 330 20 160 40  +      textalign ITEM_ALIGN_LEFT    +      textalignx 2      +      textaligny 30     +      textscale .32      +      forecolor 1 1 1 1 +      border 0 +      bordercolor 0 0 0 0 +      visible 1  +      action { play "sound/misc/kcaction.wav" } +      mouseEnter { show message_typefilter } +      mouseExit { hide message_typefilter } +    } + +    itemDef +    { +      name mappreview +      style 0  +      ownerdraw UI_NETMAPCINEMATIC +      rect 505 5 128 96 +      border 1 +      bordercolor 0 .5 0 .5 +      visible 1  +    } + +    itemDef +    { +      name mappreview +      style WINDOW_STYLE_FILLED  +      rect 505 5 128 96  +      border 1 +      bordercolor .5 .5 .5 .5 +      visible 1  +    } + +    itemDef +    { +      name horizontoalseparators +      rect 10 132 604 20 +      style WINDOW_STYLE_FILLED +      border 0 +      backcolor 0 0 .5 .25 +      visible 1 +      decoration +    } + +    itemDef +    { +      name horizontoalseparators +      rect 10 172 604 20 +      style WINDOW_STYLE_FILLED +      border 0 +      backcolor 0 0 .5 .25 +      visible 1 +      decoration +    } +     +    itemDef +    { +      name horizontoalseparators +      rect 10 212 604 20 +      style WINDOW_STYLE_FILLED +      border 0 +      backcolor 0 0 .5 .25 +      visible 1 +      decoration +    } +     +    itemDef +    { +      name horizontoalseparators +      rect 10 252 604 20 +      style WINDOW_STYLE_FILLED +      border 0 +      backcolor 0 0 .5 .25 +      visible 1 +      decoration +    } +     +    itemDef +    { +      name horizontoalseparators +      rect 10 292 604 20 +      style WINDOW_STYLE_FILLED +      border 0 +      backcolor 0 0 .5 .25 +      visible 1 +      decoration +    } +     +    itemDef +    { +      name horizontoalseparators +      rect 10 332 604 20 +      style WINDOW_STYLE_FILLED +      border 0 +      backcolor 0 0 .5 .25 +      visible 1 +      decoration +    } + + +    //  COLUMNS // + +    itemDef +    { +      name serverColumn +      group grpColumn +      rect 10 128 265 235 +      style WINDOW_STYLE_FILLED +      border 1 +      backcolor 0 0 0 0 +      bordersize 1 +      bordercolor .5 .5 .5 1 +      visible 1 +      decoration +    } +     +    itemDef +    { +      name mapColumn +      group grpColumn +      rect 275 128 125 235 +      style WINDOW_STYLE_FILLED +      border 1 +      backcolor 0 0 0 0 +      bordersize 1 +      bordercolor .5 .5 .5 1 +      visible 1 +      decoration +    } +     +    itemDef +    { +      name playerColumn +      group grpColumn +      rect 400 128 60 235 +      style WINDOW_STYLE_FILLED +      border 1 +      backcolor 0 0 0 0 +      bordersize 1 +      bordercolor .5 .5 .5 1 +      visible 1 +      decoration +    } +     +/*    itemDef +    { +      name typeColumn +      group grpColumn +      rect 460 128 100 235 +      style WINDOW_STYLE_FILLED +      border 1 +      backcolor 0 0 0 0 +      bordersize 1 +      bordercolor .5 .5 .5 1 +      visible 1 +      decoration +    }*/ +     +    itemDef +    { +      name pingColumn +      group grpColumn +      rect 560 128 52 235 +      style WINDOW_STYLE_FILLED +      border 1 +      backcolor 0 0 0 0 +      bordersize 1 +      bordercolor .5 .5 .5 1 +      visible 1 +      decoration +    } + +    itemDef +    { +      name serverlist +      rect 10 128 620 235 +      type ITEM_TYPE_LISTBOX +      style WINDOW_STYLE_FILLED +      elementwidth 120 +      elementheight 20 +      textscale .25 +      elementtype LISTBOX_TEXT +      feeder FEEDER_SERVERS +      border 1 +      bordercolor .5 .5 .5 1 +      forecolor 1 1 1 1 +      backcolor 0 0 .7 .25 +      outlinecolor 0 1 0 .25 +      visible 1 +      columns 5 +        2   40  40  ITEM_ALIGN_LEFT +        275 40  20  ITEM_ALIGN_LEFT +        400 5   10  ITEM_ALIGN_LEFT +        460 20  10  ITEM_ALIGN_LEFT +        560 20  20  ITEM_ALIGN_LEFT + +/*      mouseenter { setitemcolor serverlist bordercolor .7 0 0 1 } +      mouseexit { setitemcolor serverlist bordercolor .5 .5 .5 .5 }*/ +      doubleClick { uiScript JoinServer } +    } + + +    //  SORT TABS // + +    itemDef +    { +      name server +      group grpTabs +      text "Server Name" +      type ITEM_TYPE_BUTTON +      textscale .25 +      style WINDOW_STYLE_FILLED +      background "ui/assets/sorttab.tga" +      rect 10 103 110 26  +      textalign 1 +      textalignx 59   // center +      textaligny 21 +      forecolor 1 1 1 1 +      backcolor .1 .1 .37 1 +      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 } +/*      mouseEnter { show message_sort ; setitemcolor serverColumn bordercolor 1 0 0 1 } +      mouseExit { hide message_sort ; setitemcolor serverColumn bordercolor .5 .5 .5 1 }  */ +    } + +    itemDef +    { +      name map +      group grpTabs +      type ITEM_TYPE_BUTTON +      text "Map Name" +      textscale .25 +      style WINDOW_STYLE_FILLED +      background "ui/assets/sorttab.tga" +      rect 275 103 100 26 +      textalign 1 +      textalignx 50   // center +      textaligny 21 +      backcolor .1 .1 .37 1 +      forecolor 1 1 1 1 +      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 } +/*      mouseEnter { show message_sort ; setitemcolor mapColumn bordercolor 1 0 0 1 } +      mouseExit { hide message_sort ; setitemcolor mapColumn bordercolor .5 .5 .5 1 }       */ +    } + +    itemDef +    { +      name Players +      group grpTabs +      text "#Plyrs" +      type ITEM_TYPE_BUTTON +      textscale .25 +      style WINDOW_STYLE_FILLED +      background "ui/assets/sorttab.tga" +      rect 400 103 50 26 +      textalign 1 +      textalignx 25   // center +      textaligny 21 +      forecolor 1 1 1 1 +      backcolor .1 .1 .37 1 +      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 } +/*      mouseEnter { show message_sort ; setitemcolor playerColumn bordercolor 1 0 0 1 } +      mouseExit { hide message_sort ; setitemcolor playerColumn bordercolor .5 .5 .5 1 }      */ +    } +    itemDef +    { +      name Type +      group grpTabs +      text "Type" +      textscale .25 +      type ITEM_TYPE_BUTTON +      style WINDOW_STYLE_FILLED +      background "ui/assets/sorttab.tga" +      rect 460 103 60 26 +      textalign 1 +      textalignx 30   // center +      textaligny 21 +      backcolor .1 .1 .37 1 +      forecolor 1 1 1 1 +      visible 1  +      action { play "sound/misc/nomenu.wav" ;  +      uiScript ServerSort 3 ; +      setitemcolor grpTabs backcolor .1 .1 .37 1 ;  +      setitemcolor Type backcolor .1 .37 .1 1 ;   +      setitemcolor grpColumn backcolor 0 0 0 0 ;  +      setitemcolor typeColumn backcolor 0 1 0 .25 } +/*      mouseEnter { show message_sort ; setitemcolor typeColumn bordercolor 1 0 0 1 } +      mouseExit { hide message_sort ; setitemcolor typeColumn bordercolor .5 .5 .5 1 }        */ +    } + + +    itemDef +    { +      name Ping +      group grpTabs +      text "Ping" +      type ITEM_TYPE_BUTTON +      textscale .25 +      style WINDOW_STYLE_FILLED +      background "ui/assets/sorttab.tga" +      rect 560 103 52 26 +      textalign 1 +      textalignx 26   // center +      textaligny 21 +      backcolor .1 .1 .37 1 +      forecolor 1 1 1 1 +      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 } +/*      mouseEnter { show message_sort ; setitemcolor pingColumn bordercolor 1 0 0 1 } +      mouseExit { hide message_sort ; setitemcolor pingColumn bordercolor .5 .5 .5 1 }    */ +    } + +    //  BUTTONS   // + +    itemDef +    { +      name refreshSource +      text "Get New List" +      type ITEM_TYPE_BUTTON +      textscale .3 +      style WINDOW_STYLE_FILLED +      //background "ui/assets/button_red.tga" +      background "ui/assets/button_back.tga" +      rect 16 67 105 26 +      textalign 1 +      textalignx 52   // center +      textaligny 20 +      backcolor .37 .1 .1 1 +      forecolor 1 1 1 1 +      visible 1  +/*      mouseEnter { show message_refreshSOurce ; setitemcolor refreshSource backcolor .1 .37 .1 1 } +      mouseExit { hide message_refreshSource ; setitemcolor refreshSource backcolor .37 .1 .1 1 }*/ +      action { play "sound/misc/nomenu.wav" ;  +      uiScript RefreshServers }        +    } +/*    itemDef +    { +      name refreshSource +      style WINDOW_STYLE_SHADER +      background "ui/assets/framebutton.tga" +      rect 16 67 105 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name refreshSource +      style WINDOW_STYLE_SHADER +      background "ui/assets/leftbutton.tga" +      rect 4 67 13 26 +      visible 1  +      decoration       +    } +     +    itemDef +    { +      name refreshSource +      style WINDOW_STYLE_SHADER +      background "ui/assets/rightbutton.tga" +      rect 120 67 13 26 +      visible 1  +      decoration       +    }*/ + +    itemDef +    { +      name refreshFilter +      text "Refresh List" +      textscale .3 +      style WINDOW_STYLE_FILLED +      type ITEM_TYPE_BUTTON +      background "ui/assets/button_back.tga" +      rect 149 67 94 26 +      textalign 1 +      textalignx 46   // center +      textaligny 20 +      backcolor .37 .1 .1 1  +      forecolor 1 1 1 1 +      visible 1  +/*      mouseEnter { show message_refreshFilter ; setitemcolor refreshFilter backcolor .1 .37 .1 1 } +      mouseExit { hide message_refreshFilter ; setitemcolor refreshFilter backcolor .37 .1 .1 1 }       */ +      action { play "sound/misc/nomenu.wav" ;  +      uiScript RefreshFilter }         +    } + + +/*    itemDef +    { +      name refreshFilter +      style WINDOW_STYLE_SHADER +      background "ui/assets/framebutton.tga" +      rect 149 67 94 26 +      visible 1  +      decoration       +    } + + +    itemDef +    { +      name refreshFilter +      style WINDOW_STYLE_SHADER +      background "ui/assets/leftbutton.tga" +      rect 137 67 13 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name refreshFilter +      style WINDOW_STYLE_SHADER +      background "ui/assets/rightbutton.tga" +      rect 242 67 13 26 +      visible 1  +      decoration       +    }*/ + + +    itemDef +    { +      name password +      text "Password" +      type ITEM_TYPE_BUTTON +      textscale .3 +      style WINDOW_STYLE_FILLED +      background "ui/assets/button_back.tga" +      rect 20 395 92 26 +      textalign 1 +      textalignx 46   // center +      textaligny 20 +      backcolor .37 .1 .1 1 +      forecolor 1 1 1 1 +      visible 1  +      action { play "sound/misc/kcaction.wav" ;  +      open password_popmenu } +/*      mouseEnter { show message_password ; setitemcolor password backcolor .1 .37 .1 1 } +      mouseExit { hide message_password ; setitemcolor password backcolor .37 .1 .1 1 }       */ +    } + +/*    itemDef +    { +      name password +      style WINDOW_STYLE_SHADER +      background "ui/assets/framebutton.tga" +      rect 20 395 92 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name password +      style WINDOW_STYLE_SHADER +      background "ui/assets/leftbutton.tga" +      rect 14 395 7 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name password +      style WINDOW_STYLE_SHADER +      background "ui/assets/rightbutton.tga" +      rect 111 395 7 26 +      visible 1  +      decoration       +    }*/ + + +    itemDef +    { +      name createFavorite +      text "New Favorite" +      type ITEM_TYPE_BUTTON +      textscale .3 +      style WINDOW_STYLE_FILLED +      background "ui/assets/button_back.tga" +      rect 148 395 92 26 +      textalign 1 +      textalignx 46   // center +      textaligny 20 +      backcolor .37 .1 .1 1 +      forecolor 1 1 1 1 +      visible 1  +      action { play "sound/misc/kcaction.wav" ;  +      open createfavorite_popmenu } +/*      mouseEnter { show message_createFavorite ; setitemcolor createFavorite backcolor .1 .37 .1 1 } +      mouseExit { hide message_createFavorite ; setitemcolor createFavorite backcolor .37 .1 .1 1 }             */ +    } +     +/*    itemDef +    { +      name createFavorite +      style WINDOW_STYLE_SHADER +      background "ui/assets/framebutton.tga" +      rect 148 395 92 26 +      visible 1  +      decoration       +    } -//	SORT TABS	// - - - itemDef { -      	name server -	group grpTabs -      	text "Server Name" -	type ITEM_TYPE_BUTTON -      	textscale .25 -      	style WINDOW_STYLE_FILLED -	background "ui/assets/sorttab.tga" -      	rect 10 103 110 26  -	textalign 1 -      	textalignx 59		// center -      	textaligny 21 -      	forecolor 1 1 1 1 -	backcolor .1 .1 .37 1 -      	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 } -	mouseEnter { show message_sort ; setitemcolor serverColumn bordercolor 1 0 0 1 } -      	mouseExit { hide message_sort ; setitemcolor serverColumn bordercolor .5 .5 .5 1 }   -    } - - - - itemDef { -      	name map -	group grpTabs -	type ITEM_TYPE_BUTTON -      	text "Map Name" -      	textscale .25 -	style WINDOW_STYLE_FILLED -	background "ui/assets/sorttab.tga" -      	rect 275 103 100 26 -	textalign 1 -      	textalignx 50		// center -      	textaligny 21 -	backcolor .1 .1 .37 1 -      	forecolor 1 1 1 1 -      	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 } -	mouseEnter { show message_sort ; setitemcolor mapColumn bordercolor 1 0 0 1 } -      	mouseExit { hide message_sort ; setitemcolor mapColumn bordercolor .5 .5 .5 1 }	  	   -    } - - - - itemDef { -	name Players -	group grpTabs -	text "#Plyrs" -	type ITEM_TYPE_BUTTON -	textscale .25 -	style WINDOW_STYLE_FILLED -	background "ui/assets/sorttab.tga" -	rect 400 103 50 26 -	textalign 1 -	textalignx 25		// center -	textaligny 21 -	forecolor 1 1 1 1 -	backcolor .1 .1 .37 1 -	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 } -	mouseEnter { show message_sort ; setitemcolor playerColumn bordercolor 1 0 0 1 } -      	mouseExit { hide message_sort ; setitemcolor playerColumn bordercolor .5 .5 .5 1 }  	   -    } - - -itemDef { -	name Type -	group grpTabs -	text "Type" -	textscale .25 -	type ITEM_TYPE_BUTTON -	style WINDOW_STYLE_FILLED -	background "ui/assets/sorttab.tga" -	rect 460 103 60 26 -	textalign 1 -	textalignx 30		// center -	textaligny 21 -	backcolor .1 .1 .37 1 -	forecolor 1 1 1 1 -	visible 1  -	action { play "sound/misc/nomenu.wav" ;  -		uiScript ServerSort 3 ; -		setitemcolor grpTabs backcolor .1 .1 .37 1 ;  -		setitemcolor Type backcolor .1 .37 .1 1 ;   -		setitemcolor grpColumn backcolor 0 0 0 0 ;  -		setitemcolor typeColumn backcolor 0 1 0 .25 } -	mouseEnter { show message_sort ; setitemcolor typeColumn bordercolor 1 0 0 1 } -      	mouseExit { hide message_sort ; setitemcolor typeColumn bordercolor .5 .5 .5 1 }	  	   -    } - - -itemDef { -	name Ping -	group grpTabs -	text "Ping" -	type ITEM_TYPE_BUTTON -	textscale .25 -	style WINDOW_STYLE_FILLED -	background "ui/assets/sorttab.tga" -	rect 560 103 52 26 -	textalign 1 -	textalignx 26		// center -	textaligny 21 -	backcolor .1 .1 .37 1 -	forecolor 1 1 1 1 -	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 } -	mouseEnter { show message_sort ; setitemcolor pingColumn bordercolor 1 0 0 1 } -      	mouseExit { hide message_sort ; setitemcolor pingColumn bordercolor .5 .5 .5 1 }	   -    } - - - - - -// 	BUTTONS		// - -itemDef { -      	name refreshSource -      	text "Get New List" -	type ITEM_TYPE_BUTTON -      	textscale .3 -	style WINDOW_STYLE_FILLED -	//background "ui/assets/button_red.tga" -	background "ui/assets/button_back.tga" -      	rect 16 67 105 26 -	textalign 1 -      	textalignx 52		// center -      	textaligny 20 -	backcolor .37 .1 .1 1 -      	forecolor 1 1 1 1 -      	visible 1  -	mouseEnter { show message_refreshSOurce ; setitemcolor refreshSource backcolor .1 .37 .1 1 } -      	mouseExit { hide message_refreshSource ; setitemcolor refreshSource backcolor .37 .1 .1 1 } -	action { play "sound/misc/nomenu.wav" ;  -	uiScript RefreshServers }	  	   -    	} - - - -itemDef { -      	name refreshSource -	style WINDOW_STYLE_SHADER -	background "ui/assets/framebutton.tga" - 	rect 16 67 105 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name refreshSource -	style WINDOW_STYLE_SHADER -	background "ui/assets/leftbutton.tga" -      	rect 4 67 13 26 -      	visible 1  -	decoration  	   -    	} -itemDef { -      	name refreshSource -	style WINDOW_STYLE_SHADER -	background "ui/assets/rightbutton.tga" -      	rect 120 67 13 26 -      	visible 1  -	decoration  	   -    	} - - - - -itemDef { -      	name refreshFilter -      	text "Refresh List" -      	textscale .3 -	style WINDOW_STYLE_FILLED -	type ITEM_TYPE_BUTTON -	background "ui/assets/button_back.tga" -      	rect 149 67 94 26 -	textalign 1 -      	textalignx 46		// center -      	textaligny 20 -	backcolor .37 .1 .1 1  -      	forecolor 1 1 1 1 -      	visible 1  -	mouseEnter { show message_refreshFilter ; setitemcolor refreshFilter backcolor .1 .37 .1 1 } -      	mouseExit { hide message_refreshFilter ; setitemcolor refreshFilter backcolor .37 .1 .1 1 }	  	   -	action { play "sound/misc/nomenu.wav" ;  -	uiScript RefreshFilter }	  	   -    	} - - - -itemDef { -      	name refreshFilter -	style WINDOW_STYLE_SHADER -	background "ui/assets/framebutton.tga" -      	rect 149 67 94 26 -      	visible 1  -	decoration  	   -    	} - - -itemDef { -      	name refreshFilter -	style WINDOW_STYLE_SHADER -	background "ui/assets/leftbutton.tga" -      	rect 137 67 13 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name refreshFilter -	style WINDOW_STYLE_SHADER -	background "ui/assets/rightbutton.tga" -      	rect 242 67 13 26 -      	visible 1  -	decoration  	   -    	} - - - - - - - - - -itemDef { -      	name password -      	text "Password" -	type ITEM_TYPE_BUTTON -      	textscale .3 -	style WINDOW_STYLE_FILLED -	background "ui/assets/button_back.tga" -      	rect 20 395 92 26 -	textalign 1 -      	textalignx 46		// center -      	textaligny 20 -	backcolor .37 .1 .1 1 -      	forecolor 1 1 1 1 -      	visible 1  -      	action { play "sound/misc/kcaction.wav" ;  -	open password_popmenu } -	mouseEnter { show message_password ; setitemcolor password backcolor .1 .37 .1 1 } -      	mouseExit { hide message_password ; setitemcolor password backcolor .37 .1 .1 1 }	  	   -    } - -itemDef { -      	name password -	style WINDOW_STYLE_SHADER -	background "ui/assets/framebutton.tga" -	rect 20 395 92 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name password -	style WINDOW_STYLE_SHADER -	background "ui/assets/leftbutton.tga" -      	rect 14 395 7 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name password -	style WINDOW_STYLE_SHADER -	background "ui/assets/rightbutton.tga" -      	rect 111 395 7 26 -      	visible 1  -	decoration  	   -    	} - - -itemDef { -      	name createFavorite -      	text "New Favorite" -	type ITEM_TYPE_BUTTON -      	textscale .3 -	style WINDOW_STYLE_FILLED -	background "ui/assets/button_back.tga" -      	rect 148 395 92 26 -	textalign 1 -      	textalignx 46		// center -      	textaligny 20 -	backcolor .37 .1 .1 1 -      	forecolor 1 1 1 1 -      	visible 1  -      	action { play "sound/misc/kcaction.wav" ;  -	open createfavorite_popmenu } -	mouseEnter { show message_createFavorite ; setitemcolor createFavorite backcolor .1 .37 .1 1 } -      	mouseExit { hide message_createFavorite ; setitemcolor createFavorite backcolor .37 .1 .1 1 }	  	    	   -    	} -itemDef { -      	name createFavorite -	style WINDOW_STYLE_SHADER -	background "ui/assets/framebutton.tga" -	rect 148 395 92 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name createFavorite -	style WINDOW_STYLE_SHADER -	background "ui/assets/leftbutton.tga" -      	rect 142 395 7 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name createFavorite -	style WINDOW_STYLE_SHADER -	background "ui/assets/rightbutton.tga" -      	rect 239 395 7 26 -      	visible 1  -	decoration  	   -    	} - - - - - -itemDef { -      	name addFavorite -      	text "Add Favorite" -	type ITEM_TYPE_BUTTON -      	textscale .3 -	style WINDOW_STYLE_FILLED -	background "ui/assets/button_back.tga" -	ownerdrawFlag UI_SHOW_NOTFAVORITESERVERS -      	rect 276 395 92 26 -	textalign 1 -      	textalignx 46		// center -      	textaligny 20 -	backcolor .37 .1 .1 1 -      	forecolor 1 1 1 1 -      	visible 1  -      	action { play "sound/misc/nomenu.wav" ;  -	uiScript addFavorite } -	mouseEnter { show message_addFavorite ; setitemcolor addFavorite backcolor .1 .37 .1 1 } -      	mouseExit { hide message_addFavorite ; setitemcolor addFavorite backcolor .37 .1 .1 1 }	  	   -    	} - - -itemDef { -      	name addFavorite -	style WINDOW_STYLE_SHADER -	background "ui/assets/framebutton.tga" -	rect 276 395 92 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name addFavorite -	style WINDOW_STYLE_SHADER -	background "ui/assets/leftbutton.tga" -      	rect 270 395 7 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name addFavorite -	style WINDOW_STYLE_SHADER -	background "ui/assets/rightbutton.tga" -      	rect 367 395 7 26 -      	visible 1  -	decoration  	   -    	} - - -itemDef { -      	name delfavorite -      	text "Del. Favorite" -	type ITEM_TYPE_BUTTON -      	textscale .3 -	style WINDOW_STYLE_FILLED -	ownerdrawFlag UI_SHOW_FAVORITESERVERS -	background "ui/assets/button_back.tga" -      	rect 276 395 92 26 -	textalign 1 -      	textalignx 46		// center -      	textaligny 20 -	backcolor .37 .1 .1 1 -      	forecolor 1 1 1 1 -      	visible 1  -      	action { play "sound/misc/nomenu.wav" ;  -	uiScript DeleteFavorite ; uiScript UpdateFilter } -	mouseEnter { show message_delFavorite ; setitemcolor delfavorite backcolor .1 .37 .1 1 } -      	mouseExit { hide message_delFavorite ; setitemcolor delfavorite backcolor .37 .1 .1 1 }	  	   -    	} -itemDef { -      	name delfavorite -	style WINDOW_STYLE_SHADER -	ownerdrawFlag UI_SHOW_FAVORITESERVERS -	background "ui/assets/framebutton.tga" -	rect 276 395 92 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name delfavorite -	style WINDOW_STYLE_SHADER -	ownerdrawFlag UI_SHOW_FAVORITESERVERS -	background "ui/assets/leftbutton.tga" -      	rect 270 395 7 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name delfavorite -	style WINDOW_STYLE_SHADER -	ownerdrawFlag UI_SHOW_FAVORITESERVERS -	background "ui/assets/rightbutton.tga" -      	rect 367 395 7 26 -      	visible 1  -	decoration  	   -    	} - - - - - -itemDef { -      	name serverinfo -      	text "Server Info" -	type ITEM_TYPE_BUTTON -      	textscale .3 -	style WINDOW_STYLE_FILLED -	background "ui/assets/button_back.tga" -      	rect 404 395 92 26 -	textalign 1 -      	textalignx 46		// center -      	textaligny 20 -	backcolor .37 .1 .1 1 -      	forecolor 1 1 1 1 -      	visible 1  -      	action { play "sound/misc/kcaction.wav" ;  -	open serverinfo_popmenu } -	mouseEnter { show message_serverinfo ; setitemcolor serverinfo backcolor .1 .37 .1 1 } -      	mouseExit { hide message_serverinfo ; setitemcolor serverinfo backcolor .37 .1 .1 1 }	  	   -    	} -itemDef { -      	name serverinfo -	style WINDOW_STYLE_SHADER -	background "ui/assets/framebutton.tga" -	rect 404 395 92 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name serverinfo -	style WINDOW_STYLE_SHADER -	background "ui/assets/leftbutton.tga" -      	rect 398 395 7 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name serverinfo -	style WINDOW_STYLE_SHADER -	background "ui/assets/rightbutton.tga" -      	rect 495 395 7 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name findplayer -      	text "Find Friend" -	type ITEM_TYPE_BUTTON -      	textscale .3 -	style WINDOW_STYLE_FILLED -	background "ui/assets/button_back.tga" -      	rect 532 395 92 26 -	textalign 1 -      	textalignx 46		// center -      	textaligny 20 -	backcolor .37 .1 .1 1 -      	forecolor 1 1 1 1 -      	visible 1  -      	action { play "sound/misc/kcaction.wav" ;  -	open findplayer_popmenu } -	mouseEnter { show message_findplayer ; setitemcolor findplayer backcolor .1 .37 .1 1 } -      	mouseExit { hide message_findplayer ; setitemcolor findplayer backcolor .37 .1 .1 1 }	  	   -    	} -itemDef { -      	name serverinfo -	style WINDOW_STYLE_SHADER -	background "ui/assets/framebutton.tga" -	rect 532 395 92 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name serverinfo -	style WINDOW_STYLE_SHADER -	background "ui/assets/leftbutton.tga" -      	rect 526 395 7 26 -      	visible 1  -	decoration  	   -    	} - -itemDef { -      	name serverinfo -	style WINDOW_STYLE_SHADER -	background "ui/assets/rightbutton.tga" -      	rect 623 395 7 26 -      	visible 1  -	decoration  	   -    	} - - - - - - - - -//	VIEW OPTIONS	// - -itemDef { -      	name viewEmpty -	type ITEM_TYPE_YESNO -      	text "View Empty:" - -	cvar "ui_browserShowEmpty" -      	textscale .25 -      	rect 262 71 125 20 -	textalign 0 -      	textalignx 0		 -      	textaligny 17 -      	forecolor 1 1 1 1 -      	visible 1  -	    action { play "sound/misc/nomenu.wav" ; -		uiScript RefreshFilter } -	mouseEnter { show message_viewEmpty } -      	mouseExit { hide message_viewEmpty }	  	   -    } -itemDef { -      	name viewEmpty -	type 11 -      	text "View Full:" -	cvar "ui_browserShowFull" -      	textscale .25 -      	rect 387 71 125 20 -	textalign 0 -      	textalignx 0		 -      	textaligny 17 -      	forecolor 1 1 1 1 -      	visible 1  -	    action { uiScript RefreshFilter ;  -		play "sound/misc/nomenu.wav" } -	mouseEnter { show message_viewFull } -      	mouseExit { hide message_viewFull }	  	   -    } - - - - - -// BACK BAR	// - - -  itemDef { +    itemDef +    { +      name createFavorite +      style WINDOW_STYLE_SHADER +      background "ui/assets/leftbutton.tga" +      rect 142 395 7 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name createFavorite +      style WINDOW_STYLE_SHADER +      background "ui/assets/rightbutton.tga" +      rect 239 395 7 26 +      visible 1  +      decoration       +    }*/ + +    itemDef +    { +      name addFavorite +      text "Add Favorite" +      type ITEM_TYPE_BUTTON +      textscale .4 +      style WINDOW_STYLE_FILLED +      ownerdrawFlag UI_SHOW_NOTFAVORITESERVERS +      rect 276 395 92 26 +      textalign 1 +      textalignx 46   // center +      textaligny 22 +      backcolor 0 0 0 1 +      forecolor 1 1 1 1 +      visible 1  +      action { play "sound/misc/nomenu.wav" ;  +      uiScript addFavorite } +/*      mouseEnter { show message_addFavorite ; setitemcolor addFavorite backcolor .1 .37 .1 1 } +      mouseExit { hide message_addFavorite ; setitemcolor addFavorite backcolor .37 .1 .1 1 }       */ +    } + +/*    itemDef +    { +      name addFavorite +      style WINDOW_STYLE_SHADER +      background "ui/assets/framebutton.tga" +      rect 276 395 92 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name addFavorite +      style WINDOW_STYLE_SHADER +      background "ui/assets/leftbutton.tga" +      rect 270 395 7 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name addFavorite +      style WINDOW_STYLE_SHADER +      background "ui/assets/rightbutton.tga" +      rect 367 395 7 26 +      visible 1  +      decoration       +    }*/ + +    itemDef +    { +      name delfavorite +      text "Del. Favorite" +      type ITEM_TYPE_BUTTON +      textscale .3 +      style WINDOW_STYLE_FILLED +      ownerdrawFlag UI_SHOW_FAVORITESERVERS +      background "ui/assets/button_back.tga" +      rect 276 395 92 26 +      textalign 1 +      textalignx 46   // center +      textaligny 20 +      backcolor .37 .1 .1 1 +      forecolor 1 1 1 1 +      visible 1  +      action { play "sound/misc/nomenu.wav" ;  +      uiScript DeleteFavorite ; uiScript UpdateFilter } +/*      mouseEnter { show message_delFavorite ; setitemcolor delfavorite backcolor .1 .37 .1 1 } +      mouseExit { hide message_delFavorite ; setitemcolor delfavorite backcolor .37 .1 .1 1 }       */ +    } +     +/*    itemDef +    { +      name delfavorite +      style WINDOW_STYLE_SHADER +      ownerdrawFlag UI_SHOW_FAVORITESERVERS +      background "ui/assets/framebutton.tga" +      rect 276 395 92 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name delfavorite +      style WINDOW_STYLE_SHADER +      ownerdrawFlag UI_SHOW_FAVORITESERVERS +      background "ui/assets/leftbutton.tga" +      rect 270 395 7 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name delfavorite +      style WINDOW_STYLE_SHADER +      ownerdrawFlag UI_SHOW_FAVORITESERVERS +      background "ui/assets/rightbutton.tga" +      rect 367 395 7 26 +      visible 1  +      decoration       +    }*/ + + + + + +    itemDef +    { +      name serverinfo +      text "Server Info" +      type ITEM_TYPE_BUTTON +      textscale .3 +      style WINDOW_STYLE_FILLED +      background "ui/assets/button_back.tga" +      rect 404 395 92 26 +      textalign 1 +      textalignx 46   // center +      textaligny 20 +      backcolor .37 .1 .1 1 +      forecolor 1 1 1 1 +      visible 1  +      action { play "sound/misc/kcaction.wav" ;  +      open serverinfo_popmenu } +/*      mouseEnter { show message_serverinfo ; setitemcolor serverinfo backcolor .1 .37 .1 1 } +      mouseExit { hide message_serverinfo ; setitemcolor serverinfo backcolor .37 .1 .1 1 }       */ +    } +     +/*    itemDef +    { +      name serverinfo +      style WINDOW_STYLE_SHADER +      background "ui/assets/framebutton.tga" +      rect 404 395 92 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name serverinfo +      style WINDOW_STYLE_SHADER +      background "ui/assets/leftbutton.tga" +      rect 398 395 7 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name serverinfo +      style WINDOW_STYLE_SHADER +      background "ui/assets/rightbutton.tga" +      rect 495 395 7 26 +      visible 1  +      decoration       +    }*/ + +    itemDef +    { +      name findplayer +      text "Find Friend" +      type ITEM_TYPE_BUTTON +      textscale .3 +      style WINDOW_STYLE_FILLED +      background "ui/assets/button_back.tga" +      rect 532 395 92 26 +      textalign 1 +      textalignx 46   // center +      textaligny 20 +      backcolor .37 .1 .1 1 +      forecolor 1 1 1 1 +      visible 1  +      action { play "sound/misc/kcaction.wav" ;  +      open findplayer_popmenu } +/*      mouseEnter { show message_findplayer ; setitemcolor findplayer backcolor .1 .37 .1 1 } +      mouseExit { hide message_findplayer ; setitemcolor findplayer backcolor .37 .1 .1 1 }       */ +    } +     +/*    itemDef +    { +      name serverinfo +      style WINDOW_STYLE_SHADER +      background "ui/assets/framebutton.tga" +      rect 532 395 92 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name serverinfo +      style WINDOW_STYLE_SHADER +      background "ui/assets/leftbutton.tga" +      rect 526 395 7 26 +      visible 1  +      decoration       +    } + +    itemDef +    { +      name serverinfo +      style WINDOW_STYLE_SHADER +      background "ui/assets/rightbutton.tga" +      rect 623 395 7 26 +      visible 1  +      decoration       +    }*/ + + +    //  VIEW OPTIONS  // + +    itemDef +    { +      name viewEmpty +      type ITEM_TYPE_YESNO +      text "View Empty:" + +      cvar "ui_browserShowEmpty" +      textscale .25 +      rect 262 71 125 20 +      textalign 0 +      textalignx 0     +      textaligny 17 +      forecolor 1 1 1 1 +      visible 1  +      action { play "sound/misc/nomenu.wav" ; +      uiScript RefreshFilter } +      mouseEnter { show message_viewEmpty } +      mouseExit { hide message_viewEmpty }         +    } +     +    itemDef +    { +      name viewEmpty +      type 11 +      text "View Full:" +      cvar "ui_browserShowFull" +      textscale .25 +      rect 387 71 125 20 +      textalign 0 +      textalignx 0     +      textaligny 17 +      forecolor 1 1 1 1 +      visible 1  +      action { uiScript RefreshFilter ;  +      play "sound/misc/nomenu.wav" } +      mouseEnter { show message_viewFull } +      mouseExit { hide message_viewFull }        +    } + + + + + +    // BACK BAR // + + +/*    itemDef +    {        name gotobar        style 2        rect 0 430 640 30         textscale 0.4 -      textalign 0		// center -      textalignx 60        	// x alignment point for text -                            	// use it to offset left/right text from the edge  -                            	// or to center the text on a different point +      textalign 0   // center +      textalignx 60         // x alignment point for text +                              // use it to offset left/right text from the edge  +                              // or to center the text on a different point        textaligny 21                style 2        border 4 @@ -931,329 +977,354 @@ itemDef {        mouseEnter { setcolor backcolor .75 0 0 .5 }        mouseExit { setcolor backcolor 0 0 .75 .5 }        decoration  +    }*/ + +    itemDef +    { +      name back +      style 3 +      background "ui/assets/backarrow.tga" +      rect 16 424 50 50  +      visible 1  +      action { close joinserver ; open main } +      mouseEnter { hide back ; show back_alt ; show message_back }      } -    itemDef { -      	name back -	style 3 -      	background "ui/assets/backarrow.tga" -	rect 16 424 50 50  -      	visible 1  -      	action { close joinserver ; open main } -	mouseEnter { hide back ; show back_alt ; show message_back } -    	} - -itemDef { -      	name back_alt -      	style WINDOW_STYLE_SHADER -	background "ui/assets/backarrow_alt.tga" -	rect 14 422 54 54  -      	backcolor 0 0 0 0 -      	forecolor 1 1 1 1 -      	visible 0 -	type ITEM_TYPE_BUTTON -      	mouseExit { hide back_alt ; show back ; hide message_back }	   -      	action { close joinserver ; open main }	   -    	} +    itemDef +    { +      name back_alt +      style WINDOW_STYLE_SHADER +      background "ui/assets/backarrow_alt.tga" +      rect 16 424 50 50 +      backcolor 0 0 0 0 +      forecolor 1 1 1 1 +      visible 0 +      type ITEM_TYPE_BUTTON +      mouseExit { hide back_alt ; show back ; hide message_back }    +      action { close joinserver ; open main }    +    } -    itemDef { -      	name accept -      	style 3	 -     	rect 574 424 50 50  -     	background "ui/assets/forwardarrow.tga" -      	backcolor 0 0 0 0 -      	forecolor 1 1 1 1 -      	visible 1  -		mouseEnter { show lightning ; hide accept ; show accept_alt ; show message_accept ; playlooped "sound/misc/loop_electricity_05.wav" } -      	action { uiScript JoinServer } -  } - -	 itemDef { -      	name accept_alt -      	style WINDOW_STYLE_SHADER -     	rect 572 422 54 54  -     	background "ui/assets/forwardarrow_alt.tga" -      	backcolor 0 0 0 0 -		type ITEM_TYPE_BUTTON -      	forecolor 1 1 1 1 -      	visible 0   -	type ITEM_TYPE_BUTTON  -      	mouseExit { hide lightning ; hide accept_alt ; show accept ; hide message_accept ; playlooped "music/fla_mp03.wav" }	 -      	action { uiScript JoinServer } -  -  } +    itemDef +    { +      name accept +      style 3  +      rect 574 424 50 50  +      background "ui/assets/forwardarrow.tga" +      backcolor 0 0 0 0 +      forecolor 1 1 1 1 +      visible 1  +      mouseEnter { hide accept ; show accept_alt ; show message_accept } +      action { uiScript JoinServer } +    } - itemDef { -      	name lightning -      	style 3 -	background lightningkc -      	rect 46 385 246 128      -      	visible 0  -      	decoration  -    	} -itemDef { -      	name lightning -      	style 3 -	background lightningkc -      	rect 345 385 246 128      -      	visible 0  -      	decoration  -    	} - - - -//	MESSAGES	// - -itemDef { -	name message_back -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Exit to Main Menu" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} - -itemDef { -	name message_accept -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textalignx 0 -	textstyle 1 -	textaligny 25 -	textscale .416 -	text "Join Arena" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} -itemDef { -	name message_source -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Set Source" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} - -itemDef { -	name message_gamefilter -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Set to Filter for Specific Game Mods" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} -itemDef { -	name message_typefilter -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Set to Filter for Specific Game Types" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} - -itemDef { -	name message_sort -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Sort Column" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} -itemDef { -	name message_refreshSource -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Get Updated Server List from Current Source" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} -itemDef { -	name message_refreshFilter -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Refresh All Currently Filtered Servers" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} -itemDef { -	name message_addFavorite -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Add Selected Server to Favorites" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} -itemDef { -	name message_delFavorite -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Delete Selected Server from Favorites" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} -itemDef { -	name message_createFavorite -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Enter IP Address of Favorite Server" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} -itemDef { -	name message_addfilter -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Enter Four Letter Filter and Description" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} -itemDef { -	name message_password -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Enter Password for Protected Servers" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} -itemDef { -	name message_serverinfo -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Display Server Information" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} -itemDef { -	name message_findplayer -	group grpmessage -	style 0  -	rect 320 430 128 30 -	textalign 1 -	textstyle 1 -	textalignx 0 -	textaligny 25 -	textscale .416 -	text "Search Current Server List for Friends" -	forecolor 1 1 1 1 -	decoration  -	visible 0 -	} - - -itemDef { -      	name fadebox -      	style WINDOW_STYLE_FILLED - 	background "ui/assets/fadebox.tga" -	forecolor 0 0 0 1 -	backcolor 0 0 0 1 -	rect 0 0 640 480 -      	visible 1  -	decoration -    	} +    itemDef { +      name accept_alt +      style WINDOW_STYLE_SHADER +      rect 574 424 50 50 +      background "ui/assets/forwardarrow_alt.tga" +      backcolor 0 0 0 0 +      type ITEM_TYPE_BUTTON +      forecolor 1 1 1 1 +      visible 0   +      type ITEM_TYPE_BUTTON  +      mouseExit { hide accept_alt ; show accept ; hide message_accept }   +      action { uiScript JoinServer } +    } +/*    itemDef +    { +      name lightning +      style 3 +      background lightningkc +      rect 46 385 246 128      +      visible 0  +      decoration  +    } +     +    itemDef +    { +      name lightning +      style 3 +      background lightningkc +      rect 345 385 246 128      +      visible 0  +      decoration  +    }*/ + + +    //  MESSAGES  // + +    itemDef +    { +      name message_back +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Exit to Main Menu" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +    itemDef +    { +      name message_accept +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textalignx 0 +      textstyle 1 +      textaligny 25 +      textscale .416 +      text "Join Arena" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +     +    itemDef +    { +      name message_source +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Set Source" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +    itemDef +    { +      name message_gamefilter +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Set to Filter for Specific Game Mods" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +     +    itemDef +    { +      name message_typefilter +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Set to Filter for Specific Game Types" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } -} +    itemDef +    { +      name message_sort +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Sort Column" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +     +    itemDef +    { +      name message_refreshSource +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Get Updated Server List from Current Source" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +     +    itemDef +    { +      name message_refreshFilter +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Refresh All Currently Filtered Servers" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +     +    itemDef +    { +      name message_addFavorite +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Add Selected Server to Favorites" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +     +    itemDef +    { +      name message_delFavorite +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Delete Selected Server from Favorites" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +     +    itemDef +    { +      name message_createFavorite +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Enter IP Address of Favorite Server" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +     +    itemDef +    { +      name message_addfilter +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Enter Four Letter Filter and Description" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +     +    itemDef +    { +      name message_password +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Enter Password for Protected Servers" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +     +    itemDef +    { +      name message_serverinfo +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Display Server Information" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +     +    itemDef +    { +      name message_findplayer +      group grpmessage +      style 0  +      rect 320 430 128 30 +      textalign 1 +      textstyle 1 +      textalignx 0 +      textaligny 25 +      textscale .416 +      text "Search Current Server List for Friends" +      forecolor 1 1 1 1 +      decoration  +      visible 0 +    } +    itemDef +    { +      name fadebox +      style WINDOW_STYLE_FILLED +      background "ui/assets/fadebox.tga" +      forecolor 0 0 0 1 +      backcolor 0 0 0 1 +      rect 0 0 640 480 +      visible 1  +      decoration +    } +  }  } diff --git a/ui/serverinfo.menu b/ui/serverinfo.menu index 24f9006b..74026a60 100644 --- a/ui/serverinfo.menu +++ b/ui/serverinfo.menu @@ -4,390 +4,391 @@  \\ Server Information Popup Menu \\  menuDef { -	name "serverinfo_popmenu" -   	visible 0 -   	fullscreen 0 -   	rect 158 80 320 340 -	focusColor 1 .75 0 1 -   	style 1 -   	border 1 -	popup -	onClose { } -	onOpen { uiScript ServerStatus } -	onESC { close serverinfo_popmenu ; open joinserver } - -	itemDef { -		name window -		rect 10 15 310 330 -		style 1 -		backcolor 0 0 0 .5 -		forecolor 0 0 0 1 -		visible 1 -		decoration -		} - -	itemDef { -		name window -		rect 10 15 320 340 -		style 1 -		backcolor 0 0 0 .25 -		forecolor 0 0 0 1 -		visible 1 -		decoration -		} - -	itemDef { -		name window -		rect 10 15 300 320 -		style 1 -		backcolor .1 .1 .37 1 -		forecolor 0 0 0 1 -		visible 1 -		decoration -		} - - -	itemDef { -		name window -		rect 10 15 300 10 -		style 1 -		backcolor 0 0 0 .25 -		forecolor 0 0 0 1 -		visible 1 -		decoration -		} - -	itemDef { -		name serverinfo -		rect 0 20 320 20	 -		text "Server Information"  -		textstyle 3 -		textalign 1 -		textscale .333 -		textalignx 160 -		textaligny 20 -		forecolor 1 1 1 1 -		visible 1 -		decoration -		} - - - - - -// FRAME	// - - -	itemDef { -		name window -		rect 0 10 64 64 -		style 3 -		background "ui/assets/ingameleftcorner.tga" -		visible 1 -		decoration -		} - -	itemDef { -		name window -		rect 64 10 64 8 -		style 3 -		background "ui/assets/ingametop.tga" -		visible 1 -		decoration -		} -	 -	itemDef { -		name window -		rect 184 10 96 8 -		style 3 -		background "ui/assets/ingametop.tga" -		visible 1 -		decoration -		} -	itemDef { -		name window -		rect 256 10 64 64 -		style 3 -		background "ui/assets/ingamerightcorner.tga" -		visible 1 -		decoration -		} -	 -	itemDef { -		name window -		rect 128 10 64 8 -		style 3 -		background "ui/assets/ingametop.tga" -		visible 1 -		decoration -		} - -	itemDef { -		name window -		rect 0 274 64 64 -		style 3 -		background "ui/assets/ingameleftcornerb.tga" -		visible 1 -		decoration -		} - -	itemDef { -		name window -		rect 256 274 64 64 -		style 3 -		background "ui/assets/ingamerightcornerb.tga" -		visible 1 -		decoration -		} - -	itemDef { -		name window -		rect 0 64 16 64 -		style 3 -		background "ui/assets/ingameleft.tga" -		visible 1 -		decoration -		} - - -	itemDef { -		name window -		rect 0 128 16 64 -		style 3 -		background "ui/assets/ingameleft.tga" -		visible 1 -		decoration -		} - -	itemDef { -		name window -		rect 0 192 16 96 -		style 3 -		background "ui/assets/ingameleft.tga" -		visible 1 -		decoration -		} - -	itemDef { -		name window -		rect 304 64 16 64 -		style 3 -		background "ui/assets/ingameright.tga" -		visible 1 -		decoration -		} - - -	itemDef { -		name window -		rect 304 128 16 64 -		style 3 -		background "ui/assets/ingameright.tga" -		visible 1 -		decoration -		} - -	itemDef { -		name window -		rect 304 192 16 96 -		style 3 -		background "ui/assets/ingameright.tga" -		visible 1 -		decoration -		} - - - -	itemDef { -		name window -		rect 64 330 64 8 -		style 3 -		background "ui/assets/ingamebottom.tga" -		visible 1 -		decoration -		} - -	itemDef { -		name window -		rect 128 330 98 8 -		style 3 -		background "ui/assets/ingamebottom.tga" -		visible 1 -		decoration -		} - -	itemDef { -		name window -		rect 172 330 98 8 -		style 3 -		background "ui/assets/ingamebottom.tga" -		visible 1 -		decoration -		} +  name "serverinfo_popmenu" +    visible 0 +    fullscreen 0 +    rect 158 80 320 340 +  focusColor 1 .75 0 1 +    style 1 +    border 1 +  popup +  onClose { } +  onOpen { uiScript ServerStatus } +  onESC { close serverinfo_popmenu ; open joinserver } + +  itemDef { +    name window +    rect 10 15 310 330 +    style 1 +    backcolor 0 0 0 .5 +    forecolor 0 0 0 1 +    visible 1 +    decoration +    } + +  itemDef { +    name window +    rect 10 15 320 340 +    style 1 +    backcolor 0 0 0 .25 +    forecolor 0 0 0 1 +    visible 1 +    decoration +    } + +  itemDef { +    name window +    rect 10 15 300 320 +    style 1 +    backcolor .1 .1 .37 1 +    forecolor 0 0 0 1 +    visible 1 +    decoration +    } + + +  itemDef { +    name window +    rect 10 15 300 10 +    style 1 +    backcolor 0 0 0 .25 +    forecolor 0 0 0 1 +    visible 1 +    decoration +    } + +  itemDef { +    name serverinfo +    rect 0 20 320 20   +    text "Server Information"  +    textstyle 3 +    textalign 1 +    textscale .333 +    textalignx 160 +    textaligny 20 +    forecolor 1 1 1 1 +    visible 1 +    decoration +    } + + + + + +// FRAME  // + + +  itemDef { +    name window +    rect 0 10 64 64 +    style 3 +    background "ui/assets/ingameleftcorner.tga" +    visible 1 +    decoration +    } + +  itemDef { +    name window +    rect 64 10 64 8 +    style 3 +    background "ui/assets/ingametop.tga" +    visible 1 +    decoration +    } +   +  itemDef { +    name window +    rect 184 10 96 8 +    style 3 +    background "ui/assets/ingametop.tga" +    visible 1 +    decoration +    } +  itemDef { +    name window +    rect 256 10 64 64 +    style 3 +    background "ui/assets/ingamerightcorner.tga" +    visible 1 +    decoration +    } +   +  itemDef { +    name window +    rect 128 10 64 8 +    style 3 +    background "ui/assets/ingametop.tga" +    visible 1 +    decoration +    } + +  itemDef { +    name window +    rect 0 274 64 64 +    style 3 +    background "ui/assets/ingameleftcornerb.tga" +    visible 1 +    decoration +    } + +  itemDef { +    name window +    rect 256 274 64 64 +    style 3 +    background "ui/assets/ingamerightcornerb.tga" +    visible 1 +    decoration +    } + +  itemDef { +    name window +    rect 0 64 16 64 +    style 3 +    background "ui/assets/ingameleft.tga" +    visible 1 +    decoration +    } + + +  itemDef { +    name window +    rect 0 128 16 64 +    style 3 +    background "ui/assets/ingameleft.tga" +    visible 1 +    decoration +    } + +  itemDef { +    name window +    rect 0 192 16 96 +    style 3 +    background "ui/assets/ingameleft.tga" +    visible 1 +    decoration +    } + +  itemDef { +    name window +    rect 304 64 16 64 +    style 3 +    background "ui/assets/ingameright.tga" +    visible 1 +    decoration +    } + + +  itemDef { +    name window +    rect 304 128 16 64 +    style 3 +    background "ui/assets/ingameright.tga" +    visible 1 +    decoration +    } + +  itemDef { +    name window +    rect 304 192 16 96 +    style 3 +    background "ui/assets/ingameright.tga" +    visible 1 +    decoration +    } + + + +  itemDef { +    name window +    rect 64 330 64 8 +    style 3 +    background "ui/assets/ingamebottom.tga" +    visible 1 +    decoration +    } + +  itemDef { +    name window +    rect 128 330 98 8 +    style 3 +    background "ui/assets/ingamebottom.tga" +    visible 1 +    decoration +    } + +  itemDef { +    name window +    rect 172 330 98 8 +    style 3 +    background "ui/assets/ingamebottom.tga" +    visible 1 +    decoration +    } -	itemDef { -		name serverinfo -		rect 20 55 280 230 -		type ITEM_TYPE_LISTBOX -		style WINDOW_STYLE_FILLED -		elementwidth 120 -		elementheight 16 -		textscale .225 -		backcolor 0 0 0 1 -		border 1 -		bordersize 1 -		bordercolor .5 .5 .5 1 -		elementtype LISTBOX_TEXT -		feeder FEEDER_SERVERSTATUS -		notselectable -		visible 1 -		columns 4	2 40 20 -				40 40 10 -				90 40 10 -				135 40 20 -	 	} - -	itemDef { -		name window -		rect 20 55 264 230 -		style 1 -		backcolor 0 0 0 0 -		forecolor 0 0 0 0 -		border 1 -		bordersize 1 -		bordercolor .5 .5 .5 1 -		visible 1 -		decoration -		} - - - - - - - - - - -//	BUTTON	// - -	itemDef { -		name exit -		text "Exit" -		type 1 -		textscale .23 -		group grpControlbutton -		type ITEM_TYPE_BUTTON -		style WINDOW_STYLE_FILLED -		background "ui/assets/button_back.tga" -		rect 95 295 45 26 -		textalign 1 -		textalignx 23 -		textaligny 20 -		forecolor 1 1 1 1 -		backcolor .37 .1 .1 1 -		visible 1 -		action { play "sound/misc/nomenu.wav" ;  -		close serverinfo_popmenu ;  -		open joinserver } -		mouseEnter { setitemcolor exit backcolor .1 .37 .1 1 }  -		mouseExit { setitemcolor exit backcolor .37 .1 .1 1 }  -		} - -	itemDef { -		name exit -		group grpControlbutton -		style WINDOW_STYLE_SHADER -		background "ui/assets/framebutton.tga" - 		rect 95 295 45 26 -		visible 1  -		forecolor 1 1 1 1 -		decoration  	   -		} - -	itemDef { -		name exit -		group grpControlbutton -		style WINDOW_STYLE_SHADER -		background "ui/assets/leftbutton.tga" -		rect 83 295 13 26 -		visible 1 -		forecolor 1 1 1 1 -		decoration  	   -		} - -	itemDef { -		name exit -		group grpControlbutton -		style WINDOW_STYLE_SHADER -		background "ui/assets/rightbutton.tga" -		rect 139 295 13 26 -		visible 1  -		forecolor 1 1 1 1 -		decoration  	   -		} - - -	itemDef { -		name refresh -		text "Refresh" -		type 1 -		textscale .23 -		group grpControlbutton -		type ITEM_TYPE_BUTTON -		style WINDOW_STYLE_FILLED -		background "ui/assets/button_back.tga" -		rect 180 295 45 26 -		textalign 1 -		textalignx 23 -		textaligny 20 -		forecolor 1 1 1 1 -		backcolor .37 .1 .1 1 -		visible 1 -		action { uiScript ServerStatus } -		mouseEnter { setitemcolor refresh backcolor .1 .37 .1 1 }  -		mouseExit { setitemcolor refresh backcolor .37 .1 .1 1 }  -		} - -	itemDef { -		name refresh -		group grpControlbutton -		style WINDOW_STYLE_SHADER -		background "ui/assets/framebutton.tga" - 		rect 180 295 45 26 -		visible 1  -		forecolor 1 1 1 1 -		decoration  	   -		} - -	itemDef { -		name refresh -		group grpControlbutton -		style WINDOW_STYLE_SHADER -		background "ui/assets/leftbutton.tga" -		rect 168 295 13 26 -		visible 1 -		forecolor 1 1 1 1 -		decoration  	   -		} - -	itemDef { -		name refresh -		group grpControlbutton -		style WINDOW_STYLE_SHADER -		background "ui/assets/rightbutton.tga" -		rect 224 295 13 26 -		visible 1  -		forecolor 1 1 1 1 -		decoration  	   -		} - - -	 +  itemDef { +    name serverinfo +    rect 20 55 280 230 +    type ITEM_TYPE_LISTBOX +    style WINDOW_STYLE_FILLED +    elementwidth 120 +    elementheight 16 +    textscale .225 +    backcolor 0 0 0 1 +    border 1 +    bordersize 1 +    bordercolor .5 .5 .5 1 +    elementtype LISTBOX_TEXT +    feeder FEEDER_SERVERSTATUS +    notselectable +    visible 1 +    columns 4 +      2   40  20  ITEM_ALIGN_LEFT +      40  40  10  ITEM_ALIGN_LEFT +      90  40  10  ITEM_ALIGN_LEFT +      135 40  20  ITEM_ALIGN_LEFT +    } + +  itemDef { +    name window +    rect 20 55 264 230 +    style 1 +    backcolor 0 0 0 0 +    forecolor 0 0 0 0 +    border 1 +    bordersize 1 +    bordercolor .5 .5 .5 1 +    visible 1 +    decoration +    } + + + + + + + + + + +//  BUTTON  // + +  itemDef { +    name exit +    text "Exit" +    type 1 +    textscale .23 +    group grpControlbutton +    type ITEM_TYPE_BUTTON +    style WINDOW_STYLE_FILLED +    background "ui/assets/button_back.tga" +    rect 95 295 45 26 +    textalign 1 +    textalignx 23 +    textaligny 20 +    forecolor 1 1 1 1 +    backcolor .37 .1 .1 1 +    visible 1 +    action { play "sound/misc/nomenu.wav" ;  +    close serverinfo_popmenu ;  +    open joinserver } +    mouseEnter { setitemcolor exit backcolor .1 .37 .1 1 }  +    mouseExit { setitemcolor exit backcolor .37 .1 .1 1 }  +    } + +  itemDef { +    name exit +    group grpControlbutton +    style WINDOW_STYLE_SHADER +    background "ui/assets/framebutton.tga" +    rect 95 295 45 26 +    visible 1  +    forecolor 1 1 1 1 +    decoration       +    } + +  itemDef { +    name exit +    group grpControlbutton +    style WINDOW_STYLE_SHADER +    background "ui/assets/leftbutton.tga" +    rect 83 295 13 26 +    visible 1 +    forecolor 1 1 1 1 +    decoration       +    } + +  itemDef { +    name exit +    group grpControlbutton +    style WINDOW_STYLE_SHADER +    background "ui/assets/rightbutton.tga" +    rect 139 295 13 26 +    visible 1  +    forecolor 1 1 1 1 +    decoration       +    } + + +  itemDef { +    name refresh +    text "Refresh" +    type 1 +    textscale .23 +    group grpControlbutton +    type ITEM_TYPE_BUTTON +    style WINDOW_STYLE_FILLED +    background "ui/assets/button_back.tga" +    rect 180 295 45 26 +    textalign 1 +    textalignx 23 +    textaligny 20 +    forecolor 1 1 1 1 +    backcolor .37 .1 .1 1 +    visible 1 +    action { uiScript ServerStatus } +    mouseEnter { setitemcolor refresh backcolor .1 .37 .1 1 }  +    mouseExit { setitemcolor refresh backcolor .37 .1 .1 1 }  +    } + +  itemDef { +    name refresh +    group grpControlbutton +    style WINDOW_STYLE_SHADER +    background "ui/assets/framebutton.tga" +    rect 180 295 45 26 +    visible 1  +    forecolor 1 1 1 1 +    decoration       +    } + +  itemDef { +    name refresh +    group grpControlbutton +    style WINDOW_STYLE_SHADER +    background "ui/assets/leftbutton.tga" +    rect 168 295 13 26 +    visible 1 +    forecolor 1 1 1 1 +    decoration       +    } + +  itemDef { +    name refresh +    group grpControlbutton +    style WINDOW_STYLE_SHADER +    background "ui/assets/rightbutton.tga" +    rect 224 295 13 26 +    visible 1  +    forecolor 1 1 1 1 +    decoration       +    } + + +    } diff --git a/ui/teamscore.menu b/ui/teamscore.menu index daf18409..b1d17062 100644 --- a/ui/teamscore.menu +++ b/ui/teamscore.menu @@ -1,512 +1,269 @@  #include "ui/menudef.h"  { -\\ score_menu \\ - -  menuDef { -    	name "teamscore_menu" -    	visible 0 -    	fullscreen 0 -    	rect 0 0 640 480 -    	focusColor 1 .75 0 1 -    	style 0 -    	border 1 - - -// GAMETYPE BAR	// - - -itemDef { -      	name gameStatusWindow -      	style 4 -	rect 14 40 612 35  -	border 1 -	bordercolor 1 1 1 1 -	visible 1 -	decoration -	} - - - - -itemDef { -      	name score -	ownerdraw CG_KILLER -      	textscale .4 -      	style 0	 -      	rect 0 40 640 27  -	textalignx 0 -	textaligny 27  -      	textalign 1		 -      	backcolor 0 0 0 0 -      	forecolor 1 1 1 1 -      	visible 1  -	decoration	   -	} - - - -//	TEAM NAME	// - -itemDef { -      	name teamNameWindow -      	rect 14 78 612 30  -	style WINDOW_STYLE_FILLED -	border 1 -	bordercolor .5 .5 .5 1 -	forecolor 1 1 1 1 -	backcolor 0 0 0 .5 -	visible 1 -	decoration -	} -itemDef { -      	name score -	text " " -	ownerdraw CG_GAME_STATUS -      	textscale .3 -      	style 0	 -      	rect 0 78 640 23  -	textalignx 320 -	textaligny 0 -      	textalign 1		 -      	backcolor 0 0 0 0 -      	forecolor 1 1 1 1 -      	visible 1  -	decoration	   -	} - - -itemDef { -      	name redteamname -        ownerdraw CG_RED_NAME -	textalign 0 -	textscale .3 -      	rect 20 78 306 23 -	forecolor 1 0 0 1	  -      	decoration -      	visible 1 	   -	} - -itemDef { -      	name blueteamname -        ownerdraw CG_BLUE_NAME -	text " " -	textalign 2 -	textscale .3 -       	rect 600 78 0 23		  -      	forecolor 0 0 1 1 -      	decoration -      	visible 1 	   -	} - - -//	TEAM BARS	// +  \\ score_menu \\ + +  menuDef +  { +    name "teamscore_menu" +    visible 0 +    fullscreen 0 +    rect 0 0 640 480 +    focusColor 1 .75 0 1 +    style 0 +    border 1 + + +    // GAMETYPE BAR	// + +    //	TEAM NAME	// + +    itemDef +    { +      name teamNameWindow +      rect 14 78 612 30  +      style WINDOW_STYLE_FILLED +      border 1 +      bordercolor .5 .5 .5 1 +      forecolor 1 1 1 1 +      backcolor 0 0 0 .5 +      visible 1 +      decoration +    } +   +    itemDef +    { +      name alienteamname +      text "Aliens" +      textalign 0 +      textscale .5 +      textaligny 26 +      rect 20 78 306 23 +      forecolor 1 1 1 1	  +      decoration +      visible 1 	   +    } + +    itemDef +    { +      name humanteamname +      text "Humans" +      textalign 2 +      textscale .5 +      textaligny 26 +      rect 620 78 0 23		  +      forecolor 1 1 1 1 +      decoration +      visible 1 	   +    } + +    //	TEAM BARS	// -itemDef { -	name leftteambar -      	rect 14 112 307 25	 -	style WINDOW_STYLE_FILLED -	border 1 -	bordercolor 1 1 1 1 -	forecolor 1 1 1 1 -	backcolor 1 0 0 1 -	visible 1 -	decoration -	} - -itemDef { -	name rightteambar - 	rect 320 112 306 25	 -	style WINDOW_STYLE_FILLED -	border 1 -	bordercolor 1 1 1 1 -	forecolor 1 1 1 1 -	backcolor 0 0 1 1 -	visible 1 -	decoration -	} - -//	TEAM HEADINGS	// - -itemDef { -      	name leftteamheadings -      	text "Status           Name                      Score    Time   Ping" -      	textscale .25 -      	style 0	 -      	rect 25 112 128 30  -      	textalign 0		 -      	textalignx 0		// x alignment point for text -   				// use it to offset left/right text from the edge  -            			// or to center the text on a different point -      	textaligny 18         -      	backcolor 0 0 0 0 -      	forecolor 1 .75 0 1 -      	decoration -      	visible 1 	   -    	} -itemDef { -      	name rightteamheadings -      	text "Status           Name                      Score    Time   Ping" -      	textscale .25 -      	style 0	 -      	rect 331 112 128 30  -      	textalign 0		 -      	textalignx 0		// x alignment point for text -   				// use it to offset left/right text from the edge  -            			// or to center the text on a different point -      	textaligny 18         -      	backcolor 0 0 0 0 -      	forecolor 1 .75 0 1 -      	decoration -      	visible 1 	   -    	} - - - - -// GRADIENT BACKGROUNDS	// - - -itemDef { -	name window -      	rect 320 142 1 220	 -	style WINDOW_STYLE_FILLED -	border 1 -	bordercolor .5 .5 .5 1 -	forecolor 1 1 1 1 -	backcolor 0 0 0 1 -	visible 1 -	decoration -	} - -itemDef { -	name window -      	rect 300 142 1 220	 -	style WINDOW_STYLE_FILLED -	border 1 -	bordercolor .5 .5 .5 1 -	visible 1 -	decoration -	} - -itemDef { -	name window -      	rect 606 142 1 220	 -	style WINDOW_STYLE_FILLED -	border 1 -	bordercolor .5 .5 .5 1 -	visible 1 -	decoration -	} -itemDef { -      	name redlogo -      	style WINDOW_STYLE_SHADER -      	background "textures/ctf2/redteam01.tga" -      	rect 110 189 128 128  -	forecolor .75 0 0 0.5 -      	visible 1  -	decoration -	} -itemDef { -      	name bluelogo -      	style WINDOW_STYLE_SHADER -      	background "textures/ctf2/blueteam01" -      	rect 416 189 128 128  -	forecolor 0 0 .75 0.5 -      	visible 1  -	decoration -	} - -itemDef { -      	name leftgrad -      	style WINDOW_STYLE_SHADER -      	background "ui/assets/halfgradleft.tga" -      	rect 14 142 306 222  -	forecolor .75 0 0 0.5 -      	visible 1  -	decoration -	} - -itemDef { -      	name rightgrad -      	style WINDOW_STYLE_SHADER -      	background "ui/assets/halfgradright.tga" -      	rect 320 142 306 222  -	forecolor 0 0 .75 0.5 -      	visible 1  -	decoration -	} - - -//	LIST	// - -itemDef { -      	name leftlist -      	rect 14 142 306 222  -	forecolor .75 .75 .75 1 -      	visible 1  -	type ITEM_TYPE_LISTBOX -	elementwidth 135 -	elementheight 20 -	textscale .25 -	elementtype LISTBOX_TEXT -	feeder FEEDER_REDTEAM_LIST -	notselectable -	columns 7 2 12 12 18 12 12 34 20 20 78 75 16 183 20 20 221 20 20 251 10 10 -	} - - - -itemDef { -      	name rightlist -      	rect 320 142 306 222 	 	      -      	forecolor 1 1 1 1 -      	visible 1  -	type ITEM_TYPE_LISTBOX -	elementwidth 135 -	elementheight 20 -	textscale .25 -	elementtype LISTBOX_TEXT -	feeder FEEDER_BLUETEAM_LIST -	notselectable -	columns 7 2 12 12 18 12 12 34 20 20 78 75 16 183 20 20 221 20 20 251 10 10 -	} - - - - -//	PLAYER LIST BORDER	// - - - -itemDef { -	name window -	rect 14 141 612 221	 -	style WINDOW_STYLE_EMPTY -	border 1 -	bordercolor .5 .5 .5 1 -	forecolor 1 1 1 1 -	backcolor 0 0 0 .5 -	visible 1 -	decoration -	} - - - - - - - - - -//	spectators	// - - -itemDef { -	name window -   	rect 14 414 612 24	 -	style WINDOW_STYLE_FILLED -	border 1 -	bordercolor .5 .5 .5 1 -	forecolor 1 1 1 .7 -	backcolor 0 0 0 .5 -	textscale .33 -	visible 1 -	decoration -	} - -itemDef { -	name window -	text "Spectating:" -	textaligny 20  -   	rect 19 414 82 24	 -	style WINDOW_STYLE_FILLED -	forecolor 1 1 1 1 -	textscale .33 -	textalignx 3 -	visible 1 -	decoration -	} - -itemDef { -	name window -   	rect 100 414 520 24	 -	style WINDOW_STYLE_FILLED -	forecolor 1 1 1 1 -	textscale .33 -	visible 1 -	ownerdraw CG_SPECTATORS -	decoration -	} - - - - - -// AWARDS	// - - -itemDef { -	name window -      	rect 14 364 612 48	 -	style WINDOW_STYLE_FILLED -	border 1 -	bordercolor .5 .5 .5 1 -	forecolor 1 1 1 1 -	backcolor 0 0 0 .5 -	visible 1 -	decoration -	} - -itemdef { -	name medal_accuracy -	ownerdraw CG_ACCURACY -   	rect 43 368 32 32 -   	background "ui/assets/medal_accuracy.tga" -	forecolor 1 1 1 .5 -   	visible 1  -	decoration -	textscale 0.25 -	} - -itemdef { -	name medal_assist -	ownerdraw CG_ASSISTS -      	rect 130 368 32 32 -      	background "ui/assets/medal_assist.tga" -	forecolor 1 1 1 .5 -      	visible 1  -      	decoration  -	textscale 0.25 -	} - -itemdef { -	name medal_defend -	ownerdraw CG_DEFEND -      	rect 227 368 32 32 -      	background "ui/assets/medal_defend.tga" -	forecolor 1 1 1 .5 -      	visible 1  -      	decoration  -	textscale 0.25 -	} - -itemdef { -	name medal_excellent -	ownerdraw CG_EXCELLENT -      	rect 314 368 32 32 -      	background "ui/assets/medal_excellent.tga" -	forecolor 1 1 1 .5 -      	visible 1  -      	decoration  -	textscale 0.25 -	} - -itemdef { -	name medal_gauntlet -	ownerdraw CG_GAUNTLET -      	rect 391 368 32 32 -      	background "ui/assets/medal_gauntlet.tga" -	forecolor 1 1 1 .5 -      	visible 1  -      	decoration  -	textscale 0.25 -	} - -itemdef { -	name medal_impressive -	ownerdraw CG_IMPRESSIVE -   	rect 478 368 32 32 -   	background "ui/assets/medal_impressive.tga" -	forecolor 1 1 1 .5 -   	visible 1 -   	decoration  -	textscale 0.25	 -	} - -itemdef { -	name medal_capture_team -	ownerdraw CG_CAPTURES -   	rect 565 368 32 32 -   	background "ui/assets/medal_capture.tga" -	forecolor 1 1 1 .5 -   	visible 1 -   	decoration  -	textscale 0.25	 -	} - -//	GAMETYPE	// - -itemDef { -	name window -   	rect 14 440 612 24	 -	style WINDOW_STYLE_FILLED -	border 1 -	bordercolor .5 .5 .5 1 -	forecolor 1 1 1 .7 -	backcolor 0 0 0 .5 -	visible 1 -	decoration -	} - -itemDef { -	name window -   	rect 220 440 200 24	 -	style WINDOW_STYLE_EMPTY -	border 1 -	bordercolor .5 .5 .5 1 -	visible 1 -	decoration -	} - -itemDef { -      	name gametype -        ownerdraw CG_GAME_TYPE -	textalign 0 -	textscale .3 -       	rect 18 440 50 20		  -      	forecolor 1 1 1 1 -	textaligny 0 -	textalignx 0 -      	decoration -      	visible 1 	   -	} - -itemdef { -	name playername -	text "Use Score Scroll Keys" -   	rect 225 440 256 24 -	forecolor 1 .75 0 1 -   	textalignx 10 -	textaligny 20 -   	visible 1  -	textalign 0 -	decoration -	textscale 0.333 -	} - - -itemdef { -	name playerscore -	text "Score:" -   	rect 430 440 40 21 -	textalignx 0 -	textaligny 21 -   	visible 1  -	textalign 0 -	forecolor 1 1 1 1 -	textscale .3 -	ownerdraw CG_PLAYER_SCORE -	decoration -	} - - - - - - - -} - - +    itemDef +    { +      name leftteambar +      rect 14 112 307 25	 +      style WINDOW_STYLE_FILLED +      border 1 +      bordercolor .5 .5 .5 1 +      forecolor 1 1 1 1 +      backcolor 0 0 0 .5 +      visible 1 +      decoration +    } + +    itemDef +    { +      name rightteambar +      rect 320 112 306 25	 +      style WINDOW_STYLE_FILLED +      border 1 +      bordercolor .5 .5 .5 1 +      forecolor 1 1 1 1 +      backcolor 0 0 0 .5 +      visible 1 +      decoration +    } + + +    //	TEAM HEADINGS	// + +    itemDef +    { +      name leftteamheadings +      text "Status   Name                                   Kills      Time      Ping" +      textscale .25 +      style 0	 +      rect 25 112 128 30  +      textalign 0		 +      textalignx 0		// x alignment point for text +        // use it to offset left/right text from the edge  +                // or to center the text on a different point +      textaligny 18         +      backcolor 0 0 0 0 +      forecolor 1 .75 0 1 +      decoration +      visible 1 	   +    } +     +    itemDef +    { +      name rightteamheadings +      text "Status   Name                                   Kills      Time      Ping" +      textscale .25 +      style 0	 +      rect 331 112 128 30  +      textalign 0		 +      textalignx 0		// x alignment point for text +        // use it to offset left/right text from the edge  +                // or to center the text on a different point +      textaligny 18         +      backcolor 0 0 0 0 +      forecolor 1 .75 0 1 +      decoration +      visible 1 	   +    } + + +    // GRADIENT BACKGROUNDS	// + +    itemDef +    { +      name window +      rect 320 142 1 220	 +      style WINDOW_STYLE_FILLED +      border 1 +      bordercolor .5 .5 .5 1 +      forecolor 1 1 1 1 +      backcolor 0 0 0 1 +      visible 1 +      decoration +    } + +    itemDef +    { +      name window +      rect 300 142 1 220	 +      style WINDOW_STYLE_FILLED +      border 1 +      bordercolor .5 .5 .5 1 +      visible 1 +      decoration +    } + +    itemDef +    { +      name window +      rect 606 142 1 220	 +      style WINDOW_STYLE_FILLED +      border 1 +      bordercolor .5 .5 .5 1 +      visible 1 +      decoration +    } + + +    //	LIST	// + +    itemDef +    { +      name leftlist +      rect 14 142 306 222  +      forecolor .75 .75 .75 1 +      visible 1  +      type ITEM_TYPE_LISTBOX +      elementwidth 135 +      elementheight 20 +      textscale .25 +      elementtype LISTBOX_TEXT +      feeder FEEDER_ALIENTEAM_LIST +      notselectable +      columns 5 +        7   30  5   ITEM_ALIGN_LEFT +        45  100 24  ITEM_ALIGN_LEFT +        172 20  4   ITEM_ALIGN_RIGHT +        209 20  4   ITEM_ALIGN_RIGHT +        247 20  4   ITEM_ALIGN_RIGHT +    } + +    itemDef  +    { +      name rightlist +      rect 320 142 306 222 	 	      +      forecolor 1 1 1 1 +      visible 1  +      type ITEM_TYPE_LISTBOX +      elementwidth 135 +      elementheight 20 +      textscale .25 +      elementtype LISTBOX_TEXT +      feeder FEEDER_HUMANTEAM_LIST +      notselectable +      columns 5 +        7   30  5   ITEM_ALIGN_LEFT +        45  100 24  ITEM_ALIGN_LEFT +        172 20  4   ITEM_ALIGN_RIGHT +        209 20  4   ITEM_ALIGN_RIGHT +        247 20  4   ITEM_ALIGN_RIGHT +    } + + +    //	PLAYER LIST BORDER	// + +    itemDef +    { +      name window +      rect 14 141 612 221	 +      style WINDOW_STYLE_EMPTY +      border 1 +      bordercolor .5 .5 .5 1 +      forecolor 1 1 1 1 +      backcolor 0 0 0 .5 +      visible 1 +      decoration +    } + + +    //	spectators	// + +    itemDef +    { +      name window +      rect 14 366 612 24	 +      style WINDOW_STYLE_FILLED +      border 1 +      bordercolor .5 .5 .5 1 +      forecolor 1 1 1 .7 +      backcolor 0 0 0 .5 +      textscale .33 +      visible 1 +      decoration +    } + +    itemDef +    { +      name window +      text "Spectating:" +      textaligny 20  +      rect 19 366 82 24	 +      style WINDOW_STYLE_FILLED +      forecolor 1 1 1 1 +      textscale .33 +      textalignx 3 +      visible 1 +      decoration +    } + +    itemDef +    { +      name window +      rect 100 366 520 24	 +      style WINDOW_STYLE_FILLED +      forecolor 1 1 1 1 +      textscale .33 +      visible 1 +      ownerdraw CG_SPECTATORS +      decoration +    } +  }  } diff --git a/ui/tremulous_human_hud.menu b/ui/tremulous_human_hud.menu index 67539a2f..b3916f16 100644 --- a/ui/tremulous_human_hud.menu +++ b/ui/tremulous_human_hud.menu @@ -38,7 +38,7 @@        rect 121 399 17 68        visible 1        decoration -      forecolor 1 1 1 1 +      forecolor 1 1 0 1        ownerdraw CG_PLAYER_STAMINA      } @@ -49,7 +49,7 @@        rect 505 27 108 44        visible 1        decoration -      forecolor 1 1 1 1 +      forecolor 1 1 0 1        ownerdraw CG_PLAYER_CREDITS_VALUE      }    @@ -60,7 +60,7 @@        rect 580 95 50 20        visible 1        decoration -      forecolor 1 1 1 1 +      forecolor 1 1 0 1        ownerdraw CG_PLAYER_BANK_VALUE      } @@ -71,7 +71,7 @@        rect 508 414 108 44        visible 1        decoration -      forecolor 1 1 1 1 +      forecolor 1 1 0 1        ownerdraw CG_PLAYER_AMMO_VALUE      } @@ -82,7 +82,7 @@        rect 448 443 50 20        visible 1        decoration -      forecolor 1 1 1 1 +      forecolor 1 1 0 1        ownerdraw CG_PLAYER_CLIPS_VALUE      } @@ -93,7 +93,7 @@        rect 0 410 108 44        visible 1        decoration -      forecolor 1 1 1 1 +      forecolor 1 1 0 1        ownerdraw CG_PLAYER_HEALTH      } @@ -125,7 +125,7 @@        rect 446 390 189 86        visible 1        decoration -      forecolor 1 1 1 1 +      forecolor 1 1 0 1        style WINDOW_STYLE_SHADER        background "ui/assets/hud_ammowindow.tga"      } @@ -137,7 +137,7 @@        rect 385 3 254 117        visible 1        decoration -      forecolor 1 1 1 1 +      forecolor 1 1 0 1        style WINDOW_STYLE_SHADER        background "ui/assets/hud_creditswindow.tga"      } @@ -149,7 +149,7 @@        rect 3 390 189 86        visible 1        decoration -      forecolor 1 1 1 1 +      forecolor 1 1 0 1        style WINDOW_STYLE_SHADER        background "ui/assets/hud_healthwindow.tga"      } @@ -161,7 +161,7 @@        rect 205 423 230 52        visible 1        decoration -      forecolor 1 1 1 1 +      forecolor 1 1 0 1        style WINDOW_STYLE_SHADER        background "ui/assets/hud_weaponwindow.tga"      }  | 
