videodriver.menu 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. // VIDEODRIVER MENU
  2. {
  3. menuDef
  4. {
  5. name "videodriverMenu"
  6. visible 0
  7. fullScreen 0 // MENU_TRUE
  8. rect 100 120 440 320
  9. focusColor 1 1 1 1 // Focus color for text and items
  10. outOfBoundsClick // this closes the window if it gets a click out of the rectangle
  11. descX 320
  12. descY 450
  13. descScale 1
  14. descColor .79 .64 .22 .7 // Focus color for text and items
  15. descAlignment ITEM_ALIGN_CENTER
  16. popup
  17. onESC
  18. {
  19. play "sound/interface/esc.wav"
  20. close all
  21. open setupMenu
  22. }
  23. onClose
  24. {
  25. }
  26. //----------------------------------------------------------------------------------------------
  27. //
  28. // MENU BACKGROUND
  29. //
  30. //----------------------------------------------------------------------------------------------
  31. itemDef
  32. {
  33. name driver_background
  34. group none
  35. style WINDOW_STYLE_SHADER
  36. rect 0 0 440 320
  37. background "gfx/menus/menu_boxred" // Frame
  38. forecolor 1 1 1 1
  39. visible 1
  40. decoration
  41. }
  42. itemDef
  43. {
  44. name driver_done_button
  45. group none
  46. style WINDOW_STYLE_SHADER
  47. rect 150 293 140 24
  48. background "gfx/menus/menu_buttonback" // Frame around button
  49. forecolor 1 1 1 1
  50. decoration
  51. visible 0
  52. }
  53. itemDef
  54. {
  55. name driver_done
  56. group none
  57. text @MENUS_DONE_CAPS
  58. type ITEM_TYPE_BUTTON
  59. style WINDOW_STYLE_EMPTY
  60. rect 150 293 140 24
  61. forecolor 1 1 1 1
  62. textalign ITEM_ALIGN_CENTER
  63. textstyle 0
  64. textalignx 70
  65. textaligny 0
  66. font 3
  67. textscale 1
  68. forecolor .79 .64 .22 1
  69. visible 1
  70. mouseEnter
  71. {
  72. show driver_done_button
  73. }
  74. mouseExit
  75. {
  76. hide driver_done_button
  77. }
  78. action
  79. {
  80. close videodriverMenu
  81. }
  82. }
  83. //----------------------------------------------------------------------------------------------
  84. //
  85. // VIDEO DRIVER INFO
  86. //
  87. //----------------------------------------------------------------------------------------------
  88. itemDef // Drivers
  89. {
  90. name game_version
  91. group none
  92. ownerdraw 249 // UI_GLINFO
  93. font 4
  94. textscale 1
  95. rect 10 3 430 280
  96. forecolor .79 .64 .22 1
  97. style WINDOW_STYLE_EMPTY
  98. textalign ITEM_ALIGN_LEFT
  99. textaligny 14
  100. visible 1
  101. decoration
  102. }
  103. }
  104. }