Open CASCADE Technology  7.6.0
Public Member Functions | Data Fields

Aspect_ScrollDelta Struct Reference

Parameters for mouse scroll action. More...

#include <Aspect_ScrollDelta.hxx>

Public Member Functions

bool HasPoint () const
 Return true if action has point defined. More...
 
void ResetPoint ()
 Reset at point. More...
 
 Aspect_ScrollDelta ()
 Empty constructor. More...
 
 Aspect_ScrollDelta (const NCollection_Vec2< int > &thePnt, Standard_Real theValue, Aspect_VKeyFlags theFlags=Aspect_VKeyFlags_NONE)
 Constructor. More...
 
 Aspect_ScrollDelta (Standard_Real theValue, Aspect_VKeyFlags theFlags=Aspect_VKeyFlags_NONE)
 Constructor with undefined point. More...
 

Data Fields

NCollection_Vec2< int > Point
 scale position More...
 
Standard_Real Delta
 delta in pixels More...
 
Aspect_VKeyFlags Flags
 key flags More...
 

Detailed Description

Parameters for mouse scroll action.

Constructor & Destructor Documentation

◆ Aspect_ScrollDelta() [1/3]

Aspect_ScrollDelta::Aspect_ScrollDelta ( )
inline

Empty constructor.

◆ Aspect_ScrollDelta() [2/3]

Aspect_ScrollDelta::Aspect_ScrollDelta ( const NCollection_Vec2< int > &  thePnt,
Standard_Real  theValue,
Aspect_VKeyFlags  theFlags = Aspect_VKeyFlags_NONE 
)
inline

Constructor.

◆ Aspect_ScrollDelta() [3/3]

Aspect_ScrollDelta::Aspect_ScrollDelta ( Standard_Real  theValue,
Aspect_VKeyFlags  theFlags = Aspect_VKeyFlags_NONE 
)
inline

Constructor with undefined point.

Member Function Documentation

◆ HasPoint()

bool Aspect_ScrollDelta::HasPoint ( ) const
inline

Return true if action has point defined.

◆ ResetPoint()

void Aspect_ScrollDelta::ResetPoint ( )
inline

Reset at point.

Field Documentation

◆ Delta

Standard_Real Aspect_ScrollDelta::Delta

delta in pixels

◆ Flags

Aspect_VKeyFlags Aspect_ScrollDelta::Flags

key flags

◆ Point

NCollection_Vec2<int> Aspect_ScrollDelta::Point

scale position


The documentation for this struct was generated from the following file: