From ce28e056c20bf2723f565bbf464b87781ec248a2 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:42 -0500 Subject: Second Life viewer sources 1.20.2 --- linden/indra/newview/lltoolmgr.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'linden/indra/newview/lltoolmgr.h') diff --git a/linden/indra/newview/lltoolmgr.h b/linden/indra/newview/lltoolmgr.h index c193be3..10affff 100644 --- a/linden/indra/newview/lltoolmgr.h +++ b/linden/indra/newview/lltoolmgr.h @@ -45,7 +45,7 @@ const MASK MASK_ORBIT = MASK_CONTROL; const MASK MASK_PAN = MASK_CONTROL | MASK_SHIFT; const MASK MASK_COPY = MASK_SHIFT; -class LLToolMgr +class LLToolMgr : public LLSingleton { public: LLToolMgr(); @@ -58,6 +58,9 @@ public: LLTool* getBaseTool(); // returns active tool when overrides are deactivated BOOL inEdit(); + + /* Determines if we are in Build mode or not. */ + bool inBuildMode(); void setTransientTool(LLTool* tool); void clearTransientTool(); @@ -115,8 +118,7 @@ protected: void select_tool(void *tool); -// Globals (created and destroyed by LLViewerWindow) -extern LLToolMgr* gToolMgr; +// Globals extern LLToolset* gBasicToolset; extern LLToolset *gCameraToolset; -- cgit v1.1