SUMO - Simulation of Urban MObility
GNEViewNet::KeyPressed Struct Reference

class used to group all variables related with key pressed after certain events More...

#include <GNEViewNet.h>

Collaboration diagram for GNEViewNet::KeyPressed:
Collaboration graph

Public Member Functions

bool controlKeyPressed () const
 check if CONTROL key was pressed during click More...
 
 KeyPressed ()
 constructor More...
 
bool shiftKeyPressed () const
 check if SHIFT key was pressed during click More...
 
void update (void *eventData)
 update status of KeyPressed More...
 

Private Attributes

FXEvent * myEventInfo
 information of event More...
 

Detailed Description

class used to group all variables related with key pressed after certain events

Definition at line 216 of file GNEViewNet.h.

Constructor & Destructor Documentation

◆ KeyPressed()

GNEViewNet::KeyPressed::KeyPressed ( )

constructor

Definition at line 453 of file GNEViewNet.cpp.

Member Function Documentation

◆ controlKeyPressed()

bool GNEViewNet::KeyPressed::controlKeyPressed ( ) const

◆ shiftKeyPressed()

◆ update()

Field Documentation

◆ myEventInfo

FXEvent* GNEViewNet::KeyPressed::myEventInfo
private

information of event

Definition at line 232 of file GNEViewNet.h.

Referenced by controlKeyPressed(), shiftKeyPressed(), and update().


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