Tracker: Drop ShowHideSelection setting.

Unused since the previous commit.
This commit is contained in:
Augustin Cavalier 2023-01-28 15:24:23 -05:00
parent 6d791f2040
commit 147ca87661
2 changed files with 1 additions and 12 deletions

View File

@ -263,7 +263,6 @@ BPoseView::BPoseView(Model* model, uint32 viewMode)
fAlwaysAutoPlace(false), fAlwaysAutoPlace(false),
fAllowPoseEditing(true), fAllowPoseEditing(true),
fSelectionChangedHook(false), fSelectionChangedHook(false),
fShowHideSelection(true),
fOkToMapIcons(false), fOkToMapIcons(false),
fEnsurePosesVisible(false), fEnsurePosesVisible(false),
fShouldAutoScroll(true), fShouldAutoScroll(true),
@ -1135,8 +1134,7 @@ BPoseView::WindowActivated(bool active)
if (!active) if (!active)
CommitActivePose(); CommitActivePose();
if (fShowHideSelection) ShowSelection(active);
ShowSelection(active);
if (active && ActivePose() == NULL && !IsFilePanel()) if (active && ActivePose() == NULL && !IsFilePanel())
MakeFocus(); MakeFocus();

View File

@ -157,7 +157,6 @@ public:
void SetSelectionRectEnabled(bool); void SetSelectionRectEnabled(bool);
void SetAlwaysAutoPlace(bool); void SetAlwaysAutoPlace(bool);
void SetSelectionChangedHook(bool); void SetSelectionChangedHook(bool);
void SetShowHideSelection(bool);
void SetEnsurePosesVisible(bool); void SetEnsurePosesVisible(bool);
void SetIconMapping(bool); void SetIconMapping(bool);
void SetAutoScroll(bool); void SetAutoScroll(bool);
@ -787,7 +786,6 @@ private:
bool fAllowPoseEditing : 1; bool fAllowPoseEditing : 1;
bool fSelectionChangedHook : 1; bool fSelectionChangedHook : 1;
// get rid of this // get rid of this
bool fShowHideSelection : 1;
bool fOkToMapIcons : 1; bool fOkToMapIcons : 1;
bool fEnsurePosesVisible : 1; bool fEnsurePosesVisible : 1;
bool fShouldAutoScroll : 1; bool fShouldAutoScroll : 1;
@ -1051,13 +1049,6 @@ BPoseView::ReverseSort() const
} }
inline void
BPoseView::SetShowHideSelection(bool on)
{
fShowHideSelection = on;
}
inline void inline void
BPoseView::SetIconMapping(bool on) BPoseView::SetIconMapping(bool on)
{ {