diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-06-04 13:29:25 +0300 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-06-04 13:29:25 +0300 |
commit | e1189d0e2ee47539edc68c3532e0a5ce64d5dcd1 (patch) | |
tree | 48ee3e5fa3fb970d7c25eea79fd4e5eec2171d94 /indra/llui/llaccordionctrltab.h | |
parent | f41d06012b53c7fe65ec1347364a2228b2992dc7 (diff) |
EXT-7368 FIXED Implemented new "empty_accordion_text" textbox to show help text when there are no visible tabs in accordion.
* Textbox always fit whole accordion.
* This text is updated with search_term (in link to open Search floater) when new filter substring is passed to accordion.
* Accordion is notified by its tabs when their visibility is changed.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/486/
--HG--
branch : product-engine
Diffstat (limited to 'indra/llui/llaccordionctrltab.h')
-rw-r--r-- | indra/llui/llaccordionctrltab.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llaccordionctrltab.h b/indra/llui/llaccordionctrltab.h index 83a9024a74..be8b464b8e 100644 --- a/indra/llui/llaccordionctrltab.h +++ b/indra/llui/llaccordionctrltab.h @@ -154,6 +154,11 @@ public: // Call reshape after changing size virtual void reshape(S32 width, S32 height, BOOL called_from_parent = TRUE); + /** + * Raises notifyParent event with "child_visibility_change" = new_visibility + */ + void handleVisibilityChange(BOOL new_visibility); + // Changes expand/collapse state and triggers expand/collapse callbacks virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); |