diff options
Diffstat (limited to 'linden/indra/llui/llscrolllistctrl.h')
-rw-r--r-- | linden/indra/llui/llscrolllistctrl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/llui/llscrolllistctrl.h b/linden/indra/llui/llscrolllistctrl.h index e875d7a..4be7ff7 100644 --- a/linden/indra/llui/llscrolllistctrl.h +++ b/linden/indra/llui/llscrolllistctrl.h | |||
@@ -241,6 +241,7 @@ public: | |||
241 | 241 | ||
242 | /*virtual*/ void draw(); | 242 | /*virtual*/ void draw(); |
243 | /*virtual*/ BOOL handleDoubleClick(S32 x, S32 y, MASK mask); | 243 | /*virtual*/ BOOL handleDoubleClick(S32 x, S32 y, MASK mask); |
244 | /*virtual*/ BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); | ||
244 | 245 | ||
245 | /*virtual*/ void showList(); | 246 | /*virtual*/ void showList(); |
246 | /*virtual*/ LLView* findSnapEdge(S32& new_edge_val, const LLCoordGL& mouse_dir, ESnapEdge snap_edge, ESnapType snap_type, S32 threshold, S32 padding); | 247 | /*virtual*/ LLView* findSnapEdge(S32& new_edge_val, const LLCoordGL& mouse_dir, ESnapEdge snap_edge, ESnapType snap_type, S32 threshold, S32 padding); |
@@ -431,6 +432,7 @@ public: | |||
431 | 432 | ||
432 | void highlightNthItem( S32 index ); | 433 | void highlightNthItem( S32 index ); |
433 | void setDoubleClickCallback( void (*cb)(void*) ) { mOnDoubleClickCallback = cb; } | 434 | void setDoubleClickCallback( void (*cb)(void*) ) { mOnDoubleClickCallback = cb; } |
435 | void setRightMouseDownCallback( void (*cb)(S32 x, S32 y, void*) ) { mOnRightMouseDownCallback = cb; } | ||
434 | void setMaximumSelectCallback( void (*cb)(void*) ) { mOnMaximumSelectCallback = cb; } | 436 | void setMaximumSelectCallback( void (*cb)(void*) ) { mOnMaximumSelectCallback = cb; } |
435 | void setSortChangedCallback( void (*cb)(void*) ) { mOnSortChangedCallback = cb; } | 437 | void setSortChangedCallback( void (*cb)(void*) ) { mOnSortChangedCallback = cb; } |
436 | 438 | ||
@@ -517,6 +519,7 @@ public: | |||
517 | /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask); | 519 | /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask); |
518 | /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask); | 520 | /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask); |
519 | /*virtual*/ BOOL handleDoubleClick(S32 x, S32 y, MASK mask); | 521 | /*virtual*/ BOOL handleDoubleClick(S32 x, S32 y, MASK mask); |
522 | /*virtual*/ BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); | ||
520 | /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); | 523 | /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); |
521 | /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask); | 524 | /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask); |
522 | /*virtual*/ BOOL handleUnicodeCharHere(llwchar uni_char); | 525 | /*virtual*/ BOOL handleUnicodeCharHere(llwchar uni_char); |
@@ -660,6 +663,7 @@ private: | |||
660 | 663 | ||
661 | S32 mBorderThickness; | 664 | S32 mBorderThickness; |
662 | void (*mOnDoubleClickCallback)(void* userdata); | 665 | void (*mOnDoubleClickCallback)(void* userdata); |
666 | void (*mOnRightMouseDownCallback)(S32 x, S32 y, void* userdata); | ||
663 | void (*mOnMaximumSelectCallback)(void* userdata ); | 667 | void (*mOnMaximumSelectCallback)(void* userdata ); |
664 | void (*mOnSortChangedCallback)(void* userdata); | 668 | void (*mOnSortChangedCallback)(void* userdata); |
665 | 669 | ||