diff options
author | Armin Weatherwax | 2010-06-14 12:04:49 +0200 |
---|---|---|
committer | Armin Weatherwax | 2010-09-23 15:38:25 +0200 |
commit | 35df5441d3e2789663532c948731aff3a1e04728 (patch) | |
tree | ac7674289784a5f96106ea507637055a8dada78a /linden/indra/llui/llview.h | |
parent | Changed version to Experimental 2010.09.18 (diff) | |
download | meta-impy-35df5441d3e2789663532c948731aff3a1e04728.zip meta-impy-35df5441d3e2789663532c948731aff3a1e04728.tar.gz meta-impy-35df5441d3e2789663532c948731aff3a1e04728.tar.bz2 meta-impy-35df5441d3e2789663532c948731aff3a1e04728.tar.xz |
llmediaplugins first step
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llview.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/linden/indra/llui/llview.h b/linden/indra/llui/llview.h index 7e09dfa..1c8ab31 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 | { |