KiCad PCB EDA Suite
Loading...
Searching...
No Matches
zoom_controller.cpp File Reference
#include <view/zoom_controller.h>
#include <trace_helpers.h>
#include <wx/log.h>
#include <algorithm>
#include <cmath>

Go to the source code of this file.

Classes

class  SIMPLE_TIMESTAMPER
 A very simple timestamper that uses the KIGFX::ACCELERATING_ZOOM_CONTROLLER::CLOCK to provide a timestamp. More...
 

Functions

static double notchCount (int aRotation, int aWheelDelta)
 

Variables

static constexpr double MAX_MERGED_NOTCHES = 10.0
 

Function Documentation

◆ notchCount()

static double notchCount ( int aRotation,
int aWheelDelta )
static

Variable Documentation

◆ MAX_MERGED_NOTCHES

double MAX_MERGED_NOTCHES = 10.0
staticconstexpr

Definition at line 38 of file zoom_controller.cpp.

Referenced by notchCount().