RetroArch
defaults.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2011-2017 - Daniel De Matteis
3  *
4  * RetroArch is free software: you can redistribute it and/or modify it under the terms
5  * of the GNU General Public License as published by the Free Software Found-
6  * ation, either version 3 of the License, or (at your option) any later version.
7  *
8  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10  * PURPOSE. See the GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License along with RetroArch.
13  * If not, see <http://www.gnu.org/licenses/>.
14  */
15 
16 #ifndef __RARCH_DEFAULTS_H
17 #define __RARCH_DEFAULTS_H
18 
19 #include <stdint.h>
20 
21 #include <retro_miscellaneous.h>
22 
23 #ifndef IS_SALAMANDER
24 #include "playlist.h"
25 #endif
26 
28 {
58 };
59 
60 struct defaults
61 {
62 #ifdef HAVE_MENU
63  struct
64  {
65  struct
66  {
67  bool menu_color_theme_enable;
68  unsigned menu_color_theme;
69  } materialui;
70 
71  struct
72  {
73  bool set;
74  unsigned menu_btn_ok;
75  unsigned menu_btn_cancel;
76  } controls;
77  } menu;
78 #endif
79 
80  struct
81  {
82  bool set;
83  bool enable;
84  } overlay;
85 
87 
88  struct
89  {
93  } path;
94 
95  struct
96  {
100  char menu[32];
101  } settings;
102 
103 #ifndef IS_SALAMANDER
106 #ifdef HAVE_IMAGEVIEWER
107  playlist_t *image_history;
108 #endif
110 #if defined(HAVE_FFMPEG) || defined(HAVE_MPV)
111  playlist_t *video_history;
112 #endif
113 #endif
114 };
115 
116 /* Public data structures. */
117 extern struct defaults g_defaults;
118 
119 #endif
Definition: defaults.h:35
Definition: defaults.h:57
struct defaults g_defaults
Definition: configuration.c:613
Definition: defaults.h:40
Definition: defaults.h:56
Definition: defaults.h:31
Definition: defaults.h:51
Definition: defaults.h:44
Definition: defaults.h:46
char menu[32]
Definition: defaults.h:100
Definition: defaults.h:37
Definition: defaults.h:39
typedefRETRO_BEGIN_DECLS struct content_playlist playlist_t
Definition: playlist.h:27
bool set
Definition: defaults.h:82
struct defaults::@29 overlay
Definition: defaults.h:34
#define PATH_MAX_LENGTH
Definition: retro_miscellaneous.h:83
Definition: defaults.h:47
playlist_t * content_favorites
Definition: defaults.h:105
playlist_t * content_history
Definition: defaults.h:104
Definition: defaults.h:29
Definition: defaults.h:53
Definition: defaults.h:54
int out_latency
Definition: defaults.h:97
playlist_t * music_history
Definition: defaults.h:109
EShMessages controls
Definition: Config.FromFile.cpp:45
struct defaults::@30 path
struct defaults::@31 settings
float video_refresh_rate
Definition: defaults.h:98
char dirs[DEFAULT_DIR_LAST+1][PATH_MAX_LENGTH]
Definition: defaults.h:86
Definition: deflate.c:120
Definition: defaults.h:30
bool enable
Definition: defaults.h:83
Definition: defaults.h:33
bool video_threaded_enable
Definition: defaults.h:99
Definition: defaults.h:55
Definition: defaults.h:43
Definition: defaults.h:32
Definition: defaults.h:36
Definition: defaults.h:50
default_dirs
Definition: defaults.h:27
Definition: defaults.h:42
Definition: defaults.h:48
Definition: defaults.h:45
Definition: defaults.h:49
Definition: defaults.h:41
Definition: defaults.h:38
Definition: defaults.h:60
char buildbot_server_url[255]
Definition: defaults.h:92
Definition: defaults.h:52
char core[PATH_MAX_LENGTH]
Definition: defaults.h:91