diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llui/llfloater.h | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/llui/llfloater.h')
-rw-r--r-- | linden/indra/llui/llfloater.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/linden/indra/llui/llfloater.h b/linden/indra/llui/llfloater.h index 8b610e3..baa192a 100644 --- a/linden/indra/llui/llfloater.h +++ b/linden/indra/llui/llfloater.h | |||
@@ -143,8 +143,10 @@ public: | |||
143 | 143 | ||
144 | void setTitle( const LLString& title ); | 144 | void setTitle( const LLString& title ); |
145 | const LLString& getTitle() const; | 145 | const LLString& getTitle() const; |
146 | void setShortTitle( const LLString& short_title ); | ||
147 | LLString getShortTitle(); | ||
146 | virtual void setMinimized(BOOL b); | 148 | virtual void setMinimized(BOOL b); |
147 | void moveResizeHandleToFront(); | 149 | void moveResizeHandlesToFront(); |
148 | void addDependentFloater(LLFloater* dependent, BOOL reposition = TRUE); | 150 | void addDependentFloater(LLFloater* dependent, BOOL reposition = TRUE); |
149 | void addDependentFloater(LLViewHandle dependent_handle, BOOL reposition = TRUE); | 151 | void addDependentFloater(LLViewHandle dependent_handle, BOOL reposition = TRUE); |
150 | LLFloater* getDependee() { return (LLFloater*)LLFloater::getFloaterByHandle(mDependeeHandle); } | 152 | LLFloater* getDependee() { return (LLFloater*)LLFloater::getFloaterByHandle(mDependeeHandle); } |
@@ -242,6 +244,7 @@ protected: | |||
242 | LLRect mPreviousRect; | 244 | LLRect mPreviousRect; |
243 | BOOL mForeground; | 245 | BOOL mForeground; |
244 | LLViewHandle mDependeeHandle; | 246 | LLViewHandle mDependeeHandle; |
247 | LLString mShortTitle; | ||
245 | 248 | ||
246 | BOOL mFirstLook; // TRUE if the _next_ time this floater is visible will be the first time in the session that it is visible. | 249 | BOOL mFirstLook; // TRUE if the _next_ time this floater is visible will be the first time in the session that it is visible. |
247 | 250 | ||
@@ -281,6 +284,10 @@ protected: | |||
281 | static handle_map_t sFloaterMap; | 284 | static handle_map_t sFloaterMap; |
282 | 285 | ||
283 | std::vector<LLView*> mMinimizedHiddenChildren; | 286 | std::vector<LLView*> mMinimizedHiddenChildren; |
287 | |||
288 | BOOL mHasBeenDraggedWhileMinimized; | ||
289 | S32 mPreviousMinimizedBottom; | ||
290 | S32 mPreviousMinimizedLeft; | ||
284 | }; | 291 | }; |
285 | 292 | ||
286 | ///////////////////////////////////////////////////////////// | 293 | ///////////////////////////////////////////////////////////// |
@@ -367,12 +374,11 @@ public: | |||
367 | /*virtual*/ void draw(); | 374 | /*virtual*/ void draw(); |
368 | /*virtual*/ void setVisible(BOOL visible); | 375 | /*virtual*/ void setVisible(BOOL visible); |
369 | /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask, BOOL called_from_parent); | 376 | /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask, BOOL called_from_parent); |
370 | |||
371 | /*virtual*/ EWidgetType getWidgetType() const; | 377 | /*virtual*/ EWidgetType getWidgetType() const; |
372 | /*virtual*/ LLString getWidgetTag() const; | 378 | /*virtual*/ LLString getWidgetTag() const; |
373 | 379 | ||
374 | virtual void setCanResize(BOOL can_resize); | 380 | virtual void setCanResize(BOOL can_resize); |
375 | virtual void growToFit(LLFloater* floaterp, S32 width, S32 height); | 381 | virtual void growToFit(S32 content_width, S32 content_height); |
376 | virtual void addFloater(LLFloater* floaterp, BOOL select_added_floater, LLTabContainerCommon::eInsertionPoint insertion_point = LLTabContainerCommon::END); | 382 | virtual void addFloater(LLFloater* floaterp, BOOL select_added_floater, LLTabContainerCommon::eInsertionPoint insertion_point = LLTabContainerCommon::END); |
377 | 383 | ||
378 | virtual void showFloater(LLFloater* floaterp); | 384 | virtual void showFloater(LLFloater* floaterp); |
@@ -394,7 +400,7 @@ public: | |||
394 | void setTabContainer(LLTabContainerCommon* tab_container) { if (!mTabContainer) mTabContainer = tab_container; } | 400 | void setTabContainer(LLTabContainerCommon* tab_container) { if (!mTabContainer) mTabContainer = tab_container; } |
395 | static void onTabSelected(void* userdata, bool); | 401 | static void onTabSelected(void* userdata, bool); |
396 | 402 | ||
397 | virtual void resizeToContents(); | 403 | virtual void updateResizeLimits(); |
398 | 404 | ||
399 | protected: | 405 | protected: |
400 | struct LLFloaterData | 406 | struct LLFloaterData |