diff options
author | Bryan O'Sullivan <bos@lindenlab.com> | 2009-06-22 15:02:19 -0700 |
---|---|---|
committer | Bryan O'Sullivan <bos@lindenlab.com> | 2009-06-22 15:02:19 -0700 |
commit | baa73fddd9287ddafd2d31551cb253b355ed910a (patch) | |
tree | e3f0986617fe6c0ee0a14df6aac13c6bb6f92507 /indra/llui/lllayoutstack.h | |
parent | dc3833f31b8a20220ddb1775e1625c016c397435 (diff) | |
parent | fcaa1ad46fd1df4cfec9dee12caf6e7b5bf32136 (diff) |
Merge with viewer-2.0.0-3 branch
Diffstat (limited to 'indra/llui/lllayoutstack.h')
-rw-r--r-- | indra/llui/lllayoutstack.h | 9 |
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 |