anatomist  5.1.2
3D neuroimaging data viewer
anatomist::Control::MouseButtonMapKey Struct Reference

#include <anatomist/controler/control.h>

Public Member Functions

 MouseButtonMapKey (int b, int s)
 
bool operator== (const MouseButtonMapKey &k) const
 

Public Attributes

int button
 
int state
 

Detailed Description

Definition at line 159 of file control.h.

Constructor & Destructor Documentation

◆ MouseButtonMapKey()

anatomist::Control::MouseButtonMapKey::MouseButtonMapKey ( int  b,
int  s 
)
inline

Definition at line 161 of file control.h.

Member Function Documentation

◆ operator==()

bool anatomist::Control::MouseButtonMapKey::operator== ( const MouseButtonMapKey k) const
inline

Definition at line 164 of file control.h.

References button, and state.

Member Data Documentation

◆ button

int anatomist::Control::MouseButtonMapKey::button

Definition at line 162 of file control.h.

Referenced by anatomist::Control::LessMouseMap::operator()(), and operator==().

◆ state

int anatomist::Control::MouseButtonMapKey::state

Definition at line 163 of file control.h.

Referenced by anatomist::Control::LessMouseMap::operator()(), and operator==().


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