OpenCPN Partial API docs
Loading...
Searching...
No Matches
MouseZoom Class Reference

Static Public Member Functions

static double ui_to_config (int slider_pos)
 Convert a slider scale 1-100 value to configuration value 1.02..3.0. More...
 
static int config_to_ui (double value)
 Convert configuration 1.02..3.0 value to slider scale 1..100. More...
 

Detailed Description

Definition at line 122 of file navutil.h.

Member Function Documentation

◆ config_to_ui()

static int MouseZoom::config_to_ui ( double  value)
inlinestatic

Convert configuration 1.02..3.0 value to slider scale 1..100.

Definition at line 131 of file navutil.h.

◆ ui_to_config()

static double MouseZoom::ui_to_config ( int  slider_pos)
inlinestatic

Convert a slider scale 1-100 value to configuration value 1.02..3.0.

Definition at line 126 of file navutil.h.


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