diff options
Diffstat (limited to 'indra/llui/lltoggleablemenu.h')
-rwxr-xr-x[-rw-r--r--] | indra/llui/lltoggleablemenu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llui/lltoggleablemenu.h b/indra/llui/lltoggleablemenu.h index 2094bd776f..55a6483021 100644..100755 --- a/indra/llui/lltoggleablemenu.h +++ b/indra/llui/lltoggleablemenu.h @@ -45,7 +45,9 @@ public: boost::signals2::connection setVisibilityChangeCallback( const commit_signal_t::slot_type& cb ); - virtual void handleVisibilityChange (BOOL curVisibilityIn); + virtual void onVisibilityChange (BOOL curVisibilityIn); + + virtual bool addChild (LLView* view, S32 tab_group = 0); const LLRect& getButtonRect() const { return mButtonRect; } @@ -58,6 +60,8 @@ public: // its visibility off. bool toggleVisibility(); + LLHandle<LLToggleableMenu> getHandle() { return getDerivedHandle<LLToggleableMenu>(); } + protected: bool mClosedByButtonClick; LLRect mButtonRect; |