diff --git a/config.cpp b/config.cpp index 8c7d72c9..e3f5012c 100644 --- a/config.cpp +++ b/config.cpp @@ -3527,6 +3527,8 @@ EX int config3 = addHook(hooks_configfile, 100, [] { addMessage(XLAT("Save the config to always use %1.", scorefile)); }); + param_i(tour::tour_value, "tval"); + param_ccolor(ccolor::which, "pattern"); param_b(ccolor::live_canvas, "live_canvas") -> editable("apply color/pattern changes to canvas automatically", 'l'); diff --git a/tour.cpp b/tour.cpp index 7b2c2b73..e0d80fb8 100644 --- a/tour.cpp +++ b/tour.cpp @@ -25,6 +25,9 @@ EX bool on; /** \brief should the presentation texts be shown */ EX bool texts = true; +/** \brief helps to automatize interactive presentations */ +EX int tour_value; + EX string tourhelp; /** \brief index of the current slide */ @@ -35,7 +38,7 @@ EX int currentslide; enum presmode { pmStartAll = 0, pmStart = 1, pmFrame = 2, pmStop = 3, pmKey = 4, pmRestart = 5, - pmAfterFrame = 6, pmHelpEx = 7, + pmAfterFrame = 6, pmHelpEx = 7, pmKeyAlt = 8, pmKeyAlt2 = 9, pmGeometry = 11, pmGeometryReset = 13, pmGeometryStart = 15, pmGeometrySpecial = 16 };