summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreference.h
diff options
context:
space:
mode:
authorleviathan <leviathan@lindenlab.com>2024-06-27 00:18:42 -0700
committerAndrew Meadows <andrew.l.meadows@gmail.com>2024-10-03 09:03:28 -0700
commit9c986bef6704ac07112e18dc82b870acf1847e41 (patch)
treed24a8ce4b0c63dd2e0304340ec33464ee19dd845 /indra/newview/llfloaterpreference.h
parent2daf175650cdda7cc8f820b6cb17b1475496e7ac (diff)
put GameControl behind a feature flag
Diffstat (limited to 'indra/newview/llfloaterpreference.h')
-rw-r--r--indra/newview/llfloaterpreference.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.h b/indra/newview/llfloaterpreference.h
index 810bb7d6ac..1a498c035e 100644
--- a/indra/newview/llfloaterpreference.h
+++ b/indra/newview/llfloaterpreference.h
@@ -172,7 +172,7 @@ public:
void setPersonalInfo(const std::string& visibility);
void refreshEnabledState();
void onCommitWindowedMode();
- void refresh(); // Refresh enable/disable
+ void refresh() override; // Refresh enable/disable
// if the quality radio buttons are changed
void onChangeQuality(const LLSD& data);
@@ -426,6 +426,7 @@ private:
bool initCombobox(LLScrollListItem* item, LLScrollListCtrl* grid);
void clearSelectionState();
void addActionTableSeparator();
+ void updateEnable();
void updateActionTableState();
void onResetToDefaults();
void resetChannelMappingsToDefaults();
@@ -434,6 +435,7 @@ private:
void resetButtonMappingsToDefaults();
// Above the tab container
+ LLCheckBoxCtrl *mCheckEnableGameControl;
LLCheckBoxCtrl *mCheckGameControlToServer; // send game_control data to server
LLCheckBoxCtrl *mCheckGameControlToAgent; // use game_control data to move avatar
LLCheckBoxCtrl *mCheckAgentToGameControl; // translate external avatar actions to game_control data