FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
business_logic::elements::interactions::IDoubleClickable Class Referenceabstract

Interface for elements that can be double-clicked. More...

#include <IDoubleClickable.h>

+ Inheritance diagram for business_logic::elements::interactions::IDoubleClickable:
+ Collaboration diagram for business_logic::elements::interactions::IDoubleClickable:

Public Member Functions

virtual ~IDoubleClickable ()=default
 
virtual void onDoubleClick (int x, int y)=0
 Called when the element is double-clicked.
 

Detailed Description

Interface for elements that can be double-clicked.

Definition at line 9 of file IDoubleClickable.h.

Constructor & Destructor Documentation

◆ ~IDoubleClickable()

virtual business_logic::elements::interactions::IDoubleClickable::~IDoubleClickable ( )
virtualdefault

Member Function Documentation

◆ onDoubleClick()

virtual void business_logic::elements::interactions::IDoubleClickable::onDoubleClick ( int  x,
int  y 
)
pure virtual

Called when the element is double-clicked.

Parameters
xX coordinate of the 2nd double-click event
yY coordinate of the 2nd double-click event

Implemented in business_logic::elements::blocks::ConstantBlock.

Referenced by business_logic::BlocksManager::handleMouseDown().

+ Here is the caller graph for this function:

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