Constants.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: Beerware
10 #pragma once
11 
18 typedef enum Alignment_t
19 {
20  BOTTOM = 0,
21  TOP = 1
22 
23 } Alignment;
24 
31 typedef enum Direction_t
32 {
33  RIGHT = 0,
34  LEFT = 1
35 
36 } Direction;
37 
44 typedef enum TimeConstant_t
45 {
46  APPROX_TIME_PER_FRAME = 17,
47  TIME_FACTOR = 1000
48 
49 } TimeConstant;
50 
57 #define DELTA_TIME (double)APPROX_TIME_PER_FRAME / (double)TIME_FACTOR
Alignment_t
Alignment constants enumeration.
Definition: Constants.h:18
TimeConstant_t
Time constants enumeration.
Definition: Constants.h:44
Direction_t
Directional constants enumeration.
Definition: Constants.h:31
enum Alignment_t Alignment
Alignment constants type.
enum Direction_t Direction
Directional constants type.
enum TimeConstant_t TimeConstant
Time constants type.