Public Member Functions

fl7::events::ScrollEventArgs Class Reference

#include <ScrollEventArgs.h>

Inheritance diagram for fl7::events::ScrollEventArgs:
fl7::events::EventArgs

List of all members.

Public Member Functions

virtual ~ScrollEventArgs (void)
 ScrollEventArgs (faces::Face *face, const float &old_scroll_position, const float new_scroll_position, const float min_scroll_position, const float max_scroll_position)
float GetOldScrollPosition () const
float GetNewScrollPosition () const
float GetMinScrollPosition () const
float GetMaxScrollPosition () const

Detailed Description

The (base) class for event arguments passed in to scroll event callbacks.


Constructor & Destructor Documentation

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

Destructor.

fl7::events::ScrollEventArgs::ScrollEventArgs ( faces::Face face,
const float &  old_scroll_position,
const float  new_scroll_position,
const float  min_scroll_position,
const float  max_scroll_position 
) [inline]

Explicit constructor.


Member Function Documentation

float fl7::events::ScrollEventArgs::GetMaxScrollPosition (  )  const [inline]

Returns the maximum scroll position.

float fl7::events::ScrollEventArgs::GetMinScrollPosition (  )  const [inline]

Returns the minimum scroll position.

float fl7::events::ScrollEventArgs::GetNewScrollPosition (  )  const [inline]

Returns the new scroll position after scrolling the face.

float fl7::events::ScrollEventArgs::GetOldScrollPosition (  )  const [inline]

Returns the old scroll position before scrolling the face.


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