diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-08-18 19:43:32 +0200 |
---|---|---|
committer | ulteq <ulteq@web.de> | 2018-08-24 11:41:18 +0200 |
commit | dbc8dc8ceabdab55c5c8c74708af7788ade1c151 (patch) | |
tree | cbecefba342df30568aef9e7e468dca5c8790f04 /src/options.h | |
parent | f3ea5c887e034f08d2735c7a32876f94ee9ef60a (diff) |
combine --no-cycle and --cycle-once into --on-last-slide={quit,hold}
Diffstat (limited to 'src/options.h')
-rw-r--r-- | src/options.h | 9 |
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; |