Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | Public Attributes | List of all members
Mezzanine::UI::ScrollbarValueChangedArguments Class Reference

This is the EventArguments class for when the scrollvalue of a scrollbar is updated. More...

#include <scrollbar.h>

+ Inheritance diagram for Mezzanine::UI::ScrollbarValueChangedArguments:
+ Collaboration diagram for Mezzanine::UI::ScrollbarValueChangedArguments:

Public Member Functions

 ScrollbarValueChangedArguments (const String &Name, const String &Source, const Real &OldValue, const Real &NewValue)
 Class constructor. More...
 
virtual ~ScrollbarValueChangedArguments ()
 Class destructor.
 
virtual ScrollbarValueChangedArgumentsGetMostDerived ()
 Get a pointer to the most Derived type of this instance. More...
 
- Public Member Functions inherited from Mezzanine::UI::WidgetEventArguments
 WidgetEventArguments (const String &Name, const String &Source)
 Class constructor. More...
 
virtual ~WidgetEventArguments ()
 Class destructor.
 
- Public Member Functions inherited from Mezzanine::EventArguments
 EventArguments (const String &Name)
 Class constructor. More...
 
virtual ~EventArguments ()
 Class destructor.
 
Whole DecrementReferenceCount ()
 Decrease the reference count by one and return the updated count. More...
 
Whole GetReferenceCount () const
 Get the current amount of references. More...
 
EventArgumentsGetReferenceCountTargetAsPointer ()
 Gets the actual pointer to the target of the base type. More...
 
Whole IncrementReferenceCount ()
 Increase the reference count by one and return the updated count. More...
 

Public Attributes

const Real NewScrollerValue
 The post-update value of the calling scrollbar.
 
const Real OldScrollerValue
 The pre-update value of the calling scrollbar.
 
- Public Attributes inherited from Mezzanine::UI::WidgetEventArguments
const String WidgetName
 The identification of the source firing this event.
 
- Public Attributes inherited from Mezzanine::EventArguments
const String EventName
 The name of the event being fired.
 

Detailed Description

This is the EventArguments class for when the scrollvalue of a scrollbar is updated.

Definition at line 56 of file scrollbar.h.

Constructor & Destructor Documentation

Mezzanine::UI::ScrollbarValueChangedArguments::ScrollbarValueChangedArguments ( const String Name,
const String Source,
const Real OldValue,
const Real NewValue 
)
inline

Class constructor.

Parameters
NameThe name of the event being fired.
SourceThe identification of the widget firing this event.
OldValueThe pre-update value of the calling scrollbar.
NewValueThe post-update value of the calling scrollbar.

Definition at line 75 of file scrollbar.h.

Member Function Documentation

virtual ScrollbarValueChangedArguments* Mezzanine::UI::ScrollbarValueChangedArguments::GetMostDerived ( )
inlinevirtual

Get a pointer to the most Derived type of this instance.

Returns
Returns a pointer of the most derived type of this.

Reimplemented from Mezzanine::UI::WidgetEventArguments.

Definition at line 84 of file scrollbar.h.


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