MenuField: Remove unused variables

fSelected and fTransition
This commit is contained in:
John Scipione
2013-08-25 00:09:16 -04:00
parent 44dc533861
commit 8f74b98905
2 changed files with 0 additions and 11 deletions
-2
View File
@@ -148,8 +148,6 @@ private:
alignment fAlign; alignment fAlign;
float fDivider; float fDivider;
bool fEnabled; bool fEnabled;
bool fSelected;
bool fTransition;
bool fFixedSizeMB; bool fFixedSizeMB;
thread_id fMenuTaskID; thread_id fMenuTaskID;
-9
View File
@@ -456,9 +456,6 @@ BMenuField::KeyDown(const char* bytes, int32 numBytes)
fMenuBar->StartMenuBar(0, true, true, &bounds); fMenuBar->StartMenuBar(0, true, true, &bounds);
fSelected = true;
fTransition = true;
bounds = Bounds(); bounds = Bounds();
bounds.right = fDivider; bounds.right = fDivider;
@@ -961,8 +958,6 @@ BMenuField::InitObject(const char* label)
fMenuBar = NULL; fMenuBar = NULL;
fAlign = B_ALIGN_LEFT; fAlign = B_ALIGN_LEFT;
fEnabled = true; fEnabled = true;
fSelected = false;
fTransition = false;
fFixedSizeMB = false; fFixedSizeMB = false;
fMenuTaskID = -1; fMenuTaskID = -1;
fLayoutData = new LayoutData; fLayoutData = new LayoutData;
@@ -1100,8 +1095,6 @@ BMenuField::_MenuTask()
if (!LockLooper()) if (!LockLooper())
return 0; return 0;
fSelected = true;
fTransition = true;
Invalidate(); Invalidate();
UnlockLooper(); UnlockLooper();
@@ -1117,8 +1110,6 @@ BMenuField::_MenuTask()
} while (tracking); } while (tracking);
if (LockLooper()) { if (LockLooper()) {
fSelected = false;
fTransition = true;
Invalidate(); Invalidate();
UnlockLooper(); UnlockLooper();
} }