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 (tools::Long nDoubleClkWidth)
 
tools::Long GetDoubleClickWidth () const
 
void SetDoubleClickHeight (tools::Long nDoubleClkHeight)
 
tools::Long GetDoubleClickHeight () const
 
void SetStartDragWidth (tools::Long nDragWidth)
 
tools::Long GetStartDragWidth () const
 
void SetStartDragHeight (tools::Long nDragHeight)
 
tools::Long GetStartDragHeight () const
 
void SetButtonRepeat (sal_uLong nRepeat)
 
sal_uLong GetButtonRepeat () const
 
void SetMenuDelay (sal_uLong nDelay)
 
sal_uLong 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_uLong GetScrollRepeat ()
 
static sal_uLong GetButtonStartRepeat ()
 
static sal_uLong GetActionDelay ()
 

Private Member Functions

void CopyData ()
 

Private Attributes

std::shared_ptr< ImplMouseDatamxData
 

Detailed Description

Definition at line 85 of file settings.hxx.

Constructor & Destructor Documentation

MouseSettings::MouseSettings ( )

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

References make_shared().

Member Function Documentation

void MouseSettings::CopyData ( )
private
sal_uLong MouseSettings::GetActionDelay ( )
static

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

Referenced by MenuButton::MouseButtonDown().

sal_uLong MouseSettings::GetButtonRepeat ( ) const

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

References mxData.

sal_uLong MouseSettings::GetButtonStartRepeat ( )
static
sal_uInt16 MouseSettings::GetContextMenuClicks ( )
static

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

Referenced by ImplHandleMouseEvent().

sal_uInt16 MouseSettings::GetContextMenuCode ( )
static

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

References MOUSE_RIGHT.

Referenced by ImplHandleMouseEvent().

tools::Long MouseSettings::GetDoubleClickHeight ( ) const

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

References mxData.

Referenced by ImplHandleMouseEvent().

sal_uInt64 MouseSettings::GetDoubleClickTime ( ) const

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

References mxData.

Referenced by ImplHandleMouseEvent().

tools::Long MouseSettings::GetDoubleClickWidth ( ) const

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

References mxData.

Referenced by ImplHandleMouseEvent().

MouseFollowFlags MouseSettings::GetFollow ( ) const

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

References mxData.

sal_uLong MouseSettings::GetMenuDelay ( ) const

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

References mxData.

MouseMiddleButtonAction MouseSettings::GetMiddleButtonAction ( ) const

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

References mxData.

Referenced by ImplHandleMouseEvent(), Edit::MouseButtonUp(), and TextView::MouseButtonUp().

MouseSettingsOptions MouseSettings::GetOptions ( ) const

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

References mxData.

Referenced by ImplHandleMouseEvent(), and ImplMouseAutoPos().

sal_uLong MouseSettings::GetScrollRepeat ( )
static

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

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

sal_uInt16 MouseSettings::GetStartDragCode ( )
static

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

References MOUSE_LEFT.

Referenced by ImplHandleMouseEvent().

tools::Long MouseSettings::GetStartDragHeight ( ) const

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

References mxData.

Referenced by ImplHandleMouseEvent().

tools::Long MouseSettings::GetStartDragWidth ( ) const

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

References mxData.

Referenced by ImplHandleMouseEvent().

MouseWheelBehaviour MouseSettings::GetWheelBehavior ( ) const

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

References mxData.

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

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

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

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

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

References mxData.

void MouseSettings::SetButtonRepeat ( sal_uLong  nRepeat)

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

References CopyData(), and mxData.

void MouseSettings::SetDoubleClickHeight ( tools::Long  nDoubleClkHeight)

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

References CopyData(), and mxData.

void MouseSettings::SetDoubleClickTime ( sal_uInt64  nDoubleClkTime)

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

References CopyData(), and mxData.

void MouseSettings::SetDoubleClickWidth ( tools::Long  nDoubleClkWidth)

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

References CopyData(), and mxData.

void MouseSettings::SetFollow ( MouseFollowFlags  nFollow)

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

References CopyData(), and mxData.

void MouseSettings::SetMenuDelay ( sal_uLong  nDelay)

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

References CopyData(), and mxData.

void MouseSettings::SetMiddleButtonAction ( MouseMiddleButtonAction  nAction)

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

References CopyData(), and mxData.

void MouseSettings::SetOptions ( MouseSettingsOptions  nOptions)

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

References CopyData(), and mxData.

void MouseSettings::SetStartDragHeight ( tools::Long  nDragHeight)

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

References CopyData(), and mxData.

void MouseSettings::SetStartDragWidth ( tools::Long  nDragWidth)

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

References CopyData(), and mxData.

void MouseSettings::SetWheelBehavior ( MouseWheelBehaviour  nBehavior)

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

References CopyData(), and mxData.

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

Member Data Documentation

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

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