Source

UnrealMagicOfDoomOhYeah / UTSimpleList.txt

UTGame/Classes/UTSimpleList.uc
class UTSimpleList extends UTDrawPanel

     event ImportStringList(array<string> StringList)
     event RemoveString(string TextToRemove)
    event AddItem(string Text, optional int Tag=-1)
    event DrawPanel()
    event Empty()
    event GetSupportedUIActionKeyNames(out array<Name> out_KeyNames )
    event InsertItem(int Index, string Text, optional int Tag=-1)
    event PostInitialize()
    event RefreshBarPosition()
    event RemoveItem(int IndexToRemove)
    event SelectItem(int NewSelection)
    event SetItemSelectionIndex(float SelectionIndex)
    event SizeList()
    event float GetItemScale(int ItemIdx, float SelectionPosValue, optional out float Alpha)
    function DrawItem(int ItemIndex, float XPos, out float YPos)
    function DrawSelectionBG(float YPos)
    function DrawSpecial(float x, float y, float w, float h, float u, float v, float ul, float vl, color DrawColor, bool bOver, bool bPressed)
    function DrawStringToFit(string StringToDraw, float XPos, float Y1, float Y2)
    function ItemChosen(int PlayerIndex)
    function LinearColor InterpLinearColor(LinearColor A, LinearColor B, float Alpha)
    function OnMouseOverMenu( bool bIsOverMenu )
    function PgDn()
    function PgUp()
    function SetBarPositionUsingMouseY()
    function ToStrings(out array<string> StringList, optional bool bAppend)
    function UpdateMouseOverMenu()
    function Vector GetMousePosition()
    function bool CursorCheck(float X1, float Y1, float X2, float Y2)
    function bool IsMouseOverMenu()
    function bool MouseInBounds()
    function bool ProcessInputAxis( const out SubscribedInputEventParameters EventParms )
    function bool ProcessInputKey( const out SubscribedInputEventParameters EventParms )
    function bool SelectUnderCursor()
    function color LinearColorToColor(LinearColor Src)
    function float CalculateSelectionBGPosition(int SelectedIdx)
    function float ComputeListHeightWithSelection( bool bMaximum )
    function float GetDefaultCellHeight()
    function float GetItemHeightInPixels(float ItemScale)
    function float GetSelectedCellHeight()
    function int GetTag()
    function string GetText()
    function string ResolveText(string Markup)
    native function SortList();
    native function UpdateAnimation(FLOAT DeltaTime);
    native function int Find(string SearchText);
    native function int FindTag(int SearchTag);