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 (long nWheelDelta, long nWheelNotchDelta, double nScrollLines, CommandWheelMode nWheelMode, sal_uInt16 nKeyModifier, bool bHorz, bool bDeltaIsPixel=false)
 
long GetDelta () const
 
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

long mnDelta
 
long mnNotchDelta
 
double mnLines
 
CommandWheelMode mnWheelMode
 
sal_uInt16 mnCode
 
bool mbHorz
 
bool mbDeltaIsPixel
 

Detailed Description

Definition at line 137 of file commandevent.hxx.

Constructor & Destructor Documentation

CommandWheelData::CommandWheelData ( )

Definition at line 58 of file commandevent.cxx.

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

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

Definition at line 69 of file commandevent.cxx.

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

Member Function Documentation

long CommandWheelData::GetDelta ( ) const
inline
CommandWheelMode CommandWheelData::GetMode ( ) const
inline
sal_uInt16 CommandWheelData::GetModifier ( ) const
inline
long CommandWheelData::GetNotchDelta ( ) const
inline
double CommandWheelData::GetScrollLines ( ) const
inline
bool CommandWheelData::IsDeltaPixel ( ) const
inline

Definition at line 159 of file commandevent.hxx.

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

bool CommandWheelData::IsHorz ( ) const
inline
bool CommandWheelData::IsMod1 ( ) const
inline

Definition at line 167 of file commandevent.hxx.

References KEY_MOD1.

bool CommandWheelData::IsMod2 ( ) const
inline

Definition at line 169 of file commandevent.hxx.

References KEY_MOD2.

bool CommandWheelData::IsShift ( ) const
inline

Definition at line 165 of file commandevent.hxx.

References KEY_SHIFT.

Member Data Documentation

bool CommandWheelData::mbDeltaIsPixel
private

Definition at line 146 of file commandevent.hxx.

Referenced by CommandWheelData().

bool CommandWheelData::mbHorz
private

Definition at line 145 of file commandevent.hxx.

Referenced by CommandWheelData().

sal_uInt16 CommandWheelData::mnCode
private

Definition at line 144 of file commandevent.hxx.

Referenced by CommandWheelData().

long CommandWheelData::mnDelta
private

Definition at line 140 of file commandevent.hxx.

Referenced by CommandWheelData().

double CommandWheelData::mnLines
private

Definition at line 142 of file commandevent.hxx.

Referenced by CommandWheelData().

long CommandWheelData::mnNotchDelta
private

Definition at line 141 of file commandevent.hxx.

Referenced by CommandWheelData().

CommandWheelMode CommandWheelData::mnWheelMode
private

Definition at line 143 of file commandevent.hxx.

Referenced by CommandWheelData().


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