OpenHantek
viewconstants.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 
3 #pragma once
4 
5 #define DIVS_TIME 10.0
6 #define DIVS_VOLTAGE 8.0
7 #define DIVS_SUB 5
8 
9 #define MARGIN_LEFT ( -DIVS_TIME / 2.0 )
10 #define MARGIN_RIGHT ( DIVS_TIME / 2.0 )
11 #define MARGIN_TOP ( DIVS_VOLTAGE / 2.0 )
12 #define MARGIN_BOTTOM ( -DIVS_VOLTAGE / 2.0 )
13 
14 #define MARKER_STEP ( DIVS_TIME / 100.0 )