Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef _TRANGE_DATA_INCLUDED_
Toshihiro Shimizu 890ddd
#define _TRANGE_DATA_INCLUDED_
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
typedef struct TRANGE_DATA { int from, to, step, inc; } TRANGE_DATA;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#define TRANGE_AUTO_STEP (-1)
Toshihiro Shimizu 890ddd
#define TRANGE_AUTO_INC (-2)
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#define TRANGE_FROM_M 0x1
Toshihiro Shimizu 890ddd
#define TRANGE_TO_M 0x2
Toshihiro Shimizu 890ddd
#define TRANGE_STEP_M 0x4
Toshihiro Shimizu 890ddd
#define TRANGE_INC_M 0x8
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif