![]() |
Murl Engine API
Version 2018.3
|
The IScreenArea interface. More...
#include <murl_input_i_screen_area.h>
The IScreenArea interface.
The IScreenArea object can be created by the ITouchableHandler object.
Inherited by Murl::Input::ScreenArea.
Public Member Functions | |
virtual Bool | SetInCoord (Real x1, Real y1, Real x2, Real y2)=0 |
Set the area's input coordinate range. More... | |
virtual Bool | SetInCoord1 (Real x1, Real y1)=0 |
Set the area's input coordinate start. More... | |
virtual Bool | SetInCoord2 (Real x2, Real y2)=0 |
Set the area's input coordinate end. More... | |
virtual Bool | SetInCoordX1 (Real x1)=0 |
Set the area's horizontal start input coordinate. More... | |
virtual Bool | SetInCoordY1 (Real y1)=0 |
Set the area's vertical start input coordinates. More... | |
virtual Bool | SetInCoordX2 (Real x2)=0 |
Set the area's horizontal end input coordinate. More... | |
virtual Bool | SetInCoordY2 (Real y2)=0 |
Set the area's vertical end input coordinates. More... | |
virtual Real | GetInCoordX1 () const =0 |
Get the area's horizontal start input coordinate. More... | |
virtual Real | GetInCoordY1 () const =0 |
Get the area's vertical start input coordinate. More... | |
virtual Real | GetInCoordX2 () const =0 |
Get the area's horizontal end input coordinate. More... | |
virtual Real | GetInCoordY2 () const =0 |
Get the area's vertical end input coordinate. More... | |
|
pure virtual |
Set the area's input coordinate range.
This method sets the area's start and end input coordinates.
x1 | The start coordinate in X direction. |
y1 | The start coordinate in Y direction. |
x2 | The end coordinate in X direction. |
y2 | The end coordinate in Y direction. |
Set the area's input coordinate start.
See SetInCoord().
x1 | The start coordinate in X direction. |
y1 | The start coordinate in Y direction. |
Set the area's input coordinate end.
See SetInCoord().
x2 | The end coordinate in X direction. |
y2 | The end coordinate in Y direction. |
Set the area's horizontal start input coordinate.
See SetInCoord().
x1 | The start coordinate in X direction. |
Set the area's vertical start input coordinates.
See SetInCoord().
y1 | The start coordinate in Y direction. |
Set the area's horizontal end input coordinate.
See SetInCoord().
x2 | The end coordinate in X direction. |
Set the area's vertical end input coordinates.
See SetInCoord().
y2 | The end coordinate in Y direction. |
|
pure virtual |
Get the area's horizontal start input coordinate.
See SetInCoord().
|
pure virtual |
Get the area's vertical start input coordinate.
See SetInCoord().
|
pure virtual |
Get the area's horizontal end input coordinate.
See SetInCoord().
|
pure virtual |
Get the area's vertical end input coordinate.
See SetInCoord().