LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
MouseSettings Class Reference

#include <settings.hxx>

Public Member Functions

 MouseSettings ()
 
void SetOptions (MouseSettingsOptions nOptions)
 
MouseSettingsOptions GetOptions () const
 
void SetDoubleClickTime (sal_uInt64 nDoubleClkTime)
 
sal_uInt64 GetDoubleClickTime () const
 
void SetDoubleClickWidth (sal_Int32 nDoubleClkWidth)
 
sal_Int32 GetDoubleClickWidth () const
 
void SetDoubleClickHeight (sal_Int32 nDoubleClkHeight)
 
sal_Int32 GetDoubleClickHeight () const
 
void SetStartDragWidth (sal_Int32 nDragWidth)
 
sal_Int32 GetStartDragWidth () const
 
void SetStartDragHeight (sal_Int32 nDragHeight)
 
sal_Int32 GetStartDragHeight () const
 
void SetButtonRepeat (sal_Int32 nRepeat)
 
sal_Int32 GetButtonRepeat () const
 
void SetMenuDelay (sal_Int32 nDelay)
 
sal_Int32 GetMenuDelay () const
 
void SetFollow (MouseFollowFlags nFollow)
 
MouseFollowFlags GetFollow () const
 
void SetMiddleButtonAction (MouseMiddleButtonAction nAction)
 
MouseMiddleButtonAction GetMiddleButtonAction () const
 
void SetWheelBehavior (MouseWheelBehaviour nBehavior)
 
MouseWheelBehaviour GetWheelBehavior () const
 
bool operator== (const MouseSettings &rSet) const
 
bool operator!= (const MouseSettings &rSet) const
 

Static Public Member Functions

static sal_uInt16 GetStartDragCode ()
 
static sal_uInt16 GetContextMenuCode ()
 
static sal_uInt16 GetContextMenuClicks ()
 
static sal_Int32 GetScrollRepeat ()
 
static sal_Int32 GetButtonStartRepeat ()
 
static sal_Int32 GetActionDelay ()
 

Private Member Functions

void CopyData ()
 

Private Attributes

std::shared_ptr< ImplMouseDatamxData
 

Detailed Description

Definition at line 82 of file settings.hxx.

Constructor & Destructor Documentation

◆ MouseSettings()

MouseSettings::MouseSettings ( )

Definition at line 437 of file app/settings.cxx.

References make_shared().

Member Function Documentation

◆ CopyData()

void MouseSettings::CopyData ( )
private

◆ GetActionDelay()

sal_Int32 MouseSettings::GetActionDelay ( )
static

Definition at line 374 of file app/settings.cxx.

Referenced by MenuButton::MouseButtonDown().

◆ GetButtonRepeat()

sal_Int32 MouseSettings::GetButtonRepeat ( ) const

Definition at line 368 of file app/settings.cxx.

References mxData.

◆ GetButtonStartRepeat()

sal_Int32 MouseSettings::GetButtonStartRepeat ( )
static

◆ GetContextMenuClicks()

sal_uInt16 MouseSettings::GetContextMenuClicks ( )
static

Definition at line 343 of file app/settings.cxx.

Referenced by ImplHandleMouseEvent(), and ImplLOKHandleMouseEvent().

◆ GetContextMenuCode()

sal_uInt16 MouseSettings::GetContextMenuCode ( )
static

Definition at line 337 of file app/settings.cxx.

References MOUSE_RIGHT.

Referenced by ImplHandleMouseEvent(), and ImplLOKHandleMouseEvent().

◆ GetDoubleClickHeight()

sal_Int32 MouseSettings::GetDoubleClickHeight ( ) const

Definition at line 299 of file app/settings.cxx.

References mxData.

Referenced by ImplHandleMouseEvent().

◆ GetDoubleClickTime()

sal_uInt64 MouseSettings::GetDoubleClickTime ( ) const

Definition at line 273 of file app/settings.cxx.

References mxData.

Referenced by ImplHandleMouseEvent().

◆ GetDoubleClickWidth()

sal_Int32 MouseSettings::GetDoubleClickWidth ( ) const

Definition at line 286 of file app/settings.cxx.

References mxData.

Referenced by ImplHandleMouseEvent().

◆ GetFollow()

MouseFollowFlags MouseSettings::GetFollow ( ) const

Definition at line 400 of file app/settings.cxx.

References mxData.

◆ GetMenuDelay()

sal_Int32 MouseSettings::GetMenuDelay ( ) const

Definition at line 387 of file app/settings.cxx.

References mxData.

◆ GetMiddleButtonAction()

MouseMiddleButtonAction MouseSettings::GetMiddleButtonAction ( ) const

Definition at line 413 of file app/settings.cxx.

References mxData.

Referenced by ImplHandleMouseEvent().

◆ GetOptions()

MouseSettingsOptions MouseSettings::GetOptions ( ) const

Definition at line 260 of file app/settings.cxx.

References mxData.

Referenced by ImplMouseAutoPos().

◆ GetScrollRepeat()

sal_Int32 MouseSettings::GetScrollRepeat ( )
static

Definition at line 349 of file app/settings.cxx.

Referenced by vcl::Window::StartTracking().

◆ GetStartDragCode()

sal_uInt16 MouseSettings::GetStartDragCode ( )
static

Definition at line 331 of file app/settings.cxx.

References MOUSE_LEFT.

Referenced by ImplHandleMouseEvent(), and ImplLOKHandleMouseEvent().

◆ GetStartDragHeight()

sal_Int32 MouseSettings::GetStartDragHeight ( ) const

Definition at line 325 of file app/settings.cxx.

References mxData.

Referenced by ImplHandleMouseEvent(), and ImplLOKHandleMouseEvent().

◆ GetStartDragWidth()

sal_Int32 MouseSettings::GetStartDragWidth ( ) const

Definition at line 312 of file app/settings.cxx.

References mxData.

Referenced by ImplHandleMouseEvent(), and ImplLOKHandleMouseEvent().

◆ GetWheelBehavior()

MouseWheelBehaviour MouseSettings::GetWheelBehavior ( ) const

Definition at line 426 of file app/settings.cxx.

References mxData.

Referenced by vcl::Window::UpdateSettings().

◆ operator!=()

bool MouseSettings::operator!= ( const MouseSettings rSet) const

Definition at line 432 of file app/settings.cxx.

References rSet.

◆ operator==()

bool MouseSettings::operator== ( const MouseSettings rSet) const

Definition at line 451 of file app/settings.cxx.

References mxData, and rSet.

◆ SetButtonRepeat()

void MouseSettings::SetButtonRepeat ( sal_Int32  nRepeat)

Definition at line 361 of file app/settings.cxx.

References CopyData(), and mxData.

◆ SetDoubleClickHeight()

void MouseSettings::SetDoubleClickHeight ( sal_Int32  nDoubleClkHeight)

Definition at line 292 of file app/settings.cxx.

References CopyData(), and mxData.

◆ SetDoubleClickTime()

void MouseSettings::SetDoubleClickTime ( sal_uInt64  nDoubleClkTime)

Definition at line 266 of file app/settings.cxx.

References CopyData(), and mxData.

◆ SetDoubleClickWidth()

void MouseSettings::SetDoubleClickWidth ( sal_Int32  nDoubleClkWidth)

Definition at line 279 of file app/settings.cxx.

References CopyData(), and mxData.

◆ SetFollow()

void MouseSettings::SetFollow ( MouseFollowFlags  nFollow)

Definition at line 393 of file app/settings.cxx.

References CopyData(), and mxData.

◆ SetMenuDelay()

void MouseSettings::SetMenuDelay ( sal_Int32  nDelay)

Definition at line 380 of file app/settings.cxx.

References CopyData(), and mxData.

◆ SetMiddleButtonAction()

void MouseSettings::SetMiddleButtonAction ( MouseMiddleButtonAction  nAction)

Definition at line 406 of file app/settings.cxx.

References CopyData(), and mxData.

◆ SetOptions()

void MouseSettings::SetOptions ( MouseSettingsOptions  nOptions)

Definition at line 253 of file app/settings.cxx.

References CopyData(), and mxData.

◆ SetStartDragHeight()

void MouseSettings::SetStartDragHeight ( sal_Int32  nDragHeight)

Definition at line 318 of file app/settings.cxx.

References CopyData(), and mxData.

◆ SetStartDragWidth()

void MouseSettings::SetStartDragWidth ( sal_Int32  nDragWidth)

Definition at line 305 of file app/settings.cxx.

References CopyData(), and mxData.

◆ SetWheelBehavior()

void MouseSettings::SetWheelBehavior ( MouseWheelBehaviour  nBehavior)

Definition at line 419 of file app/settings.cxx.

References CopyData(), and mxData.

Referenced by vcl::Window::UpdateSettings().

Member Data Documentation

◆ mxData

std::shared_ptr<ImplMouseData> MouseSettings::mxData
private

The documentation for this class was generated from the following files: