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

KFGui.KFBuyMenuOptionsList

Extends
GUIVertList

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIListBase
         |   
         +-- XInterface.GUIVertList
            |   
            +-- KFGui.KFBuyMenuOptionsList

Variables Summary
intAutoFillCost
stringAutoFillString
boolbNeedsUpdate
boolbNoAutoFill
stringBuyClipString
stringBuyString
stringExitString
stringFillString
textureItemBackground
floatItemBorder
floatItemSpacing
intMouseOverIndex
array<string>PrimaryStrings
array<string>SecondaryStrings
textureSelectedItemBackground
stringSellString
floatTextTopOffset
GUIBuyableTheBuyable
intUpdateCounter
Inherited Variables from XInterface.GUIListBase
bAllowEmptyItems, bDrawSelectionBorder, bHotTrack, bHotTrackSound, bInitializeList, bMultiSelect, bNotify, bSorted, bVisibleWhenEmpty, DropIndex, Index, ItemCount, ItemHeight, ItemsPerPage, ItemWidth, LastPressX, LastPressY, LastSelected, LinkedObjects, MightRemove, MyScrollBar, OutlineStyle, OutlineStyleName, SectionJustification, SectionStyle, SectionStyleName, SelectedBKColor, SelectedImage, SelectedItems, SelectedStyle, SelectedStyleName, Top

Functions Summary
event Closed (GUIComponent Sender, bool bCancelled))
function DrawInvItem (Canvas Canvas, int CurIndex, float X, float Y, float Width, float Height, bool bSelected, bool bPending))
functionint FindAmmoCost (Class<Ammunition> AClass))
functionint FindCheapestAmmo ()))
event InitComponent (GUIController MyController, GUIComponent MyOwner))
functionbool PreDraw (Canvas Canvas))
functionfloat SaleItemHeight (Canvas c))
function UpdateList (GUIBuyable Buyable))
Inherited Functions from XInterface.GUIVertList
CalculateIndex, CenterMouse, Down, End, Home, InternalOnClick, InternalOnKeyType, PgDn, PgUp, Up, WheelDown, WheelUp
Inherited Functions from XInterface.GUIListBase
AdditionalDebugString, AddLinkObject, CalculateIndex, CheckDragSelect, Clear, ClearPendingElements, DisableLinkedObjects, Down, EnableLinkedObjects, End, GetItemAtIndex, GetPendingItems, Home, IndexChanged, InitComponent, InitLinkObjects, InternalOnBeginDrag, InternalOnDragDrop, InternalOnDragEnter, InternalOnDragLeave, InternalOnDragOver, InternalOnEndDrag, InternalOnKeyEvent, InternalOnMousePressed, InternalOnMouseRelease, InternalOnRightClick, IsMultiSelect, IsValid, IsValidIndex, MakeVisible, MoveLeft, MoveRight, PgDn, PgUp, SetIndex, SetOutlineAlpha, SetTopItem, SilentSetIndex, Sort, Up, WheelDown, WheelUp


Variables Detail

AutoFillCost Source code

var int AutoFillCost;

AutoFillString Source code

var localized string AutoFillString;

bNeedsUpdate Source code

var bool bNeedsUpdate;

bNoAutoFill Source code

var bool bNoAutoFill;

BuyClipString Source code

var localized string BuyClipString;

BuyString Source code

var localized string BuyString;

ExitString Source code

var localized string ExitString;

FillString Source code

var localized string FillString;

ItemBackground Source code

var texture ItemBackground;

ItemBorder Source code

var float ItemBorder;

ItemSpacing Source code

var float ItemSpacing;

MouseOverIndex Source code

var int MouseOverIndex;

PrimaryStrings Source code

var array<string> PrimaryStrings;

SecondaryStrings Source code

var array<string> SecondaryStrings;

SelectedItemBackground Source code

var texture SelectedItemBackground;

SellString Source code

var localized string SellString;

TextTopOffset Source code

var float TextTopOffset;

TheBuyable Source code

var GUIBuyable TheBuyable;

UpdateCounter Source code

var int UpdateCounter;


Functions Detail

Closed Source code

event Closed ( GUIComponent Sender, bool bCancelled) )

DrawInvItem Source code

function DrawInvItem ( Canvas Canvas, int CurIndex, float X, float Y, float Width, float Height, bool bSelected, bool bPending) )

FindAmmoCost Source code

function int FindAmmoCost ( Class<Ammunition> AClass) )

FindCheapestAmmo Source code

function int FindCheapestAmmo ( ) )

InitComponent Source code

event InitComponent ( GUIController MyController, GUIComponent MyOwner) )

PreDraw Source code

function bool PreDraw ( Canvas Canvas) )

SaleItemHeight Source code

function float SaleItemHeight ( Canvas c) )

UpdateList Source code

function UpdateList ( GUIBuyable Buyable) )


Defaultproperties

defaultproperties
{
     ItemBorder=0.030000
     TextTopOffset=0.050000
     ItemSpacing=6.000000
     ItemBackground=Texture'InterfaceArt_tex.Menu.DownTickBlurry'
     SelectedItemBackground=Texture'InterfaceArt_tex.Menu.DownTickWatched'
     BuyString="Purchase"
     SellString="Sell Weapon"
     BuyClipString="Buy Single Clip"
     FillString="Fill Selected Ammo"
     AutoFillString="Auto Fill Ammo"
     ExitString="Exit Trader Menu"
     GetItemHeight=KFBuyMenuOptionsList.SaleItemHeight
     FontScale=FNS_Medium
     OnPreDraw=KFBuyMenuOptionsList.PreDraw
}

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