home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / GUI / Classes / GUIHorzScrollButton.uc < prev    next >
Text File  |  2003-06-30  |  815b  |  35 lines

  1. // ====================================================================
  2. //  Class:  GUI.GUIHorzScrollButton
  3. //  Parent: GUI.GUIGFXButton
  4. //
  5. //  <Enter a description here>
  6. // ====================================================================
  7.  
  8. class GUIHorzScrollButton extends GUIGFXButton
  9.         Native;
  10.  
  11. #exec OBJ LOAD FILE=GUIContent.utx
  12.  
  13. var(Menu)    bool    LeftButton;
  14.  
  15. function InitComponent(GUIController MyController, GUIComponent MyOwner)
  16. {
  17.     Super.Initcomponent(MyController, MyOwner);
  18.     
  19.     if (LeftButton)
  20.         Graphic = Material'GUIContent.Menu.ArrowBlueLeft';
  21.     else
  22.         Graphic = Material'GUIContent.Menu.ArrowBlueRight';
  23. }
  24.  
  25.  
  26. defaultproperties
  27. {
  28.     StyleName="RoundScaledButton"
  29.     //StyleName="NoBackground"
  30.     LeftButton=false
  31.     Position=ICP_Scaled
  32.     bNeverFocus=true
  33.     bCaptureMouse=true    
  34. }
  35.