mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
gui/channellist.h: make tuned private
This commit is contained in:
@@ -57,6 +57,7 @@ class CChannelList
|
|||||||
private:
|
private:
|
||||||
CFrameBuffer *frameBuffer;
|
CFrameBuffer *frameBuffer;
|
||||||
unsigned int selected, selected_in_new_mode;
|
unsigned int selected, selected_in_new_mode;
|
||||||
|
unsigned int tuned;
|
||||||
t_channel_id selected_chid;
|
t_channel_id selected_chid;
|
||||||
CLastChannel lastChList;
|
CLastChannel lastChList;
|
||||||
unsigned int liststart;
|
unsigned int liststart;
|
||||||
@@ -143,7 +144,6 @@ public:
|
|||||||
int getSize() const;
|
int getSize() const;
|
||||||
int getSelectedChannelIndex() const;
|
int getSelectedChannelIndex() const;
|
||||||
void setSize(int newsize);
|
void setSize(int newsize);
|
||||||
unsigned int tuned;
|
|
||||||
int doChannelMenu(void);
|
int doChannelMenu(void);
|
||||||
void SortAlpha(void);
|
void SortAlpha(void);
|
||||||
void SortSat(void);
|
void SortSat(void);
|
||||||
|
@@ -3290,7 +3290,7 @@ void CNeutrinoApp::tvMode( bool rezap )
|
|||||||
SetChannelMode(g_settings.channel_mode);
|
SetChannelMode(g_settings.channel_mode);
|
||||||
if( rezap ) {
|
if( rezap ) {
|
||||||
firstChannel();
|
firstChannel();
|
||||||
channelList->tuned = 0xfffffff;;
|
channelList->setSelected(0xfffffff); /* make sure that zapTo_ChannelID will zap */
|
||||||
channelList->zapTo( firstchannel.channelNumber -1 );
|
channelList->zapTo( firstchannel.channelNumber -1 );
|
||||||
}
|
}
|
||||||
#ifdef USEACTIONLOG
|
#ifdef USEACTIONLOG
|
||||||
@@ -3494,7 +3494,7 @@ void CNeutrinoApp::radioMode( bool rezap)
|
|||||||
SetChannelMode(g_settings.channel_mode_radio);
|
SetChannelMode(g_settings.channel_mode_radio);
|
||||||
if( rezap ) {
|
if( rezap ) {
|
||||||
firstChannel();
|
firstChannel();
|
||||||
channelList->tuned = 0xfffffff;;
|
channelList->setSelected(0xfffffff); /* make sure that zapTo_ChannelID will zap */
|
||||||
channelList->zapTo( firstchannel.channelNumber -1 );
|
channelList->zapTo( firstchannel.channelNumber -1 );
|
||||||
}
|
}
|
||||||
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/radiomode.jpg");
|
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/radiomode.jpg");
|
||||||
|
Reference in New Issue
Block a user