Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:StreamPlaylistEditor (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPage >> UT2K4GUIPage >> PopupPageBase >> FloatingWindow >> StreamPlaylistEditor
Package: 
GUI2K4

Created on: 10/12/2003 Graphical User Interface for music playlists & navigating the user's file system

Written by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved

Properties[edit]

Property group 'StreamPlaylistEditor'[edit]

CurrentPlaylist[edit]

Type: StreamPlaylist

Modifiers: editinline, noexport


FileManager[edit]

Type: StreamInterface

Modifiers: editinline, editconst, noexport


GeneralFileItems[edit]

Type: array<string>

Modifiers: localized


Default value: "Play selected"

GeneralFolderItems[edit]

Type: array<string>

Modifiers: localized


Default value: "Add to playlist"

Handler[edit]

Type: StreamInteraction

Modifiers: editinline, editconst, noexport


ImportItems[edit]

Type: array<string>

Modifiers: localized


Default value, index 0: "Import to new playlist"

Default value, index 1: "Import to current playlist"

li_Directory[edit]

Type: DirectoryTreeList

Modifiers: editinline, noexport


NonPlaylistItems[edit]

Type: array<string>

Modifiers: localized


Default value, index 0: "Add to playlist"

Default value, index 1: "Add to playlist & play"

PlaylistItems[edit]

Type: array<string>

Modifiers: localized


Default value: "Remove from playlist"

PlaylistManager[edit]

Type: StreamPlaylistManager

Modifiers: editinline, editconst, noexport


Internal variables[edit]

b_Add[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'AddButton'

b_Done[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'CloseButton'

co_DriveLetters[edit]

Type: moComboBox

Modifiers: automated


Default value: moComboBox'lbDriveLetters'

lb_Directory[edit]

Type: DirectoryTreeListBox

Modifiers: automated


Default value: DirectoryTreeListBox'UserDirectory'

sb_Main[edit]

Type: GUISectionBackground

Modifiers: automated


Default value: AltSectionBackground'MainPanel'

Default values[edit]

Property Value
bPersistent True
ContextMenu GUIContextMenu'RCMenu'
MinPageHeight 0.227902
MinPageWidth 0.375
OnKeyEvent InternalOnKeyEvent
OnRightClick InternalRightClick
WindowName "Adding Songs to "

Subobjects[edit]

AddButton[edit]

Class: XInterface.GUIButton

Property Value
Caption "Add"
Hint "Add selected item to playlist. If selected item is a directory, all songs in the directory will be added to the playlist."
OnClick InternalOnClick
ScalingType SCALE_X
WinHeight 0.04
WinLeft 0.822917
WinTop 0.041667
WinWidth 0.14583

CloseButton[edit]

Class: XInterface.GUIButton

Property Value
Caption "CLOSE"
OnClick InternalOnClick
ScalingType SCALE_X
WinHeight 0.04
WinLeft 0.822917
WinTop 0.844444
WinWidth 0.156247

lbDriveLetters[edit]

Class: XInterface.moComboBox

Property Value
Caption "Directory:"
CaptionWidth 0.3
FontScale FNS_Small
OnChange DCOnChange
WinHeight 32.0
WinLeft 0.1
WinTop 0.1
WinWidth 0.9

MainPanel[edit]

Class: GUI2K4.AltSectionBackground

Property Value
RenderWeight 0.2
WinHeight 0.7
WinLeft 0.0
WinTop 0.15
WinWidth 1.0

RCMenu[edit]

Class: XInterface.GUIContextMenu

Property Value
OnOpen ContextOpen
OnSelect ContextClick

UserDirectory[edit]

Class: GUI2K4.DirectoryTreeListBox

Property Value
bBoundToParent True
bScaleToParent True
bVisibleWhenEmpty True
WinHeight 0.939583
WinLeft 0.020833
WinTop 0.027778
WinWidth 0.760413

Functions[edit]

Events[edit]

Closed[edit]

event Closed (GUIComponent Sender, bool bCancelled)

Overrides: GUIPage.Closed


HandleParameters[edit]

event HandleParameters (string Param1, string Param2)

Overrides: GUIPage.HandleParameters


InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: FloatingWindow.InitComponent


Other instance functions[edit]

AddPreDraw[edit]

function bool AddPreDraw (Canvas C)


AddToPlaylist[edit]

function bool AddToPlaylist (string FileName)


ClosePreDraw[edit]

function bool ClosePreDraw (Canvas C)


ContextClick[edit]

function ContextClick (GUIContextMenu Menu, int Index)


ContextOpen[edit]

function bool ContextOpen (GUIContextMenu Menu)


DCOnChange[edit]

function DCOnChange (GUIComponent Sender)


FloatingPreDraw[edit]

function bool FloatingPreDraw (Canvas C)

Overrides: FloatingWindow.FloatingPreDraw


HandleDebugExec[edit]

function bool HandleDebugExec (string Command, string Param)


InitializeDirectoryList[edit]

function InitializeDirectoryList ()


InternalOnClick[edit]

function bool InternalOnClick (GUIComponent Sender)


InternalOnDblClick[edit]

function bool InternalOnDblClick (GUIComponent Sender)


InternalOnKeyEvent[edit]

function bool InternalOnKeyEvent (out byte iKey, out byte State, float Delta)


InternalRightClick[edit]

function bool InternalRightClick (GUIComponent Sender)


SetFileManager[edit]

function bool SetFileManager ()


SetHandler[edit]

function bool SetHandler ()


SetPlaylistManager[edit]

function bool SetPlaylistManager ()


UpdateCurrentPath[edit]

function UpdateCurrentPath (GUIComponent Sender)


Operators[edit]

array<string> += array<string>[edit]

{{{1}}}