aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llmenugl.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:37 -0500
committerJacek Antonelli2008-08-15 23:45:37 -0500
commit31ba05810c641f14e8ab5da8ad2aaf527779f6c1 (patch)
treec4b8d635dfb657fa4cfee7c285f8cadbf24afa90 /linden/indra/llui/llmenugl.h
parentSecond Life viewer sources 1.19.1.1 (diff)
downloadmeta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.zip
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.gz
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.bz2
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.xz
Second Life viewer sources 1.19.1.2
Diffstat (limited to 'linden/indra/llui/llmenugl.h')
-rw-r--r--linden/indra/llui/llmenugl.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/linden/indra/llui/llmenugl.h b/linden/indra/llui/llmenugl.h
index 4e5ac69..cd39006 100644
--- a/linden/indra/llui/llmenugl.h
+++ b/linden/indra/llui/llmenugl.h
@@ -524,8 +524,6 @@ public:
524 static void setKeyboardMode(BOOL mode) { sKeyboardMode = mode; } 524 static void setKeyboardMode(BOOL mode) { sKeyboardMode = mode; }
525 static BOOL getKeyboardMode() { return sKeyboardMode; } 525 static BOOL getKeyboardMode() { return sKeyboardMode; }
526 526
527 static void onFocusLost(LLView* old_focus);
528
529 static class LLMenuHolderGL* sMenuContainer; 527 static class LLMenuHolderGL* sMenuContainer;
530 528
531protected: 529protected:
@@ -666,18 +664,15 @@ public:
666 virtual BOOL append(LLMenuItemGL* item); 664 virtual BOOL append(LLMenuItemGL* item);
667 virtual BOOL appendSeparator( const LLString &separator_name = "separator" ); 665 virtual BOOL appendSeparator( const LLString &separator_name = "separator" );
668 666
669 // the enabled callback is meant for the submenu. The api works 667 BOOL appendPieMenu(LLPieMenu *menu);
670 // this way because the menu branch item responsible for the pie 668
671 // submenu is constructed here.
672 virtual BOOL appendMenu(LLPieMenu *menu,
673 enabled_callback enabled_cb = NULL,
674 void* user_data = NULL );
675 virtual void arrange( void ); 669 virtual void arrange( void );
676 670
677 // Display the menu centered on this point on the screen. 671 // Display the menu centered on this point on the screen.
678 void show(S32 x, S32 y, BOOL mouse_down); 672 void show(S32 x, S32 y, BOOL mouse_down);
679 void hide(BOOL item_selected); 673 void hide(BOOL item_selected);
680 674
675
681private: 676private:
682 LLMenuItemGL *pieItemFromXY(S32 x, S32 y); 677 LLMenuItemGL *pieItemFromXY(S32 x, S32 y);
683 S32 pieItemIndexFromXY(S32 x, S32 y); 678 S32 pieItemIndexFromXY(S32 x, S32 y);
@@ -763,7 +758,7 @@ public:
763 virtual LLString getWidgetTag() const { return LL_MENU_HOLDER_GL_TAG; } 758 virtual LLString getWidgetTag() const { return LL_MENU_HOLDER_GL_TAG; }
764 759
765 virtual BOOL hideMenus(); 760 virtual BOOL hideMenus();
766 void reshape(S32 width, S32 height, BOOL called_from_parent); 761 void reshape(S32 width, S32 height, BOOL called_from_parent = TRUE);
767 void setCanHide(BOOL can_hide) { mCanHide = can_hide; } 762 void setCanHide(BOOL can_hide) { mCanHide = can_hide; }
768 763
769 // LLView functionality 764 // LLView functionality