LLMouseHandler Class Reference

#include <llmousehandler.h>

Inheritance diagram for LLMouseHandler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 LLMouseHandler ()
virtual ~LLMouseHandler ()
virtual BOOL handleMouseDown (S32 x, S32 y, MASK mask)=0
virtual BOOL handleMouseUp (S32 x, S32 y, MASK mask)=0
virtual BOOL handleHover (S32 x, S32 y, MASK mask)=0
virtual BOOL handleScrollWheel (S32 x, S32 y, S32 clicks)=0
virtual BOOL handleDoubleClick (S32 x, S32 y, MASK mask)=0
virtual BOOL handleRightMouseDown (S32 x, S32 y, MASK mask)=0
virtual BOOL handleRightMouseUp (S32 x, S32 y, MASK mask)=0
virtual BOOL handleToolTip (S32 x, S32 y, LLString &msg, LLRect *sticky_rect_screen)=0
virtual const LLStringgetName () const =0
virtual void onMouseCaptureLost ()=0
virtual BOOL isView ()=0
virtual void screenPointToLocal (S32 screen_x, S32 screen_y, S32 *local_x, S32 *local_y) const =0
virtual void localPointToScreen (S32 local_x, S32 local_y, S32 *screen_x, S32 *screen_y) const =0
virtual BOOL hasMouseCapture ()=0

Detailed Description

Definition at line 41 of file llmousehandler.h.


Constructor & Destructor Documentation

LLMouseHandler::LLMouseHandler (  )  [inline]

Definition at line 44 of file llmousehandler.h.

virtual LLMouseHandler::~LLMouseHandler (  )  [inline, virtual]

Definition at line 45 of file llmousehandler.h.


Member Function Documentation

virtual const LLString& LLMouseHandler::getName (  )  const [pure virtual]

Implemented in LLView, LLFolderViewItem, LLPreviewLandmark, and LLTool.

Referenced by LLViewerWindow::handleDoubleClick(), LLViewerWindow::handleMouseDown(), LLViewerWindow::handleMouseUp(), LLViewerWindow::handlePerFrameHover(), LLViewerWindow::handleRightMouseDown(), LLViewerWindow::handleRightMouseUp(), LLViewerWindow::handleScrollWheel(), and LLFocusMgr::setMouseCapture().

virtual BOOL LLMouseHandler::handleDoubleClick ( S32  x,
S32  y,
MASK  mask 
) [pure virtual]

Implemented in LLFloater, LLLineEditor, LLModalDialog, LLColumnHeader, LLScrollListCtrl, LLTextEditor, LLView, LLColorSwatchCtrl, LLFolderViewItem, LLFolderViewFolder, LLFolderView, LLNetMap, LLTool, LLToolComposite, LLToolCompInspect, LLToolCompTranslate, LLToolCompScale, LLToolCompRotate, LLToolCompCreate, LLToolCompGun, LLToolFace, LLToolGrab, LLToolIndividual, LLToolPie, LLToolSelect, LLToolSelectLand, LLViewerTextEditor, and LLWorldMapView.

Referenced by LLViewerWindow::handleDoubleClick().

virtual BOOL LLMouseHandler::handleHover ( S32  x,
S32  y,
MASK  mask 
) [pure virtual]

Implemented in LLButton, LLDragHandle, LLLineEditor, LLMenuItemSeparatorGL, LLMenuItemGL, LLMenuGL, LLPieMenu, LLMenuBarGL, LLModalDialog, LLResizeBar, LLResizeHandle, LLScrollbar, LLScrollListCtrl, LLSlider, LLTabContainer, LLTabContainerVertical, LLTextEditor, LLView, LLColorSwatchCtrl, LLFastTimerView, LLFloaterAnimPreview, LLFloaterColorPicker, LLFloaterImagePreview, LLSnapshotFloaterView, LLFloaterWorldMap, LLFolderViewItem, LLFolderViewFolder, LLFolderView, LLFrameStatView, LLInventoryPanel, LLJoystick, LLManip, LLManipRotate, LLManipScale, LLManipTranslate, LLMemoryView, LLPreview, LLProgressView, LLToolTexEyedropper, LLTextureCtrl, LLTool, LLToolBrushLand, LLToolComposite, LLToolCompTranslate, LLToolCompScale, LLToolCompRotate, LLToolCompGun, LLToolDragAndDrop, LLToolCamera, LLToolGrab, LLToolGun, LLToolObjPicker, LLToolPie, LLToolPipette, LLToolPlacer, LLToolSelectLand, LLToolSelectRect, LLViewerTextEditor, and LLWorldMapView.

Referenced by LLViewerWindow::handlePerFrameHover().

virtual BOOL LLMouseHandler::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [pure virtual]

Implemented in LLButton, LLDragHandle, LLFloater, LLLineEditor, LLMenuItemSeparatorGL, LLMenuItemVerticalSeparatorGL, LLMenuItemBranchDownGL, LLMenuItemGL, LLPieMenu, LLMenuHolderGL, LLModalDialog, LLResizeBar, LLResizeHandle, LLScrollbar, LLScrollListCtrl, LLSlider, LLTabContainer, LLTabContainerVertical, LLTextBox, LLTextEditor, LLView, LLColorSwatchCtrl, LLContainerView, LLFastTimerView, LLFloaterAnimPreview, LLFloaterColorPicker, LLFloaterImagePreview, LLFloaterImport, LLSnapshotFloaterView, LLFolderViewItem, LLFolderViewFolder, LLFolderView, LLFrameStatView, LLHUDView, LLJoystick, LLJoystickCameraRotate, LLJoystickCameraZoom, LLManipRotate, LLManipScale, LLManipTranslate, LLMemoryView, LLPreview, LLStatBar, LLToolTexEyedropper, LLTextureCtrl, LLTextureBar, LLGLTexMemBar, LLTextureView, LLTool, LLToolBrushLand, LLToolComposite, LLToolCompInspect, LLToolCompTranslate, LLToolCompScale, LLToolCompRotate, LLToolCompCreate, LLToolCompGun, LLToolFace, LLToolCamera, LLToolGrab, LLToolGun, LLToolIndividual, LLToolObjPicker, LLToolPie, LLToolPipette, LLToolSelect, LLToolSelectLand, LLToolSelectRect, LLViewerTextEditor, and LLWorldMapView.

Referenced by LLViewerWindow::handleMouseDown().

virtual BOOL LLMouseHandler::handleMouseUp ( S32  x,
S32  y,
MASK  mask 
) [pure virtual]

Implemented in LLButton, LLDragHandle, LLLineEditor, LLMenuItemSeparatorGL, LLMenuItemBranchDownGL, LLMenuItemGL, LLMenuItemBranchGL, LLPieMenu, LLModalDialog, LLResizeBar, LLResizeHandle, LLScrollbar, LLScrollListCtrl, LLSlider, LLTabContainer, LLTabContainerVertical, LLTextBox, LLTextEditor, LLView, LLColorSwatchCtrl, LLContainerView, LLFastTimerView, LLFloaterAnimPreview, LLFloaterColorPicker, LLFloaterImagePreview, LLSnapshotFloaterView, LLFolderViewItem, LLFrameStatView, LLJoystick, LLManip, LLManipRotate, LLManipScale, LLManipTranslate, LLMemoryView, LLNotifyBox, LLPreview, LLTextureView, LLTool, LLToolBrushLand, LLToolComposite, LLToolCompTranslate, LLToolCompScale, LLToolCompRotate, LLToolCompCreate, LLToolCompGun, LLToolDragAndDrop, LLToolCamera, LLToolGrab, LLToolObjPicker, LLToolPie, LLToolPipette, LLToolSelect, LLToolSelectLand, LLToolSelectRect, LLViewerTextEditor, and LLWorldMapView.

Referenced by LLViewerWindow::handleMouseUp().

virtual BOOL LLMouseHandler::handleRightMouseDown ( S32  x,
S32  y,
MASK  mask 
) [pure virtual]

Implemented in LLFloater, LLPieMenu, LLMenuHolderGL, LLModalDialog, LLView, LLFastTimerView, LLFolderViewItem, LLFolderViewFolder, LLFolderView, LLGroupNotifyBox, LLNetMap, LLNotifyBox, LLTool, LLToolComposite, LLToolCompGun, LLToolPie, and LLViewerTextEditor.

Referenced by LLViewerWindow::handleRightMouseDown().

virtual BOOL LLMouseHandler::handleRightMouseUp ( S32  x,
S32  y,
MASK  mask 
) [pure virtual]

Implemented in LLPieMenu, LLView, LLTool, and LLToolPie.

Referenced by LLViewerWindow::handleRightMouseUp().

virtual BOOL LLMouseHandler::handleScrollWheel ( S32  x,
S32  y,
S32  clicks 
) [pure virtual]

Implemented in LLModalDialog, LLScrollbar, LLScrollableContainerView, LLScrollListCtrl, LLSpinCtrl, LLTextEditor, LLView, LLFastTimerView, LLFloaterAnimPreview, LLFloaterImagePreview, LLFloaterWorldMap, LLFolderViewItem, LLFolderView, LLNetMap, LLTool, LLToolComposite, and LLToolCompGun.

Referenced by LLViewerWindow::handleScrollWheel().

virtual BOOL LLMouseHandler::handleToolTip ( S32  x,
S32  y,
LLString msg,
LLRect sticky_rect_screen 
) [pure virtual]

Implemented in LLComboBox, LLScrollableContainerView, LLTabContainer, LLTextEditor, LLView, LLNetMap, LLTool, LLToolDragAndDrop, LLToolPipette, LLViewerTextEditor, and LLWorldMapView.

virtual BOOL LLMouseHandler::hasMouseCapture (  )  [pure virtual]

Implemented in LLView, and LLTool.

virtual BOOL LLMouseHandler::isView (  )  [pure virtual]

Implemented in LLView, and LLTool.

Referenced by LLFocusMgr::childHasMouseCapture(), LLButton::handleHover(), and LLViewerWindow::handlePerFrameHover().

virtual void LLMouseHandler::localPointToScreen ( S32  local_x,
S32  local_y,
S32 screen_x,
S32 screen_y 
) const [pure virtual]

Implemented in LLView, LLTool, and LLToolComposite.

virtual void LLMouseHandler::onMouseCaptureLost (  )  [pure virtual]

Implemented in LLButton, LLLineEditor, LLTextEditor, LLView, LLFloaterAnimPreview, LLFloaterColorPicker, LLTool, LLToolBrushLand, LLToolComposite, LLToolCompGun, LLToolDragAndDrop, LLToolCamera, LLToolGrab, LLToolObjPicker, LLToolPie, and LLToolSelect.

Referenced by LLFocusMgr::setMouseCapture().

virtual void LLMouseHandler::screenPointToLocal ( S32  screen_x,
S32  screen_y,
S32 local_x,
S32 local_y 
) const [pure virtual]

Implemented in LLView, LLTool, and LLToolComposite.

Referenced by LLViewerWindow::handleDoubleClick(), LLViewerWindow::handleMouseDown(), LLViewerWindow::handleMouseUp(), LLViewerWindow::handlePerFrameHover(), LLViewerWindow::handleRightMouseDown(), LLViewerWindow::handleRightMouseUp(), and LLViewerWindow::handleScrollWheel().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:32 2010 for Second Life Viewer by  doxygen 1.4.7