C# Class imBMW.Features.Menu.BordmonitorMenu

Inheritance: MenuBase
ファイルを表示 Open project: toxsedyshev/imBMW Class Usage Examples

Public Methods

Method Description
Init ( MediaEmulator mediaEmulator ) : BordmonitorMenu
UpdateScreen ( MenuScreenUpdateEventArgs args ) : void

Protected Methods

Method Description
DrawScreen ( MenuScreenUpdateEventArgs args ) : void
ProcessRadioMessage ( Message m ) : void
ProcessToRadioMessage ( Message m ) : void
ScreenWakeup ( ) : void
ShowPlayerStatus ( IAudioPlayer player, bool isPlaying ) : void
ShowPlayerStatus ( IAudioPlayer player, string status, PlayerEvent playerEvent ) : void

Private Methods

Method Description
BordmonitorMenu ( MediaEmulator mediaEmulator ) : System
DrawItem ( MenuItem item, byte index ) : Message
GetItemIndex ( byte index, bool back = false ) : byte
Radio_OnOffChanged ( bool turnedOn ) : void
mediaEmulator_IsEnabledChanged ( MediaEmulator emulator, bool isEnabled ) : void

Method Details

DrawScreen() protected method

protected DrawScreen ( MenuScreenUpdateEventArgs args ) : void
args MenuScreenUpdateEventArgs
return void

Init() public static method

public static Init ( MediaEmulator mediaEmulator ) : BordmonitorMenu
mediaEmulator imBMW.iBus.Devices.Emulators.MediaEmulator
return BordmonitorMenu

ProcessRadioMessage() protected method

protected ProcessRadioMessage ( Message m ) : void
m imBMW.iBus.Message
return void

ProcessToRadioMessage() protected method

protected ProcessToRadioMessage ( Message m ) : void
m imBMW.iBus.Message
return void

ScreenWakeup() protected method

protected ScreenWakeup ( ) : void
return void

ShowPlayerStatus() protected method

protected ShowPlayerStatus ( IAudioPlayer player, bool isPlaying ) : void
player IAudioPlayer
isPlaying bool
return void

ShowPlayerStatus() protected method

protected ShowPlayerStatus ( IAudioPlayer player, string status, PlayerEvent playerEvent ) : void
player IAudioPlayer
status string
playerEvent PlayerEvent
return void

UpdateScreen() public method

public UpdateScreen ( MenuScreenUpdateEventArgs args ) : void
args MenuScreenUpdateEventArgs
return void