home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Menu / scr / PlaceTaken.scr < prev    next >
Encoding:
Text File  |  2004-03-05  |  2.9 KB  |  112 lines

  1. !Include("../UIDef/UI.def")
  2. //------ UI stuff -----------------------------
  3. Interface("UI_MAIN_MENU")
  4. {
  5.     Command(1)
  6.     Notify(1)
  7.     CanFocus(1)
  8.     TextureFocusAlpha(1.0)
  9.     TextFocusAlpha(1.0)
  10.     SelKeyUp(0)
  11.     SelKeyDown(0)
  12.     Text("")
  13.     TextAlpha(1.0)
  14.     TextColor(1.0,1.0,1.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_FRAME","Specific")
  33.     {
  34.         Command(1)
  35.         Notify(1)
  36.         CanFocus(0)
  37.         TextureFocusAlpha(1.0)
  38.         TextFocusAlpha(1.0)
  39.         SelKeyUp(200)
  40.         SelKeyDown(208)
  41.         
  42. //--- MenuButton pattern for ID_FRAME :
  43.         !Include("..\\uidef\\menubutton.def")
  44.  
  45.         Text("choose the place")
  46.         TextAlpha(0.5)
  47.         TextColor(1.0,1.0,1.0)
  48.         Font("MenuSmall")
  49.         FontScale(0.5)
  50.         TextPosFlags(33)
  51.         Mouse(1)
  52.         Keyboard(1)
  53.         Joy(0)
  54.         Visible(1)
  55.         ParentPositioning(1)
  56.         PreviousElemPositioning(0)
  57.         ParentCenteringX(1)
  58.         ParentCenteringY(1)
  59.         ParentSizingX(0)
  60.         ParentSizingY(0)
  61.         FrameCornerSize(13,13)
  62.         TextureID("ModalWindow")
  63.         TextureAlpha(1.0)
  64.         LogicSize(0.3575,0.425)
  65.         LogicPos(0.32125,0.2875)
  66.  
  67.         MenuButton("UIMenuButtonInflateText","ID_PLACE1","Place 1","","Regular")
  68.         {
  69.             ForceTextLowerCase()
  70.             Text("Place 1")
  71.             LogicPos(0.23776224,0.21040721)
  72.         }// [UIMenuButtonInflateText] ID_PLACE1
  73.  
  74.         MenuButton("UIMenuButtonInflateText","ID_PLACE2","Place 2","","Regular")
  75.         {
  76.             ForceTextLowerCase()
  77.             Text("Place 2")
  78.             LogicPos(0.0,1.1)
  79.         }// [UIMenuButtonInflateText] ID_PLACE2
  80.  
  81.         MenuButton("UIMenuButtonInflateText","ID_PLACE3","Place 3","","Regular")
  82.         {
  83.             ForceTextLowerCase()
  84.             Text("Place 3")
  85.             LogicPos(0.0,1.1)
  86.         }// [UIMenuButtonInflateText] ID_PLACE3
  87.  
  88.         MenuButton("UIMenuButtonInflateText","ID_PLACE4","Place 4","","Regular")
  89.         {
  90.             ForceTextLowerCase()
  91.             Text("Place 4")
  92.             LogicPos(0.0,1.1)
  93.         }// [UIMenuButtonInflateText] ID_PLACE4
  94.  
  95.         MenuButton("UIMenuButtonInflateText","ID_BACK","Back","","Regular")
  96.         {
  97.             ForceTextLowerCase()
  98.             Text("Back")
  99.             LogicPos(0.0,1.8282053)
  100.         }// [UIMenuButtonInflateText] ID_BACK
  101.     }// [UIMenu] ID_FRAME
  102.  
  103.  
  104.     EditTexture("er_t_red.png")
  105.     EditBorderWidth(2.0)
  106.     EditBorderSens(3.0)
  107.     EditCursor("c_arrow.png")
  108.     EditCursorSize("c_resize.png")
  109.     EditCursorMove("c_move.png")
  110.     Cursor("cursor.png")
  111. }
  112.