| 1 |
/* |
| 2 |
=========================================================================== |
| 3 |
Copyright (C) 2007 Open Arena Team |
| 4 |
|
| 5 |
This file is part of Open Arena. |
| 6 |
|
| 7 |
Open Arena is free software; you can redistribute it |
| 8 |
and/or modify it under the terms of the GNU General Public License as |
| 9 |
published by the Free Software Foundation; either version 2 of the License, |
| 10 |
or (at your option) any later version. |
| 11 |
|
| 12 |
Open Arena is distributed in the hope that it will be |
| 13 |
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
GNU General Public License for more details. |
| 16 |
|
| 17 |
You should have received a copy of the GNU General Public License |
| 18 |
along with Open Arena; if not, write to the Free Software |
| 19 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 |
=========================================================================== |
| 21 |
*/ |
| 22 |
|
| 23 |
#include "ui/menudef.h" |
| 24 |
|
| 25 |
{ |
| 26 |
menuDef { |
| 27 |
name serverinfo |
| 28 |
visible 0 |
| 29 |
fullscreen 0 |
| 30 |
rect 160 120 320 340 |
| 31 |
outOfBoundsClick |
| 32 |
forecolor MP_TEXTCOLOR |
| 33 |
style 1 |
| 34 |
onOpen { |
| 35 |
uiScript ServerStatus |
| 36 |
} |
| 37 |
onEsc { |
| 38 |
close serverinfo; |
| 39 |
open joinserver |
| 40 |
} |
| 41 |
|
| 42 |
itemDef { |
| 43 |
name infoshit |
| 44 |
rect 20 40 280 230 |
| 45 |
type ITEM_TYPE_LISTBOX |
| 46 |
style WINDOW_STYLE_FILLED |
| 47 |
elementwidth 120 |
| 48 |
elementheight 16 |
| 49 |
textscale .18 |
| 50 |
border 1 |
| 51 |
bordercolor MP_BOX_BORDER |
| 52 |
forecolor MP_BOX_FORE |
| 53 |
backcolor MP_BOX_BACK |
| 54 |
outlinecolor MP_BOX_OUTLINE |
| 55 |
elementtype LISTBOX_TEXT |
| 56 |
feeder FEEDER_SERVERSTATUS |
| 57 |
visible 1 |
| 58 |
columns 4 |
| 59 |
10 20 20 |
| 60 |
40 40 10 |
| 61 |
90 40 10 |
| 62 |
135 40 20 |
| 63 |
} |
| 64 |
} |
| 65 |
} |