C# Class TvPlugin.TvMiniGuide

GUIMiniGuide
Inheritance: MediaPortal.Dialogs.GUIDialogWindow
Show file Open project: MediaPortal/MediaPortal-1

Protected Properties

Property Type Description
lstChannels MediaPortal.GUI.Library.GUIListControl

Public Methods

Method Description
FillChannelList ( ) : void

Fill the list with channels

FillGroupList ( ) : void

Fill up the list with groups

Init ( ) : bool

Init method

OnAction ( MediaPortal.GUI.Library.Action action ) : void

On action

OnMessage ( GUIMessage message ) : bool

On Message

SplitChannelList ( List source, int maxListSize ) : List>
TvMiniGuide ( ) : System

Constructor

Protected Methods

Method Description
OnPageDestroy ( int new_windowId ) : void

Page gets destroyed

OnPageLoad ( ) : void

Page gets loaded

Private Methods

Method Description
CalculateProgress ( System.DateTime start, System.DateTime end ) : double

Get current tv program

GetChannelListByGroup ( ) : List
GetChannels ( bool refresh ) : void

Renderer

GetNextEpgUpdate ( ) : System.DateTime
GetNowAndNext ( List tvChannelList, System.DateTime nextEPGupdate ) : NowAndNext>.Dictionary
LoadSettings ( ) : void
OnGroupChanged ( ) : void
SetNextEpgUpdate ( System.DateTime nextEPGupdate ) : void
getChannelList ( ) : GUIListControl

Method Details

FillChannelList() public method

Fill the list with channels
public FillChannelList ( ) : void
return void

FillGroupList() public method

Fill up the list with groups
public FillGroupList ( ) : void
return void

Init() public method

Init method
public Init ( ) : bool
return bool

OnAction() public method

On action
public OnAction ( MediaPortal.GUI.Library.Action action ) : void
action MediaPortal.GUI.Library.Action
return void

OnMessage() public method

On Message
public OnMessage ( GUIMessage message ) : bool
message MediaPortal.GUI.Library.GUIMessage
return bool

OnPageDestroy() protected method

Page gets destroyed
protected OnPageDestroy ( int new_windowId ) : void
new_windowId int
return void

OnPageLoad() protected method

Page gets loaded
protected OnPageLoad ( ) : void
return void

SplitChannelList() public static method

public static SplitChannelList ( List source, int maxListSize ) : List>
source List
maxListSize int
return List>

TvMiniGuide() public method

Constructor
public TvMiniGuide ( ) : System
return System

Property Details

lstChannels protected property

protected GUIListControl,MediaPortal.GUI.Library lstChannels
return MediaPortal.GUI.Library.GUIListControl