File: error.menu

package info (click to toggle)
openarena-data 0.8.5split-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 191,828 kB
  • sloc: ansic: 4,262; makefile: 142; perl: 22
file content (88 lines) | stat: -rw-r--r-- 1,834 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*
===========================================================================
Copyright (C) 2007 Open Arena Team

This file is part of Open Arena.

Open Arena is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.

Open Arena is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Open Arena; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
===========================================================================
*/

#include "ui/menudef.h"

{
menuDef {
	name error_popmenu
	visible 0
	fullscreen 1
	rect 0 0 640 480
	focusColor 1 1 1 1
	backcolor 0 0 0 0
	forecolor 0 0 0 1
	focuscolor MP_FOCUSCOLOR
	background "ui/assets/errorbg.tga"
	style 0
	popup
	onClose { uiScript clearError }
	onESC { close error_popmenu ; open main }

itemDef {
	name etext
	rect 80 150 320 20	
	text "Error: "
	textalign 1
	textstyle 6
	textalignx 100
	textaligny 23
	forecolor 1 1 1 1
	visible 1
	decoration
	}
	
itemDef {
	name emessage
	rect 140 160 200 270
	type ITEM_TYPE_TEXT
	style 1
	textstyle 3
	textalign 1
	textalignx 110
	textaligny 23
	autowrapped
	cvar "com_errorMessage"
	textalign ITEM_ALIGN_LEFT
	forecolor 1 1 1 1
	visible 1
	decoration
	}

itemDef	{
	name eexit
	rect 240 440 640 100
	forecolor MP_TEXTCOLOR
	text "Exit to Main"
	style 0
	type 1
	textstyle 3
	textalign 0
	textaligny 10
	visible 1
	action { close error_popmenu ; open main }
	}
	
}
}