Murl::Graph::ITouchableTarget Interface Referenceabstract

The ITouchableTarget interface. More...

#include "murl_graph_i_touchable_target.h"

Inheritance diagram for Murl::Graph::ITouchableTarget:

Public Member Functions

virtual void SetPressed (const Vector &localPosition)=0
 Set the pressed state. More...
 
virtual void SetReleasedInside (const Vector &localPosition)=0
 Set the released inside state. More...
 
virtual void SetReleasedOutside (const Vector &localPosition)=0
 Set the released outside state. More...
 
virtual void SetButtonState (IEnums::ButtonState state)=0
 Set the button state. More...
 

Detailed Description

The ITouchableTarget interface.

The ITouchableTarget interface is used by the IMultiTouchable object to notify the combined state from ITouchable events.

Member Function Documentation

◆ SetPressed()

virtual void Murl::Graph::ITouchableTarget::SetPressed ( const Vector localPosition)
pure virtual

Set the pressed state.

The first ITouchable event was pressed on the touch area.

Parameters
localPositionThe local position of the event.

◆ SetReleasedInside()

virtual void Murl::Graph::ITouchableTarget::SetReleasedInside ( const Vector localPosition)
pure virtual

Set the released inside state.

A ITouchable event was pressed first and released at last inside the touch area.

Parameters
localPositionThe local position of the event.

◆ SetReleasedOutside()

virtual void Murl::Graph::ITouchableTarget::SetReleasedOutside ( const Vector localPosition)
pure virtual

Set the released outside state.

A ITouchable event was pressed first and released at last outside the touch area.

Parameters
localPositionThe local position of the event.

◆ SetButtonState()

virtual void Murl::Graph::ITouchableTarget::SetButtonState ( IEnums::ButtonState  state)
pure virtual

Set the button state.

Parameters
stateThe current button state.

The documentation for this interface was generated from the following file:
  • murl_graph_i_touchable_target.h


Copyright © 2011-2018 Spraylight GmbH.