summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmaininventory.h
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2009-11-11 12:42:39 -0500
committerLoren Shih <seraph@lindenlab.com>2009-11-11 12:42:39 -0500
commit5bb5333964e99448d1e23403fdf31cc202e2fe95 (patch)
treea9d34e90ecdea361d53069cf6bae9ae5b5f62234 /indra/newview/llpanelmaininventory.h
parent652c8f6b5e91e1333854ac5e300b0bf650d03fc2 (diff)
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...
Diffstat (limited to 'indra/newview/llpanelmaininventory.h')
-rw-r--r--indra/newview/llpanelmaininventory.h14
1 files changed, 13 insertions, 1 deletions
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<Params, LLPanel::Params>
+ {
+ Optional<bool> hide_top_menu;
+ Optional<bool> hide_bottom_menu;
+
+ Params() :
+ hide_top_menu("hide_top_menu", false),
+ hide_bottom_menu("hide_bottom_menu", false)
+ {}
+ };
+
+ LLPanelMainInventory(const Params&);
~LLPanelMainInventory();
BOOL postBuild();