diff options
author | Merov Linden <merov@lindenlab.com> | 2010-09-08 23:06:01 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2010-09-08 23:06:01 -0700 |
commit | 657f75b89de4cfd5ade82e3bc30e236cd2533017 (patch) | |
tree | 09d6b1bcf6a89795dfa1bf5b8acaa1de77344ee3 /indra/llui/lllayoutstack.h | |
parent | 39e5d2ecf04deceda92d6a53413298ca1c3bc0c7 (diff) | |
parent | a2fb3fabc7926dd105393391f334baa78f232640 (diff) |
Pull from lindenlab/viewer-development
Diffstat (limited to 'indra/llui/lllayoutstack.h')
-rw-r--r-- | indra/llui/lllayoutstack.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/lllayoutstack.h b/indra/llui/lllayoutstack.h index cd59ee3966..6fcc8e2ac3 100644 --- a/indra/llui/lllayoutstack.h +++ b/indra/llui/lllayoutstack.h @@ -72,6 +72,11 @@ public: void removePanel(LLPanel* panel); void collapsePanel(LLPanel* panel, BOOL collapsed = TRUE); S32 getNumPanels() { return mPanels.size(); } + /** + * Moves panel_to_move before target_panel inside layout stack (both panels should already be there). + * If move_to_front is true target_panel is ignored and panel_to_move is moved to the beginning of mPanels + */ + void movePanel(LLPanel* panel_to_move, LLPanel* target_panel, bool move_to_front = false); void updatePanelAutoResize(const std::string& panel_name, BOOL auto_resize); void setPanelUserResize(const std::string& panel_name, BOOL user_resize); |