DDraceNetwork Docs
CLogarithmicScrollbarScale Class Reference

#include <ui.h>

Inheritance diagram for CLogarithmicScrollbarScale:
[legend]
Collaboration diagram for CLogarithmicScrollbarScale:
[legend]

Public Member Functions

 CLogarithmicScrollbarScale (int MinAdjustment)
 
float ToRelative (int AbsoluteValue, int Min, int Max) const override
 
int ToAbsolute (float RelativeValue, int Min, int Max) const override
 
virtual float ToRelative (int AbsoluteValue, int Min, int Max) const =0
 
virtual int ToAbsolute (float RelativeValue, int Min, int Max) const =0
 

Private Attributes

int m_MinAdjustment
 

Constructor & Destructor Documentation

◆ CLogarithmicScrollbarScale()

CLogarithmicScrollbarScale::CLogarithmicScrollbarScale ( int  MinAdjustment)
inline

Member Function Documentation

◆ ToAbsolute()

int CLogarithmicScrollbarScale::ToAbsolute ( float  RelativeValue,
int  Min,
int  Max 
) const
inlineoverridevirtual

Implements IScrollbarScale.

◆ ToRelative()

float CLogarithmicScrollbarScale::ToRelative ( int  AbsoluteValue,
int  Min,
int  Max 
) const
inlineoverridevirtual

Implements IScrollbarScale.

Member Data Documentation

◆ m_MinAdjustment

int CLogarithmicScrollbarScale::m_MinAdjustment
private

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