summaryrefslogtreecommitdiff
path: root/indra/newview/llkeyconflict.h
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-09-25 22:23:09 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-06-23 14:48:03 +0300
commit4ae2165c4516a74012d30610b4c53de6d3ccaf90 (patch)
tree78ca52dc73bba4575e9de63798ff4d6b817d1dc9 /indra/newview/llkeyconflict.h
parentc60b929fbb615f8d73f7bf42849b5628bf0f8f7a (diff)
SL-6109 LMB DLMB in progress
Diffstat (limited to 'indra/newview/llkeyconflict.h')
-rw-r--r--indra/newview/llkeyconflict.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/indra/newview/llkeyconflict.h b/indra/newview/llkeyconflict.h
index 7890be1e28..b0f99e2d0c 100644
--- a/indra/newview/llkeyconflict.h
+++ b/indra/newview/llkeyconflict.h
@@ -183,18 +183,20 @@ public:
// Resets keybinding to default variant from 'saved settings' or xml
void resetToDefault(EControlTypes control_type, U32 index);
void resetToDefault(EControlTypes control_type);
- void resetToDefaults(EModes mode);
+ // resets current mode to defaults,
void resetToDefaults();
- void resetAllToDefaults();
bool empty() { return mControlsMap.empty(); }
void clear();
bool hasUnsavedChanges() { return mHasUnsavedChanges; }
- EModes getLoadedMode() { return mLoadedMode; }
+ void setLoadMode(EModes mode) { mLoadMode = mode; }
+ EModes getLoadMode() { return mLoadMode; }
// todo: conflict search
private:
+ void resetToDefaults(EModes mode);
+
// at the moment these kind of control is not savable, but takes part will take part in conflict resolution
void registerTemporaryControl(EControlTypes control_type, EMouseClickType mouse_ind, KEY key, MASK mask, U32 conflict_mask);
@@ -207,7 +209,7 @@ private:
control_map_t mControlsMap;
control_map_t mDefaultsMap;
bool mHasUnsavedChanges;
- EModes mLoadedMode;
+ EModes mLoadMode;
};