diff options
author | Mike Antipov <mantipov@productengine.com> | 2009-11-12 17:43:23 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2009-11-12 17:43:23 +0200 |
commit | fcb99c30407d6ccbae17ea4c3d17a65037ca6a5c (patch) | |
tree | a7a4b89b24a21ef500c242cdb202793a390c961c /indra/newview/llbottomtray.h | |
parent | 86c63e36b59d502f48acc935874050bbe361caf0 (diff) |
Work on major sub-task EXT-991 (Update bottom bar behavior on resize)
Code refuctored:
- moved code to process Borrom Bar shrinking into separate method
- unified code to process a hiding of the Bottom Tray's buttons
Code is ready to process shrink after min width is reached & be synchronized with user hidden buttons
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llbottomtray.h')
-rw-r--r-- | indra/newview/llbottomtray.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.h b/indra/newview/llbottomtray.h index 6509fea63d..2972a2b1ac 100644 --- a/indra/newview/llbottomtray.h +++ b/indra/newview/llbottomtray.h @@ -102,8 +102,10 @@ private: void processWidthIncreased(S32 delta_width); void log(LLView* panel, const std::string& descr); bool processShowButton(EResizeState shown_object_type, S32* available_width, S32* buttons_required_width); + void processHideButton(EResizeState shown_object_type, S32* required_width, S32* buttons_freed_width); bool canButtonBeShown(LLPanel* panel) const; void initStateProcessedObjectMap(); + void showTrayButton(EResizeState shown_object_type, bool visible); MASK mResizeState; |