summaryrefslogtreecommitdiff
path: root/assets/ui/ingame_leave.menu
blob: be68711c9425b1efec63011bb07890d333841a1d (plain)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#include "ui/menudef.h"
{
#define W       999
#define H       210
#define A       200
  menuDef
  {
    name "ingame_leave"
    visible MENU_FALSE
    fullscreen MENU_FALSE
	outOfBoundsClick
    rect (320-(W/2)) (240-(H/2)) W H
    focusColor 1 1 1 1
    style WINDOW_STYLE_FILLED
    border WINDOW_BORDER_FULL
    popup
	onOpen
    {
	close ingame;
    }
    onESC
    {
      play "sound/misc/menu1.wav";
      close ingame
    }
	
	itemDef
    {
      name "aurora_add"
      style WINDOW_STYLE_SHADER
      rect 0 -150 1000 600
      visible 1
	  background "ui/menu_main_aurora_base_stars"
      decoration
    }
	
	itemDef
    {
      name "aurora"
      style WINDOW_STYLE_SHADER
      rect 0 -150 1000 600
      visible 1
	  background "ui/menu_main_aurora_base"
      decoration
    }

    itemDef
    {
    name "window"
      rect 0 100 1280 120
      style WINDOW_STYLE_FILLED
      backcolor 0 0 0 .9
      visible 1
      decoration
    }
//BUTTONSMENU
			    itemDef
    {
      name confirm4
      type ITEM_TYPE_TEXT
	  textstyle   ITEM_TEXTSTYLE_BLINK
      text "DISCONNECT?"
      style WINDOW_STYLE_EMPTY
      textscale .5
 	  rect 446 110 50 20
      textalign ALIGN_LEFT
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible MENU_TRUE
	  decoration
	  }
 itemDef
    {
      name confirm6
      type ITEM_TYPE_BUTTON
      text "BACK TO GAME"
      style WINDOW_STYLE_EMPTY
      textscale .35
 	  rect 475 165 50 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
        close ingame_leave
		open ingame
      }
    }
	itemDef
    {
      name confirm6
      type ITEM_TYPE_BUTTON
      text "QUIT GAME"
      style WINDOW_STYLE_EMPTY
      textscale 0.35
 	  rect 475 185 50 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
        uiScript quit
      }
    }

	
	    itemDef
    {
      name leaveConfirm
      type ITEM_TYPE_BUTTON
      text "OPEN MAIN MENU"
      group grpConfirm
      style WINDOW_STYLE_EMPTY
 	  rect 475 145 50 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      textscale .35
      forecolor 0 0.8 1 1
      visible MENU_TRUE
	  action
	       {
        play "sound/misc/menu1.wav";
        uiScript leave
      }}

  }
}