Skip to Content
The Alchemy Project

struct WINDOW_ZOOM_SCRATCH

Scratch values for a stage of a window's zoom: the scaled part of a side, the scaled duration and their ratio. More…

Declared in window_borders.c.

Fields

NameDescription
FIXEDscaledPartzoom stage (or stages left) times a side in tiles
FIXEDscaledDurationtwice the zoom's duration
FIXEDresultscaledPart / scaledDuration, in tiles

Description

Scratch values for a stage of a window's zoom: the scaled part of a side, the scaled duration and their ratio. A local of mnWindowDrawZoomBorder.

struct WINDOW_ZOOM_SCRATCH

Referenced by mnWindowDrawZoomBorder().

Definition at line 19 of file window_borders.c.

Fields in detail

scaledPart

FIXED scaledPart

zoom stage (or stages left) times a side in tiles

scaledDuration

FIXED scaledDuration

twice the zoom's duration

result

FIXED result

scaledPart / scaledDuration, in tiles