home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ score_menu \\
-
- menuDef {
- name "score_menu"
- visible 0
- fullscreen 0
- rect 0 0 640 480
- focusColor 1 1 1 1
- style 0
- border 1
-
- itemDef {
- name scorebar
- rect 14 28 610 35
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- backcolor .66 1 0 .35
- visible 1
- decoration
- }
- itemDef {
- name score
- text " "
- textstyle 6
- ownerdraw CG_GAME_STATUS
- textscale .4
- style 0
- rect 0 20 640 35
- textalignx 320
- textaligny 0
- textalign 1
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name teambar
- rect 14 65 610 25
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- forecolor .66 1 0 1
- backcolor .66 1 0 .35
- visible 1
- decoration
- }
- // PLAYER LIST BORDER //
- itemDef {
- name window
- rect 14 89 610 267
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- backcolor .66 1 0 .35
- visible 1
- decoration
- }
- itemDef {
- name window
- rect 605 90 1 266
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
- // HEADINGS //
-
- itemDef {
- name teamheadings
- text "Skill"
- textstyle 6
- textscale .35
- style 0
- rect 25 65 30 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 22
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- decoration
- visible 1
- }
-
- itemDef {
- name columnWindow
- rect 14 65 61 291
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
-
- itemDef {
- name teamheadings
- text "Status"
- textstyle 6
- textscale .35
- style 0
- rect 85 65 64 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 22
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- decoration
- visible 1
- }
-
- itemDef {
- name columnWindow
- rect 74 65 91 291
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
-
- itemDef {
- name teamheadings
- text "Name"
- textstyle 6
- textscale .35
- style 0
- rect 170 65 64 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 22
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- decoration
- visible 1
- }
-
- itemDef {
- name columnWindow
- rect 164 65 216 291
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
-
- itemDef {
- name teamheadings
- text "Score"
- textstyle 6
- textscale .35
- style 0
- rect 385 65 64 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 22
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- decoration
- visible 1
- }
-
- itemDef {
- name columnWindow
- rect 379 65 107 291
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
-
- itemDef {
- name teamheadings
- text "Time"
- textstyle 6
- textscale .35
- style 0
- rect 490 65 64 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 22
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- decoration
- visible 1
- }
-
- itemDef {
- name columnWindow
- rect 485 65 70 291
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
-
- itemDef {
- name teamheadings
- text "Ping"
- textstyle 6
- textscale .35
- style 0
- rect 560 65 64 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 22
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- decoration
- visible 1
- }
-
- itemDef {
- name columnWindow
- rect 554 65 70 291
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
- // LIST //
-
- itemDef {
- name playerlist
- rect 14 90 610 266
- forecolor 1 1 1 1
- visible 1
- type ITEM_TYPE_LISTBOX
- elementwidth 592
- elementheight 20
- textstyle 6
- textscale .25
- elementtype LISTBOX_TEXT
- feeder FEEDER_SCOREBOARD
- notselectable
- columns 7 5 20 20 5 20 20 65 50 50 150 100 40 365 20 20 463 20 20 532 20 20
- }
-
-
- // spectators //
-
-
- itemDef {
- name window
- rect 14 358 610 24
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- forecolor 1 1 1 .7
- backcolor .66 1 0 .3
- textscale .33
- textstyle 6
- visible 1
- decoration
- }
-
- itemDef {
- name window
- text "Spectating:"
- textaligny 20
- rect 19 358 82 24
- style WINDOW_STYLE_FILLED
- forecolor 1 1 1 1
- textscale .33
- textstyle 6
- textalignx 3
- visible 1
- decoration
- }
-
- itemDef {
- name window
- rect 102 358 520 24
- style WINDOW_STYLE_FILLED
- forecolor 1 1 1 1
- textscale .33
- textstyle 6
- visible 1
- ownerdraw CG_SPECTATORS
- decoration
- }
- // PLAYER INFO //
-
-
- itemDef {
- name window
- rect 14 384 610 38
- style WINDOW_STYLE_FILLED
- border 1
- bordercolor .66 1 0 1
- backcolor .66 1 0 .35
- visible 1
- decoration
- }
-
- itemDef {
- name gametype
- ownerdraw CG_GAME_TYPE
- text "Game Type:"
- textstyle 6
- textalign 0
- textscale .25
- rect 30 382 50 17
- forecolor 1 1 1 1
- textaligny 17
- textalignx 0
- decoration
- visible 1
- }
-
-
- itemdef {
- name playerscore
- type 4
- text "Fraglimit:"
- textstyle 6
- rect 230 389 40 10
- textalignx 0
- textaligny 10
- visible 1
- textalign 0
- forecolor 1 1 1 1
- textscale .25
- cvar "fraglimit"
- maxPaintChars 8
- decoration
- }
-
-
-
- itemdef {
- name playerscore
- text "Score:"
- textstyle 6
- rect 380 389 40 10
- textalignx 0
- textaligny 10
- visible 1
- textalign 0
- forecolor 1 1 1 1
- textscale .25
- ownerdraw CG_PLAYER_SCORE
- decoration
- }
-
-
- itemdef {
- name playername
- text "Use Score Scroll Keys"
- textstyle 6
- rect 30 404 256 20
- forecolor 1 1 1 1
- textalignx 0
- textaligny 10
- visible 1
- textalign 0
- decoration
- textscale 0.25
- }
-
- //Corners
- itemDef {
- name corners
- style 3
- rect 12 26 40 40
- background "ui/sidrial/Popup/ULCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 587 26 40 40
- background "ui/sidrial/Popup/URCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 12 385 40 40
- background "ui/sidrial/Popup/BLCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 587 385 40 40
- background "ui/sidrial/Popup/BRCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
-
-
-
- }
-
-
- }
-