summaryrefslogtreecommitdiff
path: root/indra/llui/lllayoutstack.h
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2009-06-22 15:02:19 -0700
committerBryan O'Sullivan <bos@lindenlab.com>2009-06-22 15:02:19 -0700
commitbaa73fddd9287ddafd2d31551cb253b355ed910a (patch)
treee3f0986617fe6c0ee0a14df6aac13c6bb6f92507 /indra/llui/lllayoutstack.h
parentdc3833f31b8a20220ddb1775e1625c016c397435 (diff)
parentfcaa1ad46fd1df4cfec9dee12caf6e7b5bf32136 (diff)
Merge with viewer-2.0.0-3 branch
Diffstat (limited to 'indra/llui/lllayoutstack.h')
-rw-r--r--indra/llui/lllayoutstack.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/llui/lllayoutstack.h b/indra/llui/lllayoutstack.h
index 600690f67d..480bdb5c17 100644
--- a/indra/llui/lllayoutstack.h
+++ b/indra/llui/lllayoutstack.h
@@ -43,6 +43,7 @@ public:
{
Optional<std::string> orientation;
Optional<S32> border_size;
+ Optional<bool> animate;
// mMinWidth and mMinHeight are calculated, not set in XML
Params();
@@ -81,7 +82,7 @@ protected:
friend class LLUICtrlFactory;
private:
- struct LLEmbeddedPanel;
+ struct LayoutPanel;
void updateLayout(BOOL force_resize = FALSE);
void calcMinExtents();
@@ -90,13 +91,15 @@ private:
const ELayoutOrientation mOrientation;
- typedef std::vector<LLEmbeddedPanel*> e_panel_list_t;
+ typedef std::vector<LayoutPanel*> e_panel_list_t;
e_panel_list_t mPanels;
- LLEmbeddedPanel* findEmbeddedPanel(LLPanel* panelp) const;
+ LayoutPanel* findEmbeddedPanel(LLPanel* panelp) const;
S32 mMinWidth; // calculated by calcMinExtents
S32 mMinHeight; // calculated by calcMinExtents
S32 mPanelSpacing;
+
+ bool mAnimate;
}; // end class LLLayoutStack
#endif