home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 87 / CDMM87_1.ISO / Sidrial / data1.cab / Program_Files / sidrial0.pk3 / ui / sidrial_error.menu < prev    next >
Encoding:
Text File  |  2002-01-13  |  3.2 KB  |  190 lines

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ Server Information Popup Menu \\
  5.  
  6. menuDef {
  7.     name "error_popmenu"
  8.        visible 0
  9.        fullscreen 0
  10.     rect 158 80 320 345
  11.     focusColor 1 1 1 1
  12.        style 1
  13.        border 1
  14.     popup
  15.     onClose { uiScript clearError }
  16.     onOpen { }
  17.     onESC { close error_popmenu ; open main }
  18.  
  19. //Background
  20.     itemDef {
  21.         name window
  22.         rect 10 15 300 320
  23.         style 1
  24.         backcolor 0 0 0 .6
  25.         forecolor 0 0 0 1
  26.         visible 1
  27.         decoration
  28.     }
  29.     itemDef {
  30.         name window
  31.         rect 10 15 300 320
  32.         style 1
  33.         backcolor .66 1 0 .6
  34.         forecolor 0 0 0 1
  35.         border 1
  36.         bordercolor .66 1 0 1
  37.         visible 1
  38.         decoration
  39.         }
  40. //Content
  41.     itemDef {
  42.         name errorinfo
  43.         rect 0 20 320 20    
  44.         text "Error:" 
  45.         textstyle 6
  46.         textalign 1
  47.         textscale .4
  48.         textalignx 160
  49.         textaligny 20
  50.         forecolor 1 1 1 1
  51.         visible 1
  52.         decoration
  53.         }
  54.     itemDef {
  55.         name window
  56.         rect 30 50 260 230
  57.         style 1
  58.         backcolor 0 .3 0 .5
  59.         forecolor 0 0 0 1
  60.         border 1
  61.         bordercolor .66 1 0 1
  62.         visible 1
  63.         decoration
  64.     }
  65.     itemDef {
  66.         name errorinfo
  67.         rect 30 50 240 210
  68.         type ITEM_TYPE_TEXT
  69.         style 0
  70.         textstyle 3
  71.         autowrapped
  72.         cvar "com_errorMessage"
  73.         textalign 0
  74.         textalignx 10
  75.         textaligny 20
  76.         textscale .25
  77.         backcolor 1 1 1 1
  78.         forecolor 1 1 1 1
  79.         visible 1
  80.         decoration
  81.     }
  82. //Button//
  83.     //Exit
  84.     itemDef {
  85.         name exitbar
  86.         style WINDOW_STYLE_FILLED
  87.         rect 135 300 60 21
  88.         backcolor .66 1 0 .7  
  89.         visible 0
  90.         action { play "sound/ui/menu2.wav" ; 
  91.         close error_popmenu ; 
  92.         open main;}
  93.     }
  94.     itemDef {
  95.           name button        
  96.         style 3
  97.           rect 120 295 30 30 
  98.          background "ui/sidrial/sub/brace.tga"
  99.         backcolor 0 0 0 0
  100.           forecolor 1 1 1 1
  101.           visible 1
  102.         decoration    
  103.         action { play "sound/ui/menu2.wav" ; 
  104.         close error_popmenu ; 
  105.         open main;}
  106.     }
  107.     itemDef {
  108.           name button    
  109.         style 3
  110.           rect 180 295 30 30 
  111.          background "ui/sidrial/sub/brace_right.tga"
  112.         backcolor 0 0 0 0
  113.           forecolor 1 1 1 1
  114.           visible 1
  115.         decoration    
  116.         action { play "sound/ui/menu2.wav" ; 
  117.         close error_popmenu ; 
  118.         open main;}
  119.     }
  120.      itemDef {
  121.         name exitwords
  122.         type 1
  123.           text "Exit"
  124.           style 0    
  125.         textstyle 6
  126.           rect 120 295 80 30
  127.            forecolor .66 1 0 1
  128.         textalignx 45
  129.         textaligny 20
  130.           textalign 1
  131.         textscale .3        
  132.           visible 1     
  133.         mouseEnter { transition exitbar 135 310 60 0 135 300 60 21 20 5 ; }
  134.         mouseExit { transition exitbar 135 300 60 21 135 310 60 0 20 5 ; }
  135.         action { play "sound/ui/menu2.wav" ; 
  136.         close error_popmenu ; 
  137.         open main;}
  138.     }
  139.  
  140. //Corners        
  141. itemDef {
  142.           name corners    
  143.         style 3
  144.           rect 7 12 40 40
  145.          background "ui/sidrial/Popup/ULCorner.tga"
  146.         backcolor 0 0 0 0
  147.           forecolor 1 1 1 1
  148.           visible 1
  149.         decoration    
  150.     }
  151. itemDef {
  152.           name corners    
  153.         style 3
  154.           rect 273 12 40 40
  155.          background "ui/sidrial/Popup/URCorner.tga"
  156.         backcolor 0 0 0 0
  157.           forecolor 1 1 1 1
  158.           visible 1
  159.         decoration    
  160.     }
  161. itemDef {
  162.           name corners    
  163.         style 3
  164.           rect 7 298 40 40
  165.          background "ui/sidrial/Popup/BLCorner.tga"
  166.         backcolor 0 0 0 0
  167.           forecolor 1 1 1 1
  168.           visible 1
  169.         decoration    
  170.     }
  171. itemDef {
  172.           name corners    
  173.         style 3
  174.           rect 273 298 40 40
  175.          background "ui/sidrial/Popup/BRCorner.tga"
  176.         backcolor 0 0 0 0
  177.           forecolor 1 1 1 1
  178.           visible 1
  179.         decoration    
  180.     }
  181.  
  182.  
  183.  
  184. }
  185.  
  186.  
  187. }
  188.  
  189.  
  190.