mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
initialize volues
This commit is contained in:
@@ -55,6 +55,14 @@ CBEBouquetWidget::CBEBouquetWidget()
|
||||
int icol_w, icol_h;
|
||||
frameBuffer = CFrameBuffer::getInstance();
|
||||
iconoffset = 0;
|
||||
origPosition = 0;
|
||||
newPosition = 0;
|
||||
listmaxshow = 0;
|
||||
bouquetsChanged = 0;
|
||||
width = 0;
|
||||
height = 0;
|
||||
x = 0;
|
||||
y = 0;
|
||||
|
||||
ButtonHeight = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight()+8;
|
||||
|
||||
|
@@ -60,6 +60,16 @@ CBEChannelWidget::CBEChannelWidget(const std::string & Caption, unsigned int Bou
|
||||
frameBuffer = CFrameBuffer::getInstance();
|
||||
selected = 0;
|
||||
iconoffset = 0;
|
||||
origPosition = 0;
|
||||
newPosition = 0;
|
||||
listmaxshow = 0;
|
||||
numwidth = 0;
|
||||
info_height = 0;
|
||||
channelsChanged = false;
|
||||
width = 0;
|
||||
height = 0;
|
||||
x = 0;
|
||||
y = 0;
|
||||
|
||||
theight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
|
||||
fheight = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->getHeight();
|
||||
|
@@ -69,7 +69,6 @@ class CBEChannelWidget : public CMenuWidget
|
||||
int footerHeight;
|
||||
int info_height;
|
||||
|
||||
int ButtonHeight;
|
||||
std::string caption;
|
||||
bool channelsChanged;
|
||||
|
||||
|
@@ -57,7 +57,7 @@ CBEChannelSelectWidget::CBEChannelSelectWidget(const std::string & Caption, unsi
|
||||
bouquet = Bouquet;
|
||||
mode = Mode;
|
||||
iconoffset = 0;
|
||||
|
||||
info_height = 0;
|
||||
theight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
|
||||
fheight = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->getHeight();
|
||||
footerHeight= g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight()+6;
|
||||
|
@@ -2263,7 +2263,7 @@ void CInfoViewer::paint_ca_icons(int caid, char * icon, int &icon_space_offset)
|
||||
icon_map[0x0D00] = std::make_pair(index++,"cw");
|
||||
icon_map[0x0900] = std::make_pair(index ,"nds");
|
||||
|
||||
for (it=icon_map.begin(); it!=icon_map.end(); it++) {
|
||||
for (it=icon_map.begin(); it!=icon_map.end(); ++it) {
|
||||
snprintf(buf, sizeof(buf), "%s_%s", (*it).second.second, icon);
|
||||
frameBuffer->getIconSize(buf, &icon_sizeW[(*it).second.first], &icon_sizeH);
|
||||
}
|
||||
|
Reference in New Issue
Block a user