summaryrefslogtreecommitdiff
path: root/src/options.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-08-18 19:43:32 +0200
committerulteq <ulteq@web.de>2018-08-24 11:41:18 +0200
commitdbc8dc8ceabdab55c5c8c74708af7788ade1c151 (patch)
treecbecefba342df30568aef9e7e468dca5c8790f04 /src/options.h
parentf3ea5c887e034f08d2735c7a32876f94ee9ef60a (diff)
combine --no-cycle and --cycle-once into --on-last-slide={quit,hold}
Diffstat (limited to 'src/options.h')
-rw-r--r--src/options.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/options.h b/src/options.h
index 122d39e..606b8e6 100644
--- a/src/options.h
+++ b/src/options.h
@@ -27,6 +27,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef OPTIONS_H
#define OPTIONS_H
+enum on_last_slide_action {
+ ON_LAST_SLIDE_RESUME = 0,
+ ON_LAST_SLIDE_QUIT,
+ ON_LAST_SLIDE_HOLD
+};
+
struct __fehoptions {
unsigned char multiwindow;
unsigned char montage;
@@ -68,8 +74,7 @@ struct __fehoptions {
unsigned char draw_actions;
unsigned char draw_info;
unsigned char cache_thumbnails;
- unsigned char cycle_once;
- unsigned char no_cycle;
+ unsigned char on_last_slide;
unsigned char hold_actions[10];
unsigned char text_bg;
unsigned char no_fehbg;