TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iWidgetScrollBar Struct Referenceabstract
Inheritance diagram for iWidgetScrollBar:
iUnknown

Detailed Description

Scroll bar widget interface.

Public Member Functions

virtual void SetScrollRange (const sVec2f &avRange)=0
 Set the scroll bar range. {Property}. More...
 
virtual sVec2f GetScrollRange () const =0
 Get the scroll bar range. {Property}. More...
 
virtual void SetScrollPosition (tF32 afScrollPos)=0
 Set the scroll bar position. {Property}. More...
 
virtual tF32 GetScrollPosition () const =0
 Get the scroll bar position. {Property}. More...
 
virtual void SetNormalizedScrollPosition (tF32 afScrollPos)=0
 Set the normalized scroll bar position. {Property}. More...
 
virtual tF32 GetNormalizedScrollPosition () const =0
 Get the normalized scroll bar position. {Property}. More...
 
virtual void SetPageSize (tF32 afPageSize)=0
 Set the scroll bar page size. {Property}. More...
 
virtual tF32 GetPageSize () const =0
 Get the scroll bar page size. {Property}. More...
 
virtual tF32 ComputeRoundedPosition (tF32 afNewPos) const =0
 Compute a position rounded by the page size in function of the scroll bar's flags. More...
 
- Public Member Functions inherited from iUnknown
virtual tBool IsOK () const =0
 Check if the object is valid. More...
 
virtual tI32 AddRef ()=0
 Signal that one more reference of the object has been created. More...
 
virtual tI32 Release ()=0
 Release a reference of the object. More...
 
virtual void DeleteThis ()=0
 Bypass any reference counting and delete this object. More...
 
virtual void Invalidate ()=0
 Invalidate the object. More...
 
virtual iUnknownQueryInterface (const tUUID &aIID)=0
 Query an interface. More...
 
virtual void ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0
 Fill a UUID list containing the UUIDs of the implemented interfaces. More...
 
virtual tI32 SetNumRefs (tI32 anNumRefs)=0
 Set the reference counter directly. More...
 
virtual tI32 GetNumRefs () const =0
 Get the number of references to this object. More...
 

Member Function Documentation

virtual void SetScrollRange ( const sVec2f avRange)
pure virtual

Set the scroll bar range. {Property}.

virtual sVec2f GetScrollRange ( ) const
pure virtual

Get the scroll bar range. {Property}.

virtual void SetScrollPosition ( tF32  afScrollPos)
pure virtual

Set the scroll bar position. {Property}.

virtual tF32 GetScrollPosition ( ) const
pure virtual

Get the scroll bar position. {Property}.

virtual void SetNormalizedScrollPosition ( tF32  afScrollPos)
pure virtual

Set the normalized scroll bar position. {Property}.

virtual tF32 GetNormalizedScrollPosition ( ) const
pure virtual

Get the normalized scroll bar position. {Property}.

virtual void SetPageSize ( tF32  afPageSize)
pure virtual

Set the scroll bar page size. {Property}.

virtual tF32 GetPageSize ( ) const
pure virtual

Get the scroll bar page size. {Property}.

virtual tF32 ComputeRoundedPosition ( tF32  afNewPos) const
pure virtual

Compute a position rounded by the page size in function of the scroll bar's flags.

Remarks
This is to be used by slider bars with a set page/step size.