MenuField: Remove unused variables
fSelected and fTransition
This commit is contained in:
parent
44dc533861
commit
8f74b98905
@ -148,8 +148,6 @@ private:
|
||||
alignment fAlign;
|
||||
float fDivider;
|
||||
bool fEnabled;
|
||||
bool fSelected;
|
||||
bool fTransition;
|
||||
bool fFixedSizeMB;
|
||||
thread_id fMenuTaskID;
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user