]>
Commit | Line | Data |
---|---|---|
a7d135ee ER |
1 | Index: TimeKeeper.hpp |
2 | =================================================================== | |
3 | --- TimeKeeper.hpp (revision 1063) | |
4 | +++ TimeKeeper.hpp (revision 1064) | |
5 | @@ -37,6 +37,8 @@ | |
6 | ||
7 | double sampledPresetDuration(); | |
8 | ||
9 | + void ChangePresetDuration(int seconds) { _presetDuration = seconds; } | |
10 | + | |
11 | #ifndef WIN32 | |
12 | /* The first ticks value of the application */ | |
13 | struct timeval startTime; | |
14 | Index: projectM.cpp | |
15 | =================================================================== | |
16 | --- projectM.cpp (revision 1063) | |
17 | +++ projectM.cpp (revision 1064) | |
18 | @@ -917,3 +917,7 @@ | |
19 | _settings.titleFontURL, _settings.menuFontURL); | |
20 | } | |
21 | ||
22 | +void projectM::changePresetDuration(int seconds) { | |
23 | + timeKeeper->ChangePresetDuration(seconds); | |
24 | +} | |
25 | + | |
26 | Index: projectM.hpp | |
27 | =================================================================== | |
28 | --- projectM.hpp (revision 1063) | |
29 | +++ projectM.hpp (revision 1064) | |
30 | @@ -154,6 +154,7 @@ | |
31 | ||
32 | ||
33 | void changeTextureSize(int size); | |
34 | + void changePresetDuration(int seconds); | |
35 | ||
36 | ||
37 | const Settings & settings() const { |