summaryrefslogtreecommitdiff
path: root/indra/llui/llmenugl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llmenugl.cpp')
-rw-r--r--indra/llui/llmenugl.cpp64
1 files changed, 0 insertions, 64 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index 7aaa306f05..9161ecb19f 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -1155,70 +1155,6 @@ void LLMenuItemToggleGL::doIt( void )
}
-//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-// Class LLMenuItemBranchGL
-//
-// The LLMenuItemBranchGL represents a menu item that has a
-// sub-menu. This is used to make cascading menus.
-//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-class LLMenuItemBranchGL : public LLMenuItemGL
-{
-protected:
- LLMenuGL* mBranch;
-
-public:
- LLMenuItemBranchGL( const LLString& name, const LLString& label, LLMenuGL* branch,
- KEY key = KEY_NONE, MASK mask = MASK_NONE );
- virtual LLXMLNodePtr getXML(bool save_children = true) const;
-
- virtual LLView* getChildByName(const LLString& name, BOOL recurse) const;
-
- virtual LLString getType() const { return "menu"; }
-
- virtual EWidgetType getWidgetType() const;
- virtual LLString getWidgetTag() const;
-
- virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask);
-
- virtual BOOL handleAcceleratorKey(KEY key, MASK mask);
-
- // check if we've used these accelerators already
- virtual BOOL addToAcceleratorList(std::list <LLKeyBinding*> *listp);
-
- // called to rebuild the draw label
- virtual void buildDrawLabel( void );
-
- // doIt() - do the primary funcationality of the menu item.
- virtual void doIt( void );
-
- virtual BOOL handleKey(KEY key, MASK mask, BOOL called_from_parent);
- virtual BOOL handleUnicodeChar(llwchar uni_char, BOOL called_from_parent);
-
- // set the hover status (called by it's menu) and if the object is
- // active. This is used for behavior transfer.
- virtual void setHighlight( BOOL highlight );
-
- virtual BOOL handleKeyHere(KEY key, MASK mask, BOOL called_from_parent);
-
- virtual BOOL isActive() const;
-
- virtual BOOL isOpen() const;
-
- LLMenuGL *getBranch() const { return mBranch; }
-
- virtual void updateBranchParent( LLView* parentp );
-
- // LLView Functionality
- virtual void onVisibilityChange( BOOL curVisibilityIn );
-
- virtual void draw();
-
- virtual void setEnabledSubMenus(BOOL enabled);
-
- virtual void openMenu();
-};
-
LLMenuItemBranchGL::LLMenuItemBranchGL( const LLString& name, const LLString& label, LLMenuGL* branch,
KEY key, MASK mask ) :
LLMenuItemGL( name, label, key, mask ),