mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 19:45:20 +02:00
SettingsDialog: removed unused action variable and macros.
This commit is contained in:
parent
9e876a6f90
commit
0b878c1b77
@ -49,7 +49,7 @@ bool SettingsDialog::exec() {
|
|||||||
bg.convertToDisplayFormat();
|
bg.convertToDisplayFormat();
|
||||||
|
|
||||||
bool close = false, ts_pressed = false;
|
bool close = false, ts_pressed = false;
|
||||||
uint i, sel = 0, iY, firstElement = 0, action;
|
uint i, sel = 0, iY, firstElement = 0;
|
||||||
voices[sel]->adjustInput();
|
voices[sel]->adjustInput();
|
||||||
|
|
||||||
SDL_Rect clipRect = {0, gmenu2x->skinConfInt["topBarHeight"]+1, gmenu2x->resX-9, gmenu2x->resY-gmenu2x->skinConfInt["topBarHeight"]-25};
|
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;
|
uint numRows = (gmenu2x->resY-gmenu2x->skinConfInt["topBarHeight"]-20)/rowHeight;
|
||||||
|
|
||||||
while (!close) {
|
while (!close) {
|
||||||
action = SD_NO_ACTION;
|
|
||||||
if (ts.initialized()) ts.poll();
|
if (ts.initialized()) ts.poll();
|
||||||
|
|
||||||
bg.blit(gmenu2x->s,0,0);
|
bg.blit(gmenu2x->s,0,0);
|
||||||
|
@ -21,11 +21,6 @@
|
|||||||
#ifndef SETTINGSDIALOG_H_
|
#ifndef SETTINGSDIALOG_H_
|
||||||
#define 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 <string>
|
||||||
#include "gmenu2x.h"
|
#include "gmenu2x.h"
|
||||||
#include "menusetting.h"
|
#include "menusetting.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user