nux-0.9.46

nux::AreaEventProcessor Class Reference

#include <Nux/MouseHandler.h>

Public Member Functions

 AreaEventProcessor ()
 ~AreaEventProcessor ()
unsigned int EventProcessor (Event &event, const Geometry &g, bool process_mouse_focus)
bool MouseIn ()
void ForceMouseFocus (int x, int y, const Geometry &g)
void StopMouseFocus (int x, int y, const Geometry &g)

Friends

class InputArea

Constructor & Destructor Documentation

nux::AreaEventProcessor::AreaEventProcessor ( )
nux::AreaEventProcessor::~AreaEventProcessor ( )

Member Function Documentation

unsigned int nux::AreaEventProcessor::EventProcessor ( Event event,
const Geometry g,
bool  process_mouse_focus 
)

Return the physical status of the mouse with regard to the area.

Parameters:
eventThe event to process.
geoThe geometry of the area.
process_mouse_focusThis parameter should be true if it is allowed to change the mouse focus status. process_mouse_focus should be true only when the event has not been solved yet.
Returns:
A value of type AreaMouseStatus, reflecting the position of the mouse relatively to the area.
void nux::AreaEventProcessor::ForceMouseFocus ( int  x,
int  y,
const Geometry g 
)
bool nux::AreaEventProcessor::MouseIn ( )
void nux::AreaEventProcessor::StopMouseFocus ( int  x,
int  y,
const Geometry g 
)

Friends And Related Function Documentation

friend class InputArea [friend]

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