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

#include <commandevent.hxx>

Public Member Functions

 CommandWheelData ()
 
 CommandWheelData (tools::Long nWheelDelta, tools::Long nWheelNotchDelta, double nScrollLines, CommandWheelMode nWheelMode, sal_uInt16 nKeyModifier, bool bHorz, bool bDeltaIsPixel=false)
 
tools::Long GetDelta () const
 
tools::Long GetNotchDelta () const
 
double GetScrollLines () const
 
bool IsHorz () const
 
bool IsDeltaPixel () const
 
CommandWheelMode GetMode () const
 
sal_uInt16 GetModifier () const
 
bool IsShift () const
 
bool IsMod1 () const
 
bool IsMod2 () const
 

Private Attributes

tools::Long mnDelta
 
tools::Long mnNotchDelta
 
double mnLines
 
CommandWheelMode mnWheelMode
 
sal_uInt16 mnCode
 
bool mbHorz
 
bool mbDeltaIsPixel
 

Detailed Description

Definition at line 144 of file commandevent.hxx.

Constructor & Destructor Documentation

◆ CommandWheelData() [1/2]

CommandWheelData::CommandWheelData ( )

Definition at line 59 of file commandevent.cxx.

References mbDeltaIsPixel, mbHorz, mnCode, mnDelta, mnLines, mnNotchDelta, mnWheelMode, and NONE.

◆ CommandWheelData() [2/2]

CommandWheelData::CommandWheelData ( tools::Long  nWheelDelta,
tools::Long  nWheelNotchDelta,
double  nScrollLines,
CommandWheelMode  nWheelMode,
sal_uInt16  nKeyModifier,
bool  bHorz,
bool  bDeltaIsPixel = false 
)

Definition at line 70 of file commandevent.cxx.

References mbDeltaIsPixel, mbHorz, mnCode, mnDelta, mnLines, mnNotchDelta, and mnWheelMode.

Member Function Documentation

◆ GetDelta()

tools::Long CommandWheelData::GetDelta ( ) const
inline

Definition at line 162 of file commandevent.hxx.

Referenced by vcl::PrintDialog::PrintPreviewWindow::Command().

◆ GetMode()

CommandWheelMode CommandWheelData::GetMode ( ) const
inline

Definition at line 168 of file commandevent.hxx.

◆ GetModifier()

sal_uInt16 CommandWheelData::GetModifier ( ) const
inline

Definition at line 170 of file commandevent.hxx.

References KEY_MOD1, KEY_MOD2, and KEY_SHIFT.

◆ GetNotchDelta()

tools::Long CommandWheelData::GetNotchDelta ( ) const
inline

Definition at line 163 of file commandevent.hxx.

◆ GetScrollLines()

double CommandWheelData::GetScrollLines ( ) const
inline

Definition at line 164 of file commandevent.hxx.

◆ IsDeltaPixel()

bool CommandWheelData::IsDeltaPixel ( ) const
inline

Definition at line 166 of file commandevent.hxx.

◆ IsHorz()

bool CommandWheelData::IsHorz ( ) const
inline

Definition at line 165 of file commandevent.hxx.

◆ IsMod1()

bool CommandWheelData::IsMod1 ( ) const
inline

Definition at line 174 of file commandevent.hxx.

References KEY_MOD1.

◆ IsMod2()

bool CommandWheelData::IsMod2 ( ) const
inline

Definition at line 176 of file commandevent.hxx.

References KEY_MOD2.

◆ IsShift()

bool CommandWheelData::IsShift ( ) const
inline

Definition at line 172 of file commandevent.hxx.

References KEY_SHIFT.

Member Data Documentation

◆ mbDeltaIsPixel

bool CommandWheelData::mbDeltaIsPixel
private

Definition at line 153 of file commandevent.hxx.

Referenced by CommandWheelData().

◆ mbHorz

bool CommandWheelData::mbHorz
private

Definition at line 152 of file commandevent.hxx.

Referenced by CommandWheelData().

◆ mnCode

sal_uInt16 CommandWheelData::mnCode
private

Definition at line 151 of file commandevent.hxx.

Referenced by CommandWheelData().

◆ mnDelta

tools::Long CommandWheelData::mnDelta
private

Definition at line 147 of file commandevent.hxx.

Referenced by CommandWheelData().

◆ mnLines

double CommandWheelData::mnLines
private

Definition at line 149 of file commandevent.hxx.

Referenced by CommandWheelData().

◆ mnNotchDelta

tools::Long CommandWheelData::mnNotchDelta
private

Definition at line 148 of file commandevent.hxx.

Referenced by CommandWheelData().

◆ mnWheelMode

CommandWheelMode CommandWheelData::mnWheelMode
private

Definition at line 150 of file commandevent.hxx.

Referenced by CommandWheelData().


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