Unit.Scale

A scale is one resolution of a unit.

struct Unit
struct Scale {}

Members

Variables

digits
int digits;

normal renderwidth for the application (e.g. 2 for minutes (00-59))

factor
long factor;

factor to the next higher resolution (e.g. 60 from minutes to seconds)

name
string name;

the name of the scale (e.g. h for hour)

Meta