home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Inne / Gry / OpenArena / missionpack / mp-pak0.pk3 / ui / configuration.menu < prev    next >
Encoding:
Text File  |  2008-06-16  |  3.6 KB  |  188 lines

  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 "configuration"
  28.     visible 0
  29.     fullscreen 1
  30.     background MP_BACKGROUND    
  31.     focusColor MP_FOCUSCOLOR
  32.     rect 0 0 640 480
  33.     style 0
  34.     onOpen { }
  35.     onEsc    { 
  36.         close configuration;
  37.         open main
  38.         }
  39.  
  40.  
  41. itemDef {
  42.           name titleness
  43.           text "Configuration"
  44.           style 0    
  45.     type 0
  46.     textstyle 6
  47.           textscale 1
  48.           rect 0 65 1 1
  49.           textalign 0        
  50.          textalignx 48     
  51.     textaligny 40        
  52.     forecolor MP_TITLECOLOR
  53.     visible 1 
  54.     }
  55.  
  56. // The Bar of Buttons
  57.  
  58. itemDef {
  59.           name button1
  60.           text "Controls"
  61.           style 0
  62.     type 1
  63.     textstyle 3
  64.           textscale 0.3
  65.           rect 52 145 163 34
  66.           textalign 0        
  67.          textalignx 5      
  68.     textaligny 20      
  69.     backcolor 0 0 0 0
  70.     forecolor MP_TEXTCOLOR
  71.     visible 1 
  72.           action
  73.               {
  74.             play "ui/assets/select.wav"; 
  75.                    open controls;
  76.         close configuration;
  77.               }
  78.     }
  79.  
  80. itemDef {
  81.           name button2
  82.           text "Audio"
  83.           style 0
  84.     type 1
  85.     textstyle 3
  86.           textscale 0.3
  87.           rect 52 177 163 34
  88.           textalign 0        
  89.          textalignx 5     
  90.     textaligny 20   
  91.     forecolor MP_TEXTCOLOR
  92.     visible 1 
  93.           action
  94.               {
  95.             play "ui/assets/select.wav"; 
  96.         open audio;
  97.         close configuration;
  98.  
  99.               }
  100.     }
  101.  
  102. itemDef {
  103.           name button3
  104.           text "Video"
  105.           style 0
  106.     type 1
  107.     textstyle 3
  108.           textscale 0.3
  109.           rect 52 209 163 34
  110.           textalign 0        
  111.          textalignx 5      
  112.     textaligny 20   
  113.     forecolor MP_TEXTCOLOR  
  114.     visible 1 
  115.           action
  116.               {
  117.             play "ui/assets/select.wav"; 
  118.         open videomodes;
  119.         close configuration;
  120.               }
  121.     }
  122.  
  123.  
  124. itemDef {
  125.           name button4
  126.           text "Content control"
  127.           style 0
  128.     type 1
  129.     textstyle 3
  130.           textscale 0.3
  131.           rect 52 241 163 34
  132.           textalign 0        
  133.          textalignx 5      
  134.     textaligny 20   
  135.     forecolor MP_TEXTCOLOR  
  136.     visible 1 
  137.           action
  138.               {
  139.             play "ui/assets/select.wav"; 
  140.         open contentcontrol;
  141.         close configuration;
  142.               }
  143.     }
  144.  
  145. itemDef {
  146.           name button5
  147.           text "Options"
  148.           style 0
  149.     type 1
  150.     textstyle 3
  151.           textscale 0.3
  152.           rect 52 273 163 34
  153.           textalign 0        
  154.          textalignx 5      
  155.     textaligny 20   
  156.     forecolor MP_TEXTCOLOR  
  157.     visible 1 
  158.           action
  159.               {
  160.             play "ui/assets/select.wav";
  161.             open options;
  162.         close configuration;
  163.               }
  164.     }
  165.  
  166. itemDef {
  167.           name button6
  168.           text "Done"
  169.           style 0
  170.     type 1
  171.     textstyle 3
  172.           textscale 0.3
  173.           rect 52 305 163 34
  174.           textalign 0        
  175.          textalignx 5      
  176.     textaligny 20    
  177.     forecolor MP_TEXTCOLOR 
  178.     visible 1 
  179.           action
  180.               {
  181.             play "ui/assets/select.wav"; 
  182.         close configuration;
  183.         open main;
  184.               }
  185.     }
  186.  
  187. }
  188.