diff options
author | Jacek Antonelli | 2009-11-02 22:55:58 -0600 |
---|---|---|
committer | Jacek Antonelli | 2009-11-02 22:55:58 -0600 |
commit | fd56f291010044bbe01f25cfdad8c43b3dbd8ccc (patch) | |
tree | ea3e2ac8b91456ddb20d5004d0d4f1c94f51ee9a /linden/indra/newview/llpanelinput.cpp | |
parent | Added "DoubleClickAction" and "GoAction" settings. (diff) | |
download | meta-impy-fd56f291010044bbe01f25cfdad8c43b3dbd8ccc.zip meta-impy-fd56f291010044bbe01f25cfdad8c43b3dbd8ccc.tar.gz meta-impy-fd56f291010044bbe01f25cfdad8c43b3dbd8ccc.tar.bz2 meta-impy-fd56f291010044bbe01f25cfdad8c43b3dbd8ccc.tar.xz |
Added "Double-Click Action" and "Go Here By" to Input prefs panel.
Diffstat (limited to 'linden/indra/newview/llpanelinput.cpp')
-rw-r--r-- | linden/indra/newview/llpanelinput.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/newview/llpanelinput.cpp b/linden/indra/newview/llpanelinput.cpp index 7ab261b..6d40470 100644 --- a/linden/indra/newview/llpanelinput.cpp +++ b/linden/indra/newview/llpanelinput.cpp | |||
@@ -55,6 +55,9 @@ BOOL LLPanelInput::postBuild() | |||
55 | childSetValue("camera_position_smoothing", gSavedSettings.getF32("CameraPositionSmoothing")); | 55 | childSetValue("camera_position_smoothing", gSavedSettings.getF32("CameraPositionSmoothing")); |
56 | childSetValue("first_person_avatar_visible", gSavedSettings.getBOOL("FirstPersonAvatarVisible")); | 56 | childSetValue("first_person_avatar_visible", gSavedSettings.getBOOL("FirstPersonAvatarVisible")); |
57 | 57 | ||
58 | childSetValue("double_click_action", gSavedSettings.getString("DoubleClickAction")); | ||
59 | childSetValue("go_action", gSavedSettings.getString("GoAction")); | ||
60 | |||
58 | return TRUE; | 61 | return TRUE; |
59 | } | 62 | } |
60 | 63 | ||
@@ -74,6 +77,10 @@ void LLPanelInput::apply() | |||
74 | gSavedSettings.setF32("ZoomTime", childGetValue("zoom_time").asReal()); | 77 | gSavedSettings.setF32("ZoomTime", childGetValue("zoom_time").asReal()); |
75 | gSavedSettings.setF32("CameraPositionSmoothing", childGetValue("camera_position_smoothing").asReal()); | 78 | gSavedSettings.setF32("CameraPositionSmoothing", childGetValue("camera_position_smoothing").asReal()); |
76 | gSavedSettings.setBOOL("FirstPersonAvatarVisible", childGetValue("first_person_avatar_visible")); | 79 | gSavedSettings.setBOOL("FirstPersonAvatarVisible", childGetValue("first_person_avatar_visible")); |
80 | |||
81 | gSavedSettings.setString("DoubleClickAction", childGetValue("double_click_action")); | ||
82 | gSavedSettings.setString("GoAction", childGetValue("go_action")); | ||
83 | |||
77 | } | 84 | } |
78 | 85 | ||
79 | void LLPanelInput::cancel() | 86 | void LLPanelInput::cancel() |