OpenTTD Source: FramerateWindow::CachedDecimal Struct Reference

OpenTTD Source 15.3

Public Member Functions | Data Fields
FramerateWindow::CachedDecimal Struct Reference

## Public Member Functions
void | SetRate (double value, double target)
void | SetTime (double value, double target)
uint32_t | GetValue () const
uint32_t | GetDecimals () const

## Data Fields
StringID | strid
uint32_t | value

## Detailed Description

Definition at line 417 of file framerate_gui.cpp.

## Member Function Documentation

## ◆ GetDecimals()

uint32_t FramerateWindow::CachedDecimal::GetDecimals | ( |  | ) | const
| inline

Definition at line 438 of file framerate_gui.cpp.

## ◆ GetValue()

uint32_t FramerateWindow::CachedDecimal::GetValue | ( |  | ) | const
| inline

Definition at line 437 of file framerate_gui.cpp.

## ◆ SetRate()

void FramerateWindow::CachedDecimal::SetRate | ( | double | value,
|  | double | target
| ) |  |
| inline

Definition at line 421 of file framerate_gui.cpp.

## ◆ SetTime()

void FramerateWindow::CachedDecimal::SetTime | ( | double | value,
|  | double | target
| ) |  |
| inline

Definition at line 429 of file framerate_gui.cpp.

## Field Documentation

## ◆ strid

StringID FramerateWindow::CachedDecimal::strid

Definition at line 418 of file framerate_gui.cpp.

## ◆ value

uint32_t FramerateWindow::CachedDecimal::value

Definition at line 419 of file framerate_gui.cpp.

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

- src/framerate_gui.cpp