aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llview.h
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-30 13:04:20 -0500
committerJacek Antonelli2009-04-30 13:07:16 -0500
commitca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch)
tree8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/llui/llview.h
parentSecond Life viewer sources 1.22.11 (diff)
downloadmeta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz
Second Life viewer sources 1.23.0-RC
Diffstat (limited to 'linden/indra/llui/llview.h')
-rw-r--r--linden/indra/llui/llview.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/linden/indra/llui/llview.h b/linden/indra/llui/llview.h
index 80dd348..b5a34bd 100644
--- a/linden/indra/llui/llview.h
+++ b/linden/indra/llui/llview.h
@@ -17,7 +17,8 @@
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception 20 * online at
21 * http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 22 *
22 * By copying, modifying or distributing this software, you acknowledge 23 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 24 * that you have read and understood your obligations described above,
@@ -51,6 +52,7 @@
51#include "llxmlnode.h" 52#include "llxmlnode.h"
52#include "stdenums.h" 53#include "stdenums.h"
53#include "lluistring.h" 54#include "lluistring.h"
55#include "llcursortypes.h"
54 56
55const U32 FOLLOWS_NONE = 0x00; 57const U32 FOLLOWS_NONE = 0x00;
56const U32 FOLLOWS_LEFT = 0x01; 58const U32 FOLLOWS_LEFT = 0x01;
@@ -484,7 +486,7 @@ public:
484 // did we find *something* with that name? 486 // did we find *something* with that name?
485 if (child) 487 if (child)
486 { 488 {
487 llwarns << "Found child named " << name << " but of wrong type" << llendl; 489 llwarns << "Found child named " << name << " but of wrong type " << typeid(child).name() << ", expecting " << typeid(T).name() << llendl;
488 } 490 }
489 if (create_if_missing) 491 if (create_if_missing)
490 { 492 {
@@ -495,6 +497,11 @@ public:
495 return result; 497 return result;
496 } 498 }
497 499
500 template <class T> T& getChildRef(const std::string& name, BOOL recurse = TRUE) const
501 {
502 return *getChild<T>(name, recurse, TRUE);
503 }
504
498 virtual LLView* getChildView(const std::string& name, BOOL recurse = TRUE, BOOL create_if_missing = TRUE) const; 505 virtual LLView* getChildView(const std::string& name, BOOL recurse = TRUE, BOOL create_if_missing = TRUE) const;
499 506
500 template <class T> T* createDummyWidget(const std::string& name) const 507 template <class T> T* createDummyWidget(const std::string& name) const
@@ -649,6 +656,8 @@ private:
649 mutable dummy_widget_map_t mDummyWidgets; 656 mutable dummy_widget_map_t mDummyWidgets;
650 657
651 boost::signals::connection mControlConnection; 658 boost::signals::connection mControlConnection;
659
660 ECursorType mHoverCursor;
652 661
653public: 662public:
654 static BOOL sDebugRects; // Draw debug rects behind everything. 663 static BOOL sDebugRects; // Draw debug rects behind everything.