Mercurial > retraceit
diff src/constants.h @ 5:107e435cb569
Enable speed slider in pngplayer
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 25 Mar 2015 14:24:38 +0100 |
parents | 248d5d1cdb38 |
children | e3c8f61e45a9 |
line wrap: on
line diff
--- a/src/constants.h Wed Mar 25 14:23:46 2015 +0100 +++ b/src/constants.h Wed Mar 25 14:24:38 2015 +0100 @@ -57,9 +57,12 @@ #define LONG_DATE_FORMAT "dd.MM.yyyy, hh:mm:ss.zzz" /**@def the config key for the replay speed */ -#define REPLAY_SPEED_KEY "MSecsPerPicture" +#define REPLAY_SPEED_KEY "Speed" -/**@def the default value for the replay speed in ms*/ -#define REPLAY_SPEED_DEFAULT 1000 +/**@def the default value for the replay speed in REPLAY_SPEED_STEP_MS steps */ +#define REPLAY_SPEED_DEFAULT 5 + +/**@def the value for a step in the speed slider */ +#define REPLAY_SPEED_STEP_MS 500 #endif // CONSTANTS_H