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

KFGui.GUIBuyMenuFooter

Extends
ButtonFooter

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

Variables Summary
GUIButtonb_Cancel
stringCashString
GUILabell_score
GUILabell_weight
GUIButtonspacer1
GUIButtonspacer2
stringWeightString
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_Cancel Source code

var automated GUIButton b_Cancel;

CashString Source code

var localized string CashString;

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;

WeightString Source code

var localized string WeightString;


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
{
     CashString="Cash"
     WeightString="Weight"
     Begin Object Class=GUIButton Name=Cancel
         Caption="Done"
         StyleName="FooterButton"
         Hint="Exit Trader Menu"
         WinTop=0.940755
         WinLeft=0.942383
         WinWidth=0.056777
         WinHeight=0.053711
         RenderWeight=2.000000
         TabOrder=5
         OnClick=GUIBuyMenuFooter.OnFooterClick
         OnKeyEvent=Cancel.InternalOnKeyEvent
     End Object
     b_Cancel=GUIButton'KFGui.GUIBuyMenuFooter.Cancel'


     Begin Object Class=GUILabel Name=playerweight
         Caption="Weight: 0.0"
         StyleName="FooterButton"
         WinTop=0.950120
         WinLeft=0.460000
         WinWidth=0.200000
         WinHeight=0.040000
     End Object
     l_weight=GUILabel'KFGui.GUIBuyMenuFooter.playerweight'


     WinTop=0.941977
     WinLeft=1.940006
     WinWidth=0.057500
     WinHeight=0.058023
     RenderWeight=0.300000
     TabOrder=8
     bVisible=False
}

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