The EventHandler associated to EditGraphOrthoLayer. More...
#include <EditHydroGraphOrthoLayer.h>
Public Member Functions | |
EditHydroGraphHandler (EditGraphOrthoLayer *e, ptr< ResourceManager > r, string t) | |
Creates a new TweakHydroGraphLayer. | |
virtual bool | mouseClick (button b, state s, modifier m, int x, int y) |
See EventHandler::mouseClick. | |
virtual bool | mouseMotion (int x, int y) |
See EventHandler::mouseMotion. |
The EventHandler associated to EditGraphOrthoLayer.
new Functionnality: adding a river to a given Curve. Just drag and drop. Displays more info on Curve than the basic TweakGraphLayer (HydroCurve related info).
proland::EditHydroGraphOrthoLayer::EditHydroGraphHandler::EditHydroGraphHandler | ( | EditGraphOrthoLayer * | e, | |
ptr< ResourceManager > | r, | |||
string | t | |||
) | [inline] |
Creates a new TweakHydroGraphLayer.
e | the associated EditGraphOrthoLayer on which the updates will occur. | |
r | the RessourceManager used to load terrain Info. | |
t | the name of the terrain from which we want to load info. |
virtual bool proland::EditHydroGraphOrthoLayer::EditHydroGraphHandler::mouseClick | ( | button | b, | |
state | s, | |||
modifier | m, | |||
int | x, | |||
int | y | |||
) | [virtual] |
See EventHandler::mouseClick.
Reimplemented from proland::EditGraphOrthoLayer::EditGraphHandler.
virtual bool proland::EditHydroGraphOrthoLayer::EditHydroGraphHandler::mouseMotion | ( | int | x, | |
int | y | |||
) | [virtual] |
See EventHandler::mouseMotion.
Reimplemented from proland::EditGraphOrthoLayer::EditGraphHandler.