summaryrefslogtreecommitdiff
path: root/indra/llui/llview.h
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2009-12-07 12:04:27 +0200
committerYuri Chebotarev <ychebotarev@productengine.com>2009-12-07 12:04:27 +0200
commitc6177836ecbe95f75d79f572303a879bf37b3226 (patch)
tree3ed5664215c29590078c98a6983431c3be9bf1ae /indra/llui/llview.h
parent67ff38b51b59766ff7bc0af1e541b54ac067ea70 (diff)
no ticket, minor refactoring.
add return value to notifyXXX functions, may be usefull --HG-- branch : product-engine
Diffstat (limited to 'indra/llui/llview.h')
-rw-r--r--indra/llui/llview.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/indra/llui/llview.h b/indra/llui/llview.h
index c611e4c85f..f8460f5361 100644
--- a/indra/llui/llview.h
+++ b/indra/llui/llview.h
@@ -511,10 +511,15 @@ public:
virtual void handleReshape(const LLRect& rect, bool by_user);
virtual void dirtyRect();
- virtual void notifyParent(const LLSD& info);
- virtual void notifyChildren(const LLSD& info);
+ //send custom notification to LLView parent
+ virtual S32 notifyParent(const LLSD& info);
- virtual void notify(const LLSD& info) {};
+ //send custom notification to all view childrend
+ // return true if _any_ children return true. otherwise false.
+ virtual bool notifyChildren(const LLSD& info);
+
+ //send custom notification to current view
+ virtual S32 notify(const LLSD& info) { return 0;};
static const LLViewDrawContext& getDrawContext();