GUI2K4.StreamPlayer
- Extends
- FloatingWindow
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPage
|
+-- XInterface.UT2K4GUIPage
|
+-- GUI2K4.PopupPageBase
|
+-- GUI2K4.FloatingWindow
|
+-- GUI2K4.StreamPlayer
Inherited Variables from GUI2K4.FloatingWindow |
BLSizing, bMoveAllowed, bMoving, bResizeHeightAllowed, bResizeWidthAllowed, bResizing, BRSizing, BtSizing, b_ExitButton, DefaultHeight, DefaultLeft, DefaultTop, DefaultWidth, HeaderMouseCursorIndex, LSizing, MaxPageHeight, MaxPageWidth, MinPageHeight, MinPageWidth, RSizing, TLSizing, TRSizing, TSizing, t_WindowTitle, WindowName |
Enumerations Summary |
epbWinMode MODE_Compact,
MODE_PlayList,
MODE_Manager,
|
Functions Summary |
| | ActivePlaylistChanged (StreamPlaylist NewList ))
|
| bool | AllListsReceiveDrop (GUIComponent Sender))
|
| | Closed (GUIComponent Sender, bool bCancelled))
|
| | Constrict ()))
|
| | CurrentListClear ()))
|
| | CurrentListRemove ()))
|
| | Expand ()))
|
| bool | FloatingPreDraw (Canvas C ))
|
| int | GetPlaylistManagerIndex (int ListIndex ))
|
| | HandleAdjustVolume (float NewVolume ))
|
| | HandlePlaylistChange ()))
|
| | HandleStreamChange (string NewStreamFileName ))
|
| | HandleStreamStop ()))
|
| | HideAll ()))
|
| | HideManagement ()))
|
| | HidePlayList ()))
|
| | InitComponent (GUIController MyController, GUIComponent MyOwner ))
|
| | InternalOnChange (GUIComponent C ))
|
| bool | InternalOnClick (GUIComponent C ))
|
| | LoadCurrentPlaylist ()))
|
| | ManageDragOver (GUIComponent Sender ))
|
| | MoveButton (GUIButton B, out float L, float T, float W, float H, float S))
|
| | NewPlaylist ()))
|
| | NewPlaylistClosed (bool bCancelled ))
|
| | NextTrack ()))
|
| | Opened (GUIComponent Sender ))
|
| | PauseCurrent ()))
|
| | Play ()))
|
| | PlayerMenuClick (GUIContextMenu Menu, int Index ))
|
| bool | PlaylistDblClick (GUIComponent C ))
|
| | PlaylistDragEnded (GUIComponent Accepting, bool bAccepted))
|
| | PlaylistMenuClick (GUIContextMenu Menu, int Index ))
|
| bool | PlaylistReceiveDrop (GUIComponent Sender))
|
| | PrevTrack ()))
|
| | ReadStream (Stream StreamObj ))
|
| | ReadStreamAt (int Index ))
|
| | ReadTagInfo (Stream StreamObj ))
|
| | RefreshCurrentPlaylist ()))
|
| | RefreshPlaybackOptions ()))
|
| | RefreshPlaylistSelections ()))
|
| | RemovePlayList ()))
|
| | RenameClosed (bool bCancelled ))
|
| | RenamePlayList ()))
|
| | ResetSongCounter (optional bool bNoRestart ))
|
| | ResizedBoth ()))
|
| | ResizedHeight ()))
|
| | ResolutionChanged (int ResX, int ResY ))
|
| | SaveCurrentPosition ()))
|
| | SetBottomButtons (Canvas C, float Left, float Top, float Width, float Height))
|
| bool | SetHandler ()))
|
| bool | SetPlaylistManager ()))
|
| | SetVisibility (bool bIsVisible ))
|
| | ShowManagement ()))
|
| | ShowPlayList ()))
|
| bool | SliderPreDrawCaption (out float X, out float Y, out float XL, out float YL, out ETextAlign Justification ))
|
| | SongMenuClick (GUIContextMenu Menu, int Index ))
|
| | StopCurrent ()))
|
| | Timer ()))
|
| | ToggleManagement ()))
|
| | TogglePlaylist ()))
|
| | UpdatePlayButton ()))
|
| | UpdateSongTimeDisplay ()))
|
Inherited Functions from GUI2K4.FloatingWindow |
AddSystemMenu, AlignFrame, CheckBounds, FloatingHover, FloatingMousePressed, FloatingMouseRelease, FloatingPreDraw, FloatingRendered, HoveringBottomBorder, HoveringBottomLeft, HoveringLeftBorder, HoveringRightBorder, HoveringTopBorder, HoveringTopLeft, InitComponent, InternalOnCreateComponent, ResizeAllowed, ResizedBoth, ResizedHeight, ResizedWidth, ResolutionChanged, SaveCurrentPosition, SetDefaultPosition, SetFocus, SetMouseCursorIndex, SetPanelPosition, SystemMenuPreDraw, XButtonClicked |
StreamPlayer
CollapseManagementHint Source code
enum
epbWinMode
{
MODE_Compact,
MODE_PlayList,
MODE_Manager,
};
function Constrict ( ) )
function CurrentListClear ( ) )
function CurrentListRemove ( ) )
function Expand ( ) )
function
bool FloatingPreDraw (
Canvas C ) )
GetPlaylistManagerIndex Source code
function int GetPlaylistManagerIndex ( int ListIndex ) )
function HandleAdjustVolume ( float NewVolume ) )
function HandlePlaylistChange ( ) )
function HandleStreamChange ( string NewStreamFileName ) )
function HandleStreamStop ( ) )
function HideAll ( ) )
function HideManagement ( ) )
function HidePlayList ( ) )
function LoadCurrentPlaylist ( ) )
function MoveButton (
GUIButton B, out
float L,
float T,
float W,
float H,
float S) )
function NewPlaylist ( ) )
function NewPlaylistClosed ( bool bCancelled ) )
function NextTrack ( ) )
function PauseCurrent ( ) )
function Play ( ) )
function PlaylistDragEnded (
GUIComponent Accepting,
bool bAccepted) )
function PrevTrack ( ) )
function ReadStream (
Stream StreamObj ) )
function ReadStreamAt ( int Index ) )
function ReadTagInfo (
Stream StreamObj ) )
RefreshCurrentPlaylist Source code
function RefreshCurrentPlaylist ( ) )
RefreshPlaybackOptions Source code
function RefreshPlaybackOptions ( ) )
RefreshPlaylistSelections Source code
function RefreshPlaylistSelections ( ) )
function RemovePlayList ( ) )
function RenameClosed ( bool bCancelled ) )
function RenamePlayList ( ) )
function ResetSongCounter ( optional bool bNoRestart ) )
function ResizedBoth ( ) )
function ResizedHeight ( ) )
function ResolutionChanged ( int ResX, int ResY ) )
function SaveCurrentPosition ( ) )
function SetBottomButtons (
Canvas C,
float Left,
float Top,
float Width,
float Height) )
function bool SetHandler ( ) )
function bool SetPlaylistManager ( ) )
event SetVisibility ( bool bIsVisible ) )
function ShowManagement ( ) )
function ShowPlayList ( ) )
function
bool SliderPreDrawCaption ( out
float X, out
float Y, out
float XL, out
float YL, out
ETextAlign Justification ) )
function StopCurrent ( ) )
event Timer ( ) )
function ToggleManagement ( ) )
function TogglePlaylist ( ) )
function UpdatePlayButton ( ) )
protected function UpdateSongTimeDisplay ( ) )
defaultproperties
{
ConstrictedHeight=0.32
WinHeight=0.32
ExpandedHeight=0.5
MinPageWidth=0.75
MinPageHeight=0.32
MaxPageWidth=0.9
InactiveFadeColor=(R=255,B=255,G=255,A=255)
bPersistent=True
bAllowedAsLast=True
bResizeHeightAllowed=False
WindowName="Music Player"
PlaylistEditorMenu="GUI2K4.StreamPlaylistEditor"
ID3TagEditorMenu="GUI2K4.ID3TagEditor"
PauseHint="Pause"
PlayHint="Play"
PlayImage=Material'2K4Menus.mp3.play'
PauseImage=Material'2K4Menus.mp3.pause'
OpenFolder=material'2k4menus.mp3.closeplaylist'
ClosedFolder=material'2k4Menus.mp3.viewplaylist'
ExpandManagementHint="Show Playlist Options"
CollapseManagementHint="Hide Playlist Options"
ExpandPlaylistHint="Show Current Playlist"
CollapsePlaylistHint="Hide Current Playlist"
Begin Object Class=GUIContextMenu Name=SongRCMenu
ContextItems(0)="Play Selected"
ContextItems(1)="Open Playlist Editor"
ContextItems(2)="-"
ContextItems(3)="Remove From Playlist"
ContextItems(4)="Clear Playlist"
OnSelect=SongMenuClick
End Object
cm_Playlist=SongRCMenu
Begin Object Class=GUIContextMenu Name=PlaylistRCMenu
ContextItems(0)="Activate Playlist"
ContextItems(1)="Rename Playlist"
ContextItems(2)="Create new Playlist"
ContextItems(3)="-"
ContextItems(4)="Delete Playlist"
ContextItems(5)="Clear Playlist"
OnSelect=PlaylistMenuClick
End Object
cm_AllLists=PlaylistRCMenu
Begin Object Class=GUIContextMenu Name=PlayerRCMenu
ContextItems(0)="Change Settings"
OnSelect=PlayerMenuClick
End Object
ContextMenu=PlayerRCMenu
Begin Object Class=GUIScrollTextbox Name=SongInfoBox
WinWidth=0.2
WinHeight=0.2
WinLeft=0
WinTop=0
bTabStop=False
FontScale=FNS_Medium
bNoTeleType=True
bNeverFocus=True
bAcceptsInput=False
End Object
lb_SongInfo=SongInfoBox
Begin Object Class=GUILabel Name=SongTime
WinWidth=0.241172
WinHeight=0.550191
WinLeft=0.2
WinTop=-0.2
Caption="0:00"
StyleName="TextLabel"
FontScale=FNS_Large
TextAlign=TXTA_Center
VertAlign=TXTA_Center
End Object
l_Time=SongTime
Begin Object Class=GUISlider Name=StreamVolume
WinWidth=0.544922
WinHeight=1.000000
WinLeft=0.0
WinTop=0.000000
MinValue=0.0
MaxValue=1.0
bIntSlider=False
TabOrder=0
Hint="Volume"
OnChange=InternalOnChange
End Object
sl_Volume=StreamVolume
Begin Object Class=GUIGFXButton Name=PrevTrackButton
WinWidth=0.04
WinHeight=0.04
WinLeft=0.542109
WinTop=0.0
OnClick=InternalOnClick
Graphic=Material'2K4Menus.mp3.PreviousTrack'
TabOrder=1
bTabStop=True
Position=ICP_Scaled
Hint="Previous"
bRepeatClick=False
StyleName="TextLabel"
End Object
b_PrevTrack=PrevTrackButton
Begin Object Class=GUIGFXButton Name=StopButton
WinWidth=0.04
WinHeight=0.04
WinLeft=0.605859
WinTop=0.0
OnClick=InternalOnClick
Graphic=Material'2K4Menus.mp3.stop'
TabOrder=2
bTabStop=True
Position=ICP_Scaled
Hint="Stop"
bRepeatClick=False
StyleName="TextLabel"
End Object
b_Stop=StopButton
Begin Object Class=GUIGFXButton Name=NextTrackButton
WinWidth=0.04
WinHeight=0.04
WinLeft=0.660860
WinTop=0.0
OnClick=InternalOnClick
Graphic=Material'2K4Menus.mp3.NextTrack'
TabOrder=3
bTabStop=True
Position=ICP_Scaled
Hint="Next"
bRepeatClick=False
StyleName="TextLabel"
End Object
b_NextTrack=NextTrackButton
Begin Object Class=GUIGFXButton Name=PlayButton
WinWidth=0.04
WinHeight=0.04
WinLeft=0.717110
WinTop=0.0
OnClick=InternalOnClick
Graphic=Material'2K4Menus.mp3.Play'
TabOrder=4
bTabStop=True
Position=ICP_Scaled
bRepeatClick=False
StyleName="TextLabel"
End Object
b_Play=PlayButton
Begin Object Class=GUICheckboxButton Name=RepeatCheck
Hint="Repeat"
WinWidth=0.04
WinHeight=0.04
WinLeft=0.76
WinTop=0.666667
OnChange=InternalOnChange
TabOrder=0
CheckedOverlay(0)=material'2k4menus.mp3.RepeatOnceWatched'
CheckedOverlay(1)=material'2k4menus.mp3.RepeatOnceWatched'
CheckedOverlay(2)=material'2k4menus.mp3.RepeatOnceWatched'
CheckedOverlay(3)=material'2k4menus.mp3.RepeatOnceWatched'
CheckedOverlay(4)=material'2k4menus.mp3.RepeatOnceWatched'
CheckedOverlay(5)=material'2k4menus.mp3.RepeatOnce'
CheckedOverlay(6)=material'2k4menus.mp3.RepeatOnce'
CheckedOverlay(7)=material'2k4menus.mp3.RepeatOnce'
CheckedOverlay(8)=material'2k4menus.mp3.RepeatOnce'
CheckedOverlay(9)=material'2k4menus.mp3.RepeatOnce'
bAllOverlay=true
End Object
ch_Repeat=RepeatCheck
Begin Object Class=GUICheckboxButton Name=RepeatAllCheck
Hint="Repeat All"
WinWidth=0.04
WinHeight=0.04
WinLeft=0.8
WinTop=0.666667
OnChange=InternalOnChange
bAllOverlay=true
TabOrder=1
CheckedOverlay(0)=material'2k4menus.mp3.RepeatAllWatched'
CheckedOverlay(1)=material'2k4menus.mp3.RepeatAllWatched'
CheckedOverlay(2)=material'2k4menus.mp3.RepeatAllWatched'
CheckedOverlay(3)=material'2k4menus.mp3.RepeatAllWatched'
CheckedOverlay(4)=material'2k4menus.mp3.RepeatAllWatched'
CheckedOverlay(5)=material'2k4menus.mp3.RepeatAll'
CheckedOverlay(6)=material'2k4menus.mp3.RepeatAll'
CheckedOverlay(7)=material'2k4menus.mp3.RepeatAll'
CheckedOverlay(8)=material'2k4menus.mp3.RepeatAll'
CheckedOverlay(9)=material'2k4menus.mp3.RepeatAll'
End Object
ch_RepeatAll=RepeatAllCheck
Begin Object Class=GUICheckboxButton Name=ShuffleCheck
Hint="Shuffle"
WinWidth=0.04
WinHeight=0.04
WinLeft=0.84
WinTop=0.666667
OnChange=InternalOnChange
TabOrder=2
bAllOverlay=true
CheckedOverlay(0)=material'2k4menus.mp3.ShuffleOnceWatched'
CheckedOverlay(1)=material'2k4menus.mp3.ShuffleOnceWatched'
CheckedOverlay(2)=material'2k4menus.mp3.ShuffleOnceWatched'
CheckedOverlay(3)=material'2k4menus.mp3.ShuffleOnceWatched'
CheckedOverlay(4)=material'2k4menus.mp3.ShuffleOnceWatched'
CheckedOverlay(5)=material'2k4menus.mp3.ShuffleOnce'
CheckedOverlay(6)=material'2k4menus.mp3.ShuffleOnce'
CheckedOverlay(7)=material'2k4menus.mp3.ShuffleOnce'
CheckedOverlay(8)=material'2k4menus.mp3.ShuffleOnce'
CheckedOverlay(9)=material'2k4menus.mp3.ShuffleOnce'
End Object
ch_Shuffle=ShuffleCheck
Begin Object Class=GUICheckboxButton Name=ShuffleAllCheck
Hint="Shuffle All"
WinWidth=0.04
WinHeight=0.04
WinLeft=0.88
WinTop=0.666667
OnChange=InternalOnChange
TabOrder=3
bAllOverlay=true
CheckedOverlay(0)=material'2k4menus.mp3.ShuffleAllWatched'
CheckedOverlay(1)=material'2k4menus.mp3.ShuffleAllWatched'
CheckedOverlay(2)=material'2k4menus.mp3.ShuffleAllWatched'
CheckedOverlay(3)=material'2k4menus.mp3.ShuffleAllWatched'
CheckedOverlay(4)=material'2k4menus.mp3.ShuffleAllWatched'
CheckedOverlay(5)=material'2k4menus.mp3.ShuffleAll'
CheckedOverlay(6)=material'2k4menus.mp3.ShuffleAll'
CheckedOverlay(7)=material'2k4menus.mp3.ShuffleAll'
CheckedOverlay(8)=material'2k4menus.mp3.ShuffleAll'
CheckedOverlay(9)=material'2k4menus.mp3.ShuffleAll'
End Object
ch_ShuffleAll=ShuffleAllCheck
Begin Object Class=GUIGFXButton Name=ShowPlaylistButton
WinWidth=0.052422
WinHeight=0.925000
WinLeft=0.82547
WinTop=0.000000
OnClick=InternalOnClick
Graphic=material'2k4menus.mp3.ViewPlayList'
bTabStop=True
TabOrder=5
StyleName="RoundScaledButton"
bRepeatClick=False
OnDragOver=ManageDragOver
End Object
b_Playlist=ShowPlaylistButton
Begin Object Class=GUIGFXButton Name=ManagePlaylistsButton
WinWidth=0.052422
WinHeight=0.925000
WinLeft=0.883360
WinTop=0.000000
OnClick=InternalOnClick
Graphic=material'2k4menus.mp3.add'
bTabStop=True
TabOrder=6
StyleName="RoundScaledButton"
bRepeatClick=False
Hint="Manage Playlists"
OnDragOver=ManageDragOver
End Object
b_Management=ManagePlaylistsButton
Begin Object Class=GUIListBox Name=PlaylistListBox
WinWidth=0.977425
WinHeight=0.588941
WinLeft=0.010859
WinTop=0.300000
bVisibleWhenEmpty=True
bVisible=False
TabOrder=6
RenderWeight=0.503
Hint="Current Playlist"
End Object
lb_Playlist=PlaylistListBox
Begin Object Class=GUIListBox Name=SelectPlaylistListBox
WinWidth=0.977425
WinHeight=0.717500
WinLeft=0.010859
WinTop=0.235000
bVisible=False
TabOrder=1
Hint="Select A Playlist"
bBoundToParent=True
bVisibleWhenEmpty=True
End Object
lb_AllPlaylists=SelectPlaylistListBox
Begin Object class=GUIImage name=Img1
Image=material'2k4menus.controls.display99'
ImageStyle=ISTY_Stretched
WinWidth=0.2
WinHeight=0.2
WinLeft=0.2
WinTop=0.2
End Object
bk1=img1
Begin Object class=GUIImage name=Img2
Image=Material'2K4Menus.NewControls.NewSliderBar'
ImageStyle=ISTY_Scaled
WinWidth=0.2
WinHeight=0.2
WinLeft=0.2
WinTop=0.2
End Object
bk2=img2
Begin Object class=altSectionBackground name=sbManagement
WinWidth=0.2
WinHeight=0.2
WinLeft=0.2
WinTop=0.2
Caption="Play List Manager"
LeftPadding=0
RightPadding=0
bVisible=false
bFillClient=true
End Object
sb_Management=sbManagement
Begin Object class=altSectionBackground name=sbPlayList
WinWidth=0.2
WinHeight=0.2
WinLeft=0.2
WinTop=0.2
Caption="Current Playlist"
bFillClient=true
bVisible=false
LeftPadding=0
RightPadding=0
End Object
sb_PlayList=sbPlayList
Begin Object class=GUIButton name=bBotA
Caption="Add"
bVisible=false;
StyleName="FooterButton"
Tag=1
OnClick=InternalOnClick
End Object
b_BotA=bBotA
Begin Object class=GUIButton name=bBotB
Caption="Remove"
StyleName="FooterButton"
OnClick=InternalOnClick
bVisible=false;
Tag=1
End Object
b_BotB=bBotB
Begin Object class=GUIButton name=bBotC
Caption="Clear"
StyleName="FooterButton"
bVisible=false;
Tag=1
OnClick=InternalOnClick
End Object
b_BotC=bBotC
RenameCaption="Rename Playlist"
NewCaption="Create New Playlist"
PlaylistNameCaption="Name: "
PLAdd="Add"
PLRemove="Remove"
PLClear="Clear"
MGNew="New"
MGRemove="Remove"
MGRename="Rename"
}
|
Creation time: Do 14.8.2014 09:58:22.809 - Created with
UnCodeX