Move enum screensavers to menu_defines.h

This commit is contained in:
libretroadmin 2022-11-27 23:08:14 +01:00
parent 019ebce8c7
commit cc37b7037f
3 changed files with 12 additions and 15 deletions

View File

@ -43,11 +43,6 @@
#include "dingux/dingux_utils.h"
#endif
/* Required for menu screensaver animation */
#if defined(HAVE_MATERIALUI) || defined(HAVE_XMB) || defined(HAVE_OZONE)
#include "menu/menu_screensaver.h"
#endif
/* Required for 'show inputs on overlay' setting */
#if defined(HAVE_OVERLAY)
#include "../input/input_overlay.h"

View File

@ -464,6 +464,17 @@ enum dingux_rs90_softfilter_type
};
#endif
/* Specifies all available screensaver effects */
enum menu_screensaver_effect
{
MENU_SCREENSAVER_BLANK = 0,
MENU_SCREENSAVER_SNOW,
MENU_SCREENSAVER_STARFIELD,
MENU_SCREENSAVER_VORTEX,
MENU_SCREENSAVER_LAST
};
RETRO_END_DECLS
#endif

View File

@ -20,6 +20,7 @@
#include <retro_common_api.h>
#include <libretro.h>
#include "menu_defines.h"
#include "../retroarch.h"
#include "../gfx/gfx_display.h"
#include "../gfx/gfx_animation.h"
@ -29,16 +30,6 @@ RETRO_BEGIN_DECLS
/* Prevent direct access to menu_screensaver_t members */
typedef struct menu_ss_handle menu_screensaver_t;
/* Specifies all available screensaver effects */
enum menu_screensaver_effect
{
MENU_SCREENSAVER_BLANK = 0,
MENU_SCREENSAVER_SNOW,
MENU_SCREENSAVER_STARFIELD,
MENU_SCREENSAVER_VORTEX,
MENU_SCREENSAVER_LAST
};
/******************/
/* Initialisation */
/******************/