diff options
author | Jacek Antonelli | 2011-05-08 15:13:37 -0500 |
---|---|---|
committer | Jacek Antonelli | 2011-05-08 15:50:49 -0500 |
commit | 7278f0254a3944bd2bcbf1e855fb0d90c3086a27 (patch) | |
tree | 5d7ecb81ebf1a07482f0a7d3d13acd7f18360c0b /linden/indra/llui/llview.h | |
parent | Imprudence 1.3.1 released. (diff) | |
parent | Changed version to Experimental 2011.04.19 (diff) | |
download | meta-impy-7278f0254a3944bd2bcbf1e855fb0d90c3086a27.zip meta-impy-7278f0254a3944bd2bcbf1e855fb0d90c3086a27.tar.gz meta-impy-7278f0254a3944bd2bcbf1e855fb0d90c3086a27.tar.bz2 meta-impy-7278f0254a3944bd2bcbf1e855fb0d90c3086a27.tar.xz |
Merged Experimental branch (exp) back into main line (next).
Git thought many files (almost 100) had merge conflicts. But, after
resolving the conflicts (which were mostly trivial), almost all the
files turned out to be the same as in the exp branch. So, the
conflicts are not listed here. Check the diff between commit 244ffe8
and this commit to see what really changed.
Diffstat (limited to 'linden/indra/llui/llview.h')
-rw-r--r-- | linden/indra/llui/llview.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/linden/indra/llui/llview.h b/linden/indra/llui/llview.h index 7e09dfa..9243f4f 100644 --- a/linden/indra/llui/llview.h +++ b/linden/indra/llui/llview.h | |||
@@ -53,6 +53,7 @@ | |||
53 | #include "stdenums.h" | 53 | #include "stdenums.h" |
54 | #include "lluistring.h" | 54 | #include "lluistring.h" |
55 | #include "llcursortypes.h" | 55 | #include "llcursortypes.h" |
56 | #include "llfocusmgr.h" | ||
56 | 57 | ||
57 | const U32 FOLLOWS_NONE = 0x00; | 58 | const U32 FOLLOWS_NONE = 0x00; |
58 | const U32 FOLLOWS_LEFT = 0x01; | 59 | const U32 FOLLOWS_LEFT = 0x01; |
@@ -207,7 +208,7 @@ public: | |||
207 | } | 208 | } |
208 | }; | 209 | }; |
209 | 210 | ||
210 | class LLView : public LLMouseHandler, public LLMortician | 211 | class LLView : public LLMouseHandler, public LLMortician, public LLFocusableElement |
211 | { | 212 | { |
212 | 213 | ||
213 | public: | 214 | public: |
@@ -398,9 +399,11 @@ public: | |||
398 | virtual BOOL canSnapTo(const LLView* other_view); | 399 | virtual BOOL canSnapTo(const LLView* other_view); |
399 | 400 | ||
400 | virtual void snappedTo(const LLView* snap_view); | 401 | virtual void snappedTo(const LLView* snap_view); |
402 | |||
403 | // inherited from LLFocusableElement | ||
404 | /* virtual */ BOOL handleKey(KEY key, MASK mask, BOOL called_from_parent); | ||
405 | /* virtual */ BOOL handleUnicodeChar(llwchar uni_char, BOOL called_from_parent); | ||
401 | 406 | ||
402 | virtual BOOL handleKey(KEY key, MASK mask, BOOL called_from_parent); | ||
403 | virtual BOOL handleUnicodeChar(llwchar uni_char, BOOL called_from_parent); | ||
404 | virtual BOOL handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop, | 407 | virtual BOOL handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop, |
405 | EDragAndDropType cargo_type, | 408 | EDragAndDropType cargo_type, |
406 | void* cargo_data, | 409 | void* cargo_data, |
@@ -421,8 +424,9 @@ public: | |||
421 | BOOL getSaveToXML() const { return mSaveToXML; } | 424 | BOOL getSaveToXML() const { return mSaveToXML; } |
422 | void setSaveToXML(BOOL b) { mSaveToXML = b; } | 425 | void setSaveToXML(BOOL b) { mSaveToXML = b; } |
423 | 426 | ||
424 | virtual void onFocusLost(); | 427 | // inherited from LLFocusableElement |
425 | virtual void onFocusReceived(); | 428 | /* virtual */ void onFocusLost(); |
429 | /* virtual */ void onFocusReceived(); | ||
426 | 430 | ||
427 | typedef enum e_hit_test_type | 431 | typedef enum e_hit_test_type |
428 | { | 432 | { |
@@ -469,6 +473,7 @@ public: | |||
469 | /*virtual*/ BOOL handleMiddleMouseDown(S32 x, S32 y, MASK mask); | 473 | /*virtual*/ BOOL handleMiddleMouseDown(S32 x, S32 y, MASK mask); |
470 | /*virtual*/ BOOL handleDoubleClick(S32 x, S32 y, MASK mask); | 474 | /*virtual*/ BOOL handleDoubleClick(S32 x, S32 y, MASK mask); |
471 | /*virtual*/ BOOL handleScrollWheel(S32 x, S32 y, S32 clicks); | 475 | /*virtual*/ BOOL handleScrollWheel(S32 x, S32 y, S32 clicks); |
476 | /*virtual*/ BOOL handleHScrollWheel(S32 x, S32 y, S32 clicks); | ||
472 | /*virtual*/ BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); | 477 | /*virtual*/ BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); |
473 | /*virtual*/ BOOL handleRightMouseUp(S32 x, S32 y, MASK mask); | 478 | /*virtual*/ BOOL handleRightMouseUp(S32 x, S32 y, MASK mask); |
474 | /*virtual*/ BOOL handleToolTip(S32 x, S32 y, std::string& msg, LLRect* sticky_rect); // Display mToolTipMsg if no child handles it. | 479 | /*virtual*/ BOOL handleToolTip(S32 x, S32 y, std::string& msg, LLRect* sticky_rect); // Display mToolTipMsg if no child handles it. |
@@ -609,6 +614,7 @@ protected: | |||
609 | LLView* childrenHandleMiddleMouseDown(S32 x, S32 y, MASK mask); | 614 | LLView* childrenHandleMiddleMouseDown(S32 x, S32 y, MASK mask); |
610 | LLView* childrenHandleDoubleClick(S32 x, S32 y, MASK mask); | 615 | LLView* childrenHandleDoubleClick(S32 x, S32 y, MASK mask); |
611 | LLView* childrenHandleScrollWheel(S32 x, S32 y, S32 clicks); | 616 | LLView* childrenHandleScrollWheel(S32 x, S32 y, S32 clicks); |
617 | LLView* childrenHandleHScrollWheel(S32 x, S32 y, S32 clicks); | ||
612 | LLView* childrenHandleRightMouseDown(S32 x, S32 y, MASK mask); | 618 | LLView* childrenHandleRightMouseDown(S32 x, S32 y, MASK mask); |
613 | LLView* childrenHandleRightMouseUp(S32 x, S32 y, MASK mask); | 619 | LLView* childrenHandleRightMouseUp(S32 x, S32 y, MASK mask); |
614 | 620 | ||