home *** CD-ROM | disk | FTP | other *** search
- // ====================================================================
- // Class: GUI.GUIHorzScrollButton
- // Parent: GUI.GUIGFXButton
- //
- // <Enter a description here>
- // ====================================================================
-
- class GUIHorzScrollButton extends GUIGFXButton
- Native;
-
- #exec OBJ LOAD FILE=GUIContent.utx
-
- var(Menu) bool LeftButton;
-
- function InitComponent(GUIController MyController, GUIComponent MyOwner)
- {
- Super.Initcomponent(MyController, MyOwner);
-
- if (LeftButton)
- Graphic = Material'GUIContent.Menu.ArrowBlueLeft';
- else
- Graphic = Material'GUIContent.Menu.ArrowBlueRight';
- }
-
-
- defaultproperties
- {
- StyleName="RoundScaledButton"
- //StyleName="NoBackground"
- LeftButton=false
- Position=ICP_Scaled
- bNeverFocus=true
- bCaptureMouse=true
- }
-