bWidgets
Core widget toolkit designed for Blender
bWidgets::bwMouseWheelEvent Class Reference

#include <bwEvent.h>

+ Inheritance diagram for bWidgets::bwMouseWheelEvent:
+ Collaboration diagram for bWidgets::bwMouseWheelEvent:

Public Types

enum class  Direction { UP , DOWN }
 
- Public Types inherited from bWidgets::bwMouseButtonEvent
enum class  Button { LEFT , RIGHT , WHEEL , UNKNOWN }
 

Public Member Functions

 bwMouseWheelEvent (Direction _direction, bwPoint _location)
 
auto getDirection () const -> Direction
 
- Public Member Functions inherited from bWidgets::bwMouseButtonEvent
 bwMouseButtonEvent (Button _button, bwPoint _location)
 
- Public Member Functions inherited from bWidgets::bwEvent
 bwEvent (bwPoint _location)
 
virtual ~bwEvent ()=default
 
void swallow ()
 
void unswallow ()
 
auto isSwallowed () const -> bool
 

Additional Inherited Members

- Public Attributes inherited from bWidgets::bwMouseButtonEvent
const Button button
 
- Public Attributes inherited from bWidgets::bwEvent
const bwPoint location
 

Member Enumeration Documentation

◆ Direction

Enumerator
UP 
DOWN 

Constructor & Destructor Documentation

◆ bwMouseWheelEvent()

bWidgets::bwMouseWheelEvent::bwMouseWheelEvent ( Direction  _direction,
bwPoint  _location 
)

Member Function Documentation

◆ getDirection()

auto bWidgets::bwMouseWheelEvent::getDirection ( ) const -> Direction

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