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

#include <bwEvent.h>

+ Inheritance diagram for bWidgets::bwMouseButtonEvent:
+ Collaboration diagram for bWidgets::bwMouseButtonEvent:

Public Types

enum class  Button { LEFT , RIGHT , WHEEL , UNKNOWN }
 

Public Member Functions

 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
 

Public Attributes

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

Member Enumeration Documentation

◆ Button

Enumerator
LEFT 
RIGHT 
WHEEL 
UNKNOWN 

Constructor & Destructor Documentation

◆ bwMouseButtonEvent()

bWidgets::bwMouseButtonEvent::bwMouseButtonEvent ( Button  _button,
bwPoint  _location 
)

Member Data Documentation

◆ button

const Button bWidgets::bwMouseButtonEvent::button

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