From 5bb5333964e99448d1e23403fdf31cc202e2fe95 Mon Sep 17 00:00:00 2001 From: Loren Shih Date: Wed, 11 Nov 2009 12:42:39 -0500 Subject: EXT-2377 : Add XML switch to showing either menubar or gear menu First pass attempt at this. This is not debugged, but hg won't let me merge until I commit this change... --- indra/newview/llpanelmaininventory.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'indra/newview/llpanelmaininventory.h') diff --git a/indra/newview/llpanelmaininventory.h b/indra/newview/llpanelmaininventory.h index 29e9baa6cf..e447d8ce06 100644 --- a/indra/newview/llpanelmaininventory.h +++ b/indra/newview/llpanelmaininventory.h @@ -58,7 +58,19 @@ class LLPanelMainInventory : public LLPanel, LLInventoryObserver public: friend class LLFloaterInventoryFinder; - LLPanelMainInventory(); + struct Params + : public LLInitParam::Block + { + Optional hide_top_menu; + Optional hide_bottom_menu; + + Params() : + hide_top_menu("hide_top_menu", false), + hide_bottom_menu("hide_bottom_menu", false) + {} + }; + + LLPanelMainInventory(const Params&); ~LLPanelMainInventory(); BOOL postBuild(); -- cgit v1.2.3