Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

KFGui.GUILibraryMenuFooter

Extends
ButtonFooter

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIBorder
            |   
            +-- XInterface.GUIFooter
               |   
               +-- GUI2K4.ButtonFooter
                  |   
                  +-- KFGui.GUILibraryMenuFooter

Variables Summary
GUIButtonb_AutoAll
GUIButtonb_Buy
GUIButtonb_Cancel
GUIButtonb_Complete
GUIButtonb_Fill
GUILabell_score
GUILabell_weight
GUIButtonspacer1
GUIButtonspacer2
Inherited Variables from GUI2K4.ButtonFooter
Alignment, bAutoSize, bFixedWidth, bFullHeight, ButtonHeight, ButtonLeft, ButtonWidth, Margin, Padding, Spacer

Functions Summary
functionbool ButtonsSized (Canvas C))
functionfloat GetButtonLeft ()))
functionstring GetLongestCaption (Canvas C))
functionbool OnFooterClick (GUIComponent Sender))
function PositionButtons (Canvas C))
function SetBuyMode (string buyCaption, ool buyEnabled, ool fillVisible, ool fillEnabled))
function SetPlayerStats (int score, float weight))
Inherited Functions from GUI2K4.ButtonFooter
ButtonsSized, GetButtonLeft, GetLongestCaption, GetMargin, GetPadding, GetSpacer, InitComponent, InternalOnPreDraw, PositionButtons, ResolutionChanged, SetupButtons, Timer


Variables Detail

b_AutoAll Source code

var automated GUIButton b_AutoAll;

b_Buy Source code

var automated GUIButton b_Buy;

b_Cancel Source code

var automated GUIButton b_Cancel;

b_Complete Source code

var automated GUIButton b_Complete;

b_Fill Source code

var automated GUIButton b_Fill;

l_score Source code

var automated GUILabel l_score;

l_weight Source code

var automated GUILabel l_weight;

spacer1 Source code

var automated GUIButton spacer1;

spacer2 Source code

var automated GUIButton spacer2;


Functions Detail

ButtonsSized Source code

function bool ButtonsSized ( Canvas C) )

GetButtonLeft Source code

function float GetButtonLeft ( ) )

GetLongestCaption Source code

function string GetLongestCaption ( Canvas C) )

OnFooterClick Source code

function bool OnFooterClick ( GUIComponent Sender) )

PositionButtons Source code

function PositionButtons ( Canvas C) )

SetBuyMode Source code

function SetBuyMode ( string buyCaption,bool buyEnabled,bool fillVisible,bool fillEnabled) )

SetPlayerStats Source code

function SetPlayerStats ( int score, float weight) )


Defaultproperties

defaultproperties
{
     Begin Object Class=GUIButton Name=Purchase
         Caption="Buy"
         StyleName="FooterButton"
         Hint="Buy currently selected weapon"
         WinTop=0.966146
         WinLeft=0.280000
         WinWidth=0.120000
         WinHeight=0.033203
         RenderWeight=2.000000
         TabOrder=3
         bBoundToParent=True
         OnClick=GUILibraryMenuFooter.OnFooterClick
         OnKeyEvent=Purchase.InternalOnKeyEvent
     End Object
     b_Buy=GUIButton'KFGui.GUILibraryMenuFooter.Purchase'


     Begin Object Class=GUIButton Name=Cancel
         Caption="Cancel"
         StyleName="FooterButton"
         Hint="Don't buy these weapons."
         WinTop=0.966146
         WinLeft=0.350000
         WinWidth=0.120000
         WinHeight=0.033203
         RenderWeight=2.000000
         TabOrder=5
         bBoundToParent=True
         OnClick=GUILibraryMenuFooter.OnFooterClick
         OnKeyEvent=Cancel.InternalOnKeyEvent
     End Object
     b_Cancel=GUIButton'KFGui.GUILibraryMenuFooter.Cancel'


     Begin Object Class=GUIButton Name=Complete
         Caption="Complete"
         StyleName="FooterButton"
         Hint="Purchase weapons and save changes."
         WinTop=0.966146
         WinLeft=0.380000
         WinWidth=0.120000
         WinHeight=0.033203
         RenderWeight=2.000000
         TabOrder=6
         bBoundToParent=True
         OnClick=GUILibraryMenuFooter.OnFooterClick
         OnKeyEvent=Complete.InternalOnKeyEvent
     End Object
     b_Complete=GUIButton'KFGui.GUILibraryMenuFooter.Complete'


     Begin Object Class=GUIButton Name=AutoAmmo
         Caption="AutoAmmo"
         StyleName="FooterButton"
         Hint="Fill ammo for all weapons."
         WinTop=0.966146
         WinLeft=0.200000
         WinWidth=0.120000
         RenderWeight=2.000000
         TabOrder=0
         bBoundToParent=True
         OnClick=GUILibraryMenuFooter.OnFooterClick
         OnKeyEvent=AutoAmmo.InternalOnKeyEvent
     End Object
     b_AutoAll=GUIButton'KFGui.GUILibraryMenuFooter.AutoAmmo'


     Begin Object Class=GUIButton Name=Fill
         Caption="Fill Up"
         StyleName="FooterButton"
         Hint="Fill up on currently selected ammo."
         WinTop=0.966146
         WinLeft=0.250000
         WinWidth=0.120000
         RenderWeight=2.000000
         TabOrder=2
         bBoundToParent=True
         bVisible=False
         OnClick=GUILibraryMenuFooter.OnFooterClick
         OnKeyEvent=Fill.InternalOnKeyEvent
     End Object
     b_Fill=GUIButton'KFGui.GUILibraryMenuFooter.Fill'


     Begin Object Class=GUIButton Name=Sp
         StyleName="Footerbutton"
         WinTop=0.966146
         WinLeft=0.220000
         WinWidth=0.120000
         RenderWeight=2.000000
         TabOrder=1
         bBoundToParent=True
         bVisible=False
         OnKeyEvent=Sp.InternalOnKeyEvent
     End Object
     spacer1=GUIButton'KFGui.GUILibraryMenuFooter.Sp'


     Begin Object Class=GUIButton Name=sp2
         StyleName="Footerbutton"
         WinTop=0.966146
         WinLeft=0.330000
         WinWidth=0.120000
         RenderWeight=2.000000
         TabOrder=4
         bBoundToParent=True
         bVisible=False
         OnKeyEvent=sp2.InternalOnKeyEvent
     End Object
     spacer2=GUIButton'KFGui.GUILibraryMenuFooter.sp2'


     Begin Object Class=GUILabel Name=PlayerScore
         Caption="Cash: 0"
         StyleName="FooterButton"
         WinTop=0.966146
         WinLeft=0.010000
         WinHeight=0.033203
     End Object
     l_score=GUILabel'KFGui.GUILibraryMenuFooter.PlayerScore'


     Begin Object Class=GUILabel Name=playerweight
         Caption="Weight: 0.0"
         StyleName="FooterButton"
         WinTop=0.966146
         WinLeft=0.130000
         WinHeight=0.033203
     End Object
     l_weight=GUILabel'KFGui.GUILibraryMenuFooter.playerweight'


}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 13-10-2023 03:18:45.158 - Created with UnCodeX