1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-26 11:15:19 +02:00

SettingsDialog: removed unused action variable and macros.

This commit is contained in:
Maarten ter Huurne 2011-10-23 11:41:44 +02:00
parent 9e876a6f90
commit 0b878c1b77
2 changed files with 1 additions and 7 deletions

View File

@ -49,7 +49,7 @@ bool SettingsDialog::exec() {
bg.convertToDisplayFormat();
bool close = false, ts_pressed = false;
uint i, sel = 0, iY, firstElement = 0, action;
uint i, sel = 0, iY, firstElement = 0;
voices[sel]->adjustInput();
SDL_Rect clipRect = {0, gmenu2x->skinConfInt["topBarHeight"]+1, gmenu2x->resX-9, gmenu2x->resY-gmenu2x->skinConfInt["topBarHeight"]-25};
@ -58,7 +58,6 @@ bool SettingsDialog::exec() {
uint numRows = (gmenu2x->resY-gmenu2x->skinConfInt["topBarHeight"]-20)/rowHeight;
while (!close) {
action = SD_NO_ACTION;
if (ts.initialized()) ts.poll();
bg.blit(gmenu2x->s,0,0);

View File

@ -21,11 +21,6 @@
#ifndef SETTINGSDIALOG_H_
#define SETTINGSDIALOG_H_
#define SD_NO_ACTION 0
#define SD_ACTION_CLOSE 1
#define SD_ACTION_UP 2
#define SD_ACTION_DOWN 3
#include <string>
#include "gmenu2x.h"
#include "menusetting.h"