/* * WmSlideshow.h -- MCDE: backdrops from files and the slideshow * (WmSlideshow.c) * * Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE. */ #ifndef _WmSlideshow_h #define _WmSlideshow_h #include "WmGlobal.h" /* the request of a slideshow (WmEvent.c, HandleDtWmRequest) */ #define MCDE_REQ_SLIDESHOW "f.mcde_slideshow" /* the picture at PATH as the backdrop of PWS, in the style IMAGETYPE */ extern void McdeBackdropFromFile(WmWorkspaceData *pWS, const char *path, int imageType); /* "INTERVAL RANDOM STYLE FOLDER"; INTERVAL 0 or NULL: no slideshow */ extern void McdeSlideshowSet(const char *spec); /* at the start: the resource Dtwm*mcdeSlideshow */ extern void McdeSlideshowInit(void); #endif /* _WmSlideshow_h */