Public Member Functions

fl7::events::PositionEventArgs Class Reference

#include <PositionEventArgs.h>

Inheritance diagram for fl7::events::PositionEventArgs:
fl7::events::EventArgs

List of all members.

Public Member Functions

virtual ~PositionEventArgs (void)
 PositionEventArgs (faces::Face *face, const ml7::Vector2 &old_position, const ml7::Vector2 &new_position, const ml7::Vector2 &old_size, const ml7::Vector2 &new_size)
const ml7::Vector2GetOldPosition () const
const ml7::Vector2GetNewPosition () const
const ml7::Vector2GetOldSize () const
const ml7::Vector2GetNewSize () const

Detailed Description

The (base) class for event arguments passed in to window position (and size) event callbacks.


Constructor & Destructor Documentation

virtual fl7::events::PositionEventArgs::~PositionEventArgs ( void   )  [inline, virtual]

Destructor.

fl7::events::PositionEventArgs::PositionEventArgs ( faces::Face face,
const ml7::Vector2 old_position,
const ml7::Vector2 new_position,
const ml7::Vector2 old_size,
const ml7::Vector2 new_size 
) [inline]

Explicit constructor.


Member Function Documentation

const ml7::Vector2& fl7::events::PositionEventArgs::GetNewPosition (  )  const [inline]

Returns the new position after moving the face.

const ml7::Vector2& fl7::events::PositionEventArgs::GetNewSize (  )  const [inline]

Returns the new size after resizing the face.

const ml7::Vector2& fl7::events::PositionEventArgs::GetOldPosition (  )  const [inline]

Returns the old position before moving the face.

const ml7::Vector2& fl7::events::PositionEventArgs::GetOldSize (  )  const [inline]

Returns the old size before resizing the face.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines