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

  1. // ====================================================================
  2. //  Class:  GUI.GUIScrollBarBase
  3. //  Parent: GUI.GUIMultiComponent
  4. //
  5. //  <Enter a description here>
  6. // ====================================================================
  7.  
  8. class GUIScrollBarBase extends GUIMultiComponent
  9.         Native;
  10.  
  11. var        GUIListBase        MyList;            // The list this Scrollbar is attached to
  12.  
  13. function UpdateGripPosition(float NewPos);
  14. function MoveGripBy(int items);
  15. event AlignThumb();
  16.  
  17. function Refocus(GUIComponent Who)
  18. {
  19.     local int i;
  20.     
  21.     if (Who != None && Controls.Length > 0)
  22.         for (i=0;i<Controls.Length;i++)
  23.         {
  24.             Controls[i].FocusInstead = Who;
  25.             Controls[i].bNeverFocus=true;
  26.         }
  27. }
  28.  
  29. defaultproperties
  30. {
  31.     bTabStop=false
  32.     PropagateVisibility=true
  33.  
  34. }