home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Menu / scr / CreateServerMenu.scr < prev    next >
Encoding:
Text File  |  2004-02-24  |  2.4 KB  |  94 lines

  1. !Include("../UIDef/UI.def")
  2. //------ UI stuff -----------------------------
  3. Interface("UI_CREATE_SERVER_MENU")
  4. {
  5.     Command(1)
  6.     Notify(1)
  7.     CanFocus(0)
  8.     TextureFocusAlpha(1.0)
  9.     TextFocusAlpha(1.0)
  10.     SelKeyUp(0)
  11.     SelKeyDown(0)
  12.     Text("")
  13.     TextAlpha(1.0)
  14.     TextColor(0.0,0.0,0.0)
  15.     Font("MSSansSerif8")
  16.     TextPosFlags(34)
  17.     Mouse(1)
  18.     Keyboard(1)
  19.     Joy(0)
  20.     Visible(0)
  21.     ParentPositioning(0)
  22.     PreviousElemPositioning(0)
  23.     ParentCenteringX(0)
  24.     ParentCenteringY(0)
  25.     ParentSizingX(0)
  26.     ParentSizingY(0)
  27.     TextureID("Background")
  28.     TextureAlpha(1.0)
  29.     LogicSize(1.0,1.0)
  30.     LogicPos(0.0,0.0)
  31.  
  32.     Menu("UIMenu","ID_MENU","Specific")
  33.     {
  34.         Command(1)
  35.         Notify(1)
  36.         CanFocus(1)
  37.         TextureFocusAlpha(1.0)
  38.         TextFocusAlpha(1.0)
  39.         SelKeyUp(200)
  40.         SelKeyDown(208)
  41.         
  42. //--- MenuButton pattern for ID_MENU :
  43.         !Include("..\\uidef\\menubutton.def")
  44.  
  45.         
  46. //--- OptionsControlSelect pattern for ID_MENU :
  47.         !Include("../uidef/OptionsControlSelect.def")
  48.  
  49.         Text("")
  50.         TextAlpha(1.0)
  51.         TextColor(1.0,1.0,1.0)
  52.         Font("MSSansSerif8")
  53.         TextPosFlags(34)
  54.         Mouse(1)
  55.         Keyboard(1)
  56.         Joy(0)
  57.         Visible(1)
  58.         ParentPositioning(1)
  59.         PreviousElemPositioning(0)
  60.         ParentCenteringX(1)
  61.         ParentCenteringY(0)
  62.         ParentSizingX(0)
  63.         ParentSizingY(0)
  64.         TextureAlpha(1.0)
  65.         LogicSize(1.0,0.395)
  66.         LogicPos(0.0,0.19833334)
  67.  
  68.         MenuButton("UIMenuButtonInflateText","ID_BTN_CREATE_SERVER","Create server","","Regular")
  69.         {
  70.             ForceTextLowerCase()
  71.             Text("Create server")
  72.             LogicSize(0.26,0.058333334)
  73.             LogicPos(0.37,0.4599156)
  74.         }// [UIMenuButtonInflateText] ID_BTN_CREATE_SERVER
  75.  
  76.         MenuButton("UIMenuButtonInflateText","ID_BACK","&&MenuMainExit&&","","Regular")
  77.         {
  78.             ForceTextLowerCase()
  79.             Text("&&MenuMainExit&&")
  80.             LogicSize(0.07,0.058333334)
  81.             LogicPos(0.3653846,1.0285715)
  82.         }// [UIMenuButtonInflateText] ID_BACK
  83.     }// [UIMenu] ID_MENU
  84.  
  85.  
  86.     EditTexture("er_t_red.png")
  87.     EditBorderWidth(2.0)
  88.     EditBorderSens(3.0)
  89.     EditCursor("c_arrow.png")
  90.     EditCursorSize("c_resize.png")
  91.     EditCursorMove("c_move.png")
  92.     Cursor("cursor.png")
  93. }
  94.