summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.h
diff options
context:
space:
mode:
authorAndrew Dyukov <adyukov@productengine.com>2010-09-06 22:56:14 +0300
committerAndrew Dyukov <adyukov@productengine.com>2010-09-06 22:56:14 +0300
commita30bc718bbeb660e92eb3f70c1ec0364903069a8 (patch)
tree11c0951ac6a4fc0adb1e6bd41f3f78e1d3635d8f /indra/newview/llbottomtray.h
parente04dabd2b3309b595bbc1afa0dfa7d4081439eba (diff)
VWR-22690 FIXED Implemented save/load of bottomtray button order.
- Added methods responsible for saving and loading order of buttons to bottomtray. Order is saved after each drag'n'drop to ensure user's customization of bottomtray is not lost because of crash. - Added additional argument to layoutstack movePanel() method which tells it to move panel to the beginning of mPanels vector without requiring a pointer to panel before which it should be inserted. Reviewed by Vadim Savchuk.
Diffstat (limited to 'indra/newview/llbottomtray.h')
-rw-r--r--indra/newview/llbottomtray.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.h b/indra/newview/llbottomtray.h
index 6697d6f679..0973445157 100644
--- a/indra/newview/llbottomtray.h
+++ b/indra/newview/llbottomtray.h
@@ -188,6 +188,11 @@ private:
*/
void updateButtonsOrdersAfterDnD();
+ // saves order of buttons to file on disk
+ void saveButtonsOrder();
+ // reads order of buttons from file on disk
+ void loadButtonsOrder();
+
/**
* Updates child controls size and visibility when it is necessary to reduce total width.
*