MenuField: Remove unused variables

fSelected and fTransition
This commit is contained in:
John Scipione 2013-08-24 18:25:27 -04:00
parent 44dc533861
commit 8f74b98905
2 changed files with 0 additions and 11 deletions

View File

@ -148,8 +148,6 @@ private:
alignment fAlign;
float fDivider;
bool fEnabled;
bool fSelected;
bool fTransition;
bool fFixedSizeMB;
thread_id fMenuTaskID;

View File

@ -456,9 +456,6 @@ BMenuField::KeyDown(const char* bytes, int32 numBytes)
fMenuBar->StartMenuBar(0, true, true, &bounds);
fSelected = true;
fTransition = true;
bounds = Bounds();
bounds.right = fDivider;
@ -961,8 +958,6 @@ BMenuField::InitObject(const char* label)
fMenuBar = NULL;
fAlign = B_ALIGN_LEFT;
fEnabled = true;
fSelected = false;
fTransition = false;
fFixedSizeMB = false;
fMenuTaskID = -1;
fLayoutData = new LayoutData;
@ -1100,8 +1095,6 @@ BMenuField::_MenuTask()
if (!LockLooper())
return 0;
fSelected = true;
fTransition = true;
Invalidate();
UnlockLooper();
@ -1117,8 +1110,6 @@ BMenuField::_MenuTask()
} while (tracking);
if (LockLooper()) {
fSelected = false;
fTransition = true;
Invalidate();
UnlockLooper();
}