2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#ifndef _TRANGE_DATA_INCLUDED_
|
|
|
|
#define _TRANGE_DATA_INCLUDED_
|
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
typedef struct TRANGE_DATA { int from, to, step, inc; } TRANGE_DATA;
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#define TRANGE_AUTO_STEP (-1)
|
|
|
|
#define TRANGE_AUTO_INC (-2)
|
|
|
|
|
|
|
|
#define TRANGE_FROM_M 0x1
|
|
|
|
#define TRANGE_TO_M 0x2
|
|
|
|
#define TRANGE_STEP_M 0x4
|
|
|
|
#define TRANGE_INC_M 0x8
|
|
|
|
|
|
|
|
#endif
|