mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
Mark unused vars as comment
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@104 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 1b13da2617
Author: mws <mws@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-21 (Mon, 21 Dec 2009)
This commit is contained in:
@@ -105,9 +105,9 @@ CStringInput::CStringInput(char * Head, char* Value, int Size, const neutrino_lo
|
||||
init();
|
||||
}
|
||||
|
||||
CStringInput::~CStringInput()
|
||||
CStringInput::~CStringInput()
|
||||
{
|
||||
if (valueString != NULL)
|
||||
if (valueString != NULL)
|
||||
{
|
||||
delete[] value;
|
||||
}
|
||||
@@ -116,7 +116,7 @@ CStringInput::~CStringInput()
|
||||
}
|
||||
}
|
||||
|
||||
void CStringInput::init()
|
||||
void CStringInput::init()
|
||||
{
|
||||
width = (size*20)+40;
|
||||
|
||||
@@ -163,7 +163,7 @@ void CStringInput::NormalKeyPressed(const neutrino_msg_t key)
|
||||
selected++;
|
||||
paintChar(selected - 1);
|
||||
}
|
||||
|
||||
|
||||
paintChar(selected);
|
||||
}
|
||||
}
|
||||
@@ -195,7 +195,7 @@ void CStringInput::keyRedPressed()
|
||||
selected++;
|
||||
paintChar(selected - 1);
|
||||
}
|
||||
|
||||
|
||||
paintChar(selected);
|
||||
}
|
||||
}
|
||||
@@ -215,7 +215,7 @@ void CStringInput::keyBluePressed()
|
||||
if (((value[selected] | 32) >= 'a') && ((value[selected] | 32) <= 'z'))
|
||||
{
|
||||
char newValue = value[selected] ^ 32;
|
||||
if (index(validchars, newValue) != NULL)
|
||||
if (index(validchars, newValue) != NULL)
|
||||
{
|
||||
value[selected] = newValue;
|
||||
paintChar(selected);
|
||||
@@ -368,7 +368,7 @@ int CStringInput::exec( CMenuTarget* parent, const std::string & )
|
||||
selected++;
|
||||
paintChar(selected - 1);
|
||||
}
|
||||
|
||||
|
||||
paintChar(selected);
|
||||
}
|
||||
else if (msg== CRCInput::RC_blue)
|
||||
@@ -450,7 +450,7 @@ int CStringInput::exec( CMenuTarget* parent, const std::string & )
|
||||
return res;
|
||||
}
|
||||
|
||||
int CStringInput::handleOthers(const neutrino_msg_t msg, const neutrino_msg_data_t data)
|
||||
int CStringInput::handleOthers(const neutrino_msg_t /*msg*/, const neutrino_msg_data_t /*data*/)
|
||||
{
|
||||
return messages_return::unhandled;
|
||||
}
|
||||
@@ -507,7 +507,7 @@ void CStringInput::paintChar(int pos, const char c)
|
||||
|
||||
uint8_t color;
|
||||
fb_pixel_t bgcolor;
|
||||
|
||||
|
||||
if (pos == selected)
|
||||
{
|
||||
color = COL_MENUCONTENTSELECTED;
|
||||
@@ -566,7 +566,7 @@ void CStringInputSMS::initSMS(const char * const Valid_Chars)
|
||||
if (strchr(Valid_Chars, CharList[i][k]) != NULL)
|
||||
Chars[i][j++] = CharList[i][k];
|
||||
if (j == 0)
|
||||
Chars[i][j++] = ' '; // prevent empty char lists
|
||||
Chars[i][j++] = ' '; // prevent empty char lists
|
||||
arraySizes[i] = j;
|
||||
}
|
||||
|
||||
@@ -642,7 +642,7 @@ void CStringInputSMS::keyDownPressed()
|
||||
last_digit = -1;
|
||||
|
||||
int lastselected = selected;
|
||||
|
||||
|
||||
selected = size - 1;
|
||||
|
||||
while (value[selected] == ' ')
|
||||
@@ -654,7 +654,7 @@ void CStringInputSMS::keyDownPressed()
|
||||
|
||||
if (selected < (size - 1))
|
||||
selected++;
|
||||
|
||||
|
||||
paintChar(lastselected);
|
||||
paintChar(selected);
|
||||
}
|
||||
|
Reference in New Issue
Block a user