- adzap: cleanup from unused variables

This commit is contained in:
svenhoefer
2016-02-28 21:54:57 +01:00
parent 4b104f0509
commit bd84273c39
2 changed files with 3 additions and 13 deletions

View File

@@ -59,13 +59,7 @@ CAdZapMenu *CAdZapMenu::getInstance()
CAdZapMenu::CAdZapMenu()
{
frameBuffer = CFrameBuffer::getInstance();
width = w_max(40, 10);
hheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
mheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
height = hheight + 13 * mheight + 10;
x = (((g_settings.screen_EndX - g_settings.screen_StartX) - width) / 2) + g_settings.screen_StartX;
y = (((g_settings.screen_EndY - g_settings.screen_StartY) - height) / 2) + g_settings.screen_StartY;
width = 40;
sem_init(&sem, 0, 0);

View File

@@ -35,11 +35,7 @@ class CAdZapMenu: public CMenuTarget
{
private:
CFrameBuffer * frameBuffer;
int x;
int y;
int width;
int height;
int hheight, mheight; // head/menu font height
bool running;
bool armed;
bool alerted;