diff options
author | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
commit | a8a62201ba762e98dff92cf49033e577fc34d8d4 (patch) | |
tree | 11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/llui/llpanel.h | |
parent | Second Life viewer sources 1.18.6.4-RC (diff) | |
download | meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2 meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz |
Second Life viewer sources 1.19.0.0
Diffstat (limited to 'linden/indra/llui/llpanel.h')
-rw-r--r-- | linden/indra/llui/llpanel.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/linden/indra/llui/llpanel.h b/linden/indra/llui/llpanel.h index d706fc8..bcbda2c 100644 --- a/linden/indra/llui/llpanel.h +++ b/linden/indra/llui/llpanel.h | |||
@@ -13,12 +13,12 @@ | |||
13 | * ("GPL"), unless you have obtained a separate licensing agreement | 13 | * ("GPL"), unless you have obtained a separate licensing agreement |
14 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 14 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
15 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 15 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
16 | * online at http://secondlife.com/developers/opensource/gplv2 | 16 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
17 | * | 17 | * |
18 | * There are special exceptions to the terms and conditions of the GPL as | 18 | * There are special exceptions to the terms and conditions of the GPL as |
19 | * it is applied to this Source Code. View the full text of the exception | 19 | * it is applied to this Source Code. View the full text of the exception |
20 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 20 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
21 | * online at http://secondlife.com/developers/opensource/flossexception | 21 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
22 | * | 22 | * |
23 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
24 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
@@ -173,7 +173,7 @@ public: | |||
173 | // LLUICtrl | 173 | // LLUICtrl |
174 | void childSetFocus(const LLString& id, BOOL focus = TRUE); | 174 | void childSetFocus(const LLString& id, BOOL focus = TRUE); |
175 | BOOL childHasFocus(const LLString& id); | 175 | BOOL childHasFocus(const LLString& id); |
176 | void childSetFocusChangedCallback(const LLString& id, void (*cb)(LLUICtrl*, void*)); | 176 | void childSetFocusChangedCallback(const LLString& id, void (*cb)(LLFocusableElement*, void*), void* user_data = NULL); |
177 | 177 | ||
178 | void childSetCommitCallback(const LLString& id, void (*cb)(LLUICtrl*, void*), void* userdata = NULL ); | 178 | void childSetCommitCallback(const LLString& id, void (*cb)(LLUICtrl*, void*), void* userdata = NULL ); |
179 | void childSetDoubleClickCallback(const LLString& id, void (*cb)(void*), void* userdata = NULL ); | 179 | void childSetDoubleClickCallback(const LLString& id, void (*cb)(void*), void* userdata = NULL ); |
@@ -277,9 +277,9 @@ public: | |||
277 | virtual ~LLLayoutStack(); | 277 | virtual ~LLLayoutStack(); |
278 | 278 | ||
279 | /*virtual*/ void draw(); | 279 | /*virtual*/ void draw(); |
280 | /*virtual*/ void reshape(S32 width, S32 height, BOOL called_from_parent); | ||
281 | /*virtual*/ LLXMLNodePtr getXML(bool save_children = true) const; | 280 | /*virtual*/ LLXMLNodePtr getXML(bool save_children = true) const; |
282 | /*virtual*/ void removeCtrl(LLUICtrl* ctrl); | 281 | /*virtual*/ void removeCtrl(LLUICtrl* ctrl); |
282 | |||
283 | virtual EWidgetType getWidgetType() const { return WIDGET_TYPE_LAYOUT_STACK; } | 283 | virtual EWidgetType getWidgetType() const { return WIDGET_TYPE_LAYOUT_STACK; } |
284 | virtual LLString getWidgetTag() const { return LL_LAYOUT_STACK_TAG; } | 284 | virtual LLString getWidgetTag() const { return LL_LAYOUT_STACK_TAG; } |
285 | 285 | ||
@@ -288,7 +288,7 @@ public: | |||
288 | S32 getMinWidth(); | 288 | S32 getMinWidth(); |
289 | S32 getMinHeight(); | 289 | S32 getMinHeight(); |
290 | 290 | ||
291 | void addPanel(LLPanel* panel, S32 min_width, S32 min_height, BOOL auto_resize, S32 index = S32_MAX); | 291 | void addPanel(LLPanel* panel, S32 min_width, S32 min_height, BOOL auto_resize, BOOL user_resize, S32 index = S32_MAX); |
292 | void removePanel(LLPanel* panel); | 292 | void removePanel(LLPanel* panel); |
293 | void updateLayout(BOOL force_resize = FALSE); | 293 | void updateLayout(BOOL force_resize = FALSE); |
294 | 294 | ||
@@ -299,6 +299,8 @@ protected: | |||
299 | void calcMinExtents(); | 299 | void calcMinExtents(); |
300 | S32 getMinStackSize(); | 300 | S32 getMinStackSize(); |
301 | S32 getCurStackSize(); | 301 | S32 getCurStackSize(); |
302 | S32 getDefaultHeight(S32 cur_height); | ||
303 | S32 getDefaultWidth(S32 cur_width); | ||
302 | 304 | ||
303 | protected: | 305 | protected: |
304 | eLayoutOrientation mOrientation; | 306 | eLayoutOrientation mOrientation; |
@@ -308,6 +310,7 @@ protected: | |||
308 | 310 | ||
309 | S32 mMinWidth; | 311 | S32 mMinWidth; |
310 | S32 mMinHeight; | 312 | S32 mMinHeight; |
313 | S32 mPanelSpacing; | ||
311 | }; | 314 | }; |
312 | 315 | ||
313 | #endif | 316 | #endif |