RetroArch
setting_list.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 __SETTING_LIST_H
17 #define __SETTING_LIST_H
18 
19 #include <boolean.h>
20 
21 #include <retro_common_api.h>
22 
23 #include "command.h"
24 #include "msg_hash.h"
25 
27 
29 {
30  ST_NONE = 0,
47 };
48 
50 {
52  SD_FLAG_PATH_DIR = (1 << 0),
53  SD_FLAG_PATH_FILE = (1 << 1),
54  SD_FLAG_ALLOW_EMPTY = (1 << 2),
55  SD_FLAG_HAS_RANGE = (1 << 3),
56  SD_FLAG_ALLOW_INPUT = (1 << 4),
57  SD_FLAG_IS_DRIVER = (1 << 5),
58  SD_FLAG_EXIT = (1 << 6),
61  SD_FLAG_ADVANCED = (1 << 9),
63 };
64 
66 {
67  SD_FREE_FLAG_VALUES = (1 << 0),
68  SD_FREE_FLAG_NAME = (1 << 1),
69  SD_FREE_FLAG_SHORT = (1 << 2)
70 };
71 
75 
77 typedef int (*action_left_handler_t )(rarch_setting_t *data, bool wraparound);
78 typedef int (*action_right_handler_t )(rarch_setting_t *setting, bool wraparound);
79 typedef int (*action_up_handler_t )(rarch_setting_t *setting);
80 typedef int (*action_down_handler_t )(rarch_setting_t *setting);
81 typedef int (*action_start_handler_t )(rarch_setting_t *setting);
82 typedef int (*action_cancel_handler_t )(rarch_setting_t *setting);
83 typedef int (*action_ok_handler_t )(rarch_setting_t *setting, bool wraparound);
84 typedef int (*action_select_handler_t )(rarch_setting_t *setting, bool wraparound);
85 typedef void (*get_string_representation_t )(rarch_setting_t *setting, char *s, size_t len);
86 
88 {
89  const char *name;
90 };
91 
93 {
98 
102 
106 
107  unsigned bind_type;
109 
110  float step;
111 
114 
115  double min;
116  double max;
117 
118  const char *rounding_fraction;
119  const char *name;
120  const char *short_description;
121  const char *group;
122  const char *subgroup;
123  const char *parent_group;
124  const char *values;
125 
137 
138  union
139  {
140  bool boolean;
141  const char *string;
142  int integer;
143  unsigned int unsigned_integer;
144  float fraction;
145  const struct retro_keybind *keybind;
146  size_t sizet;
147  } default_value;
148 
149  struct
150  {
151  union
152  {
153  bool *boolean;
154  char *string;
155  int *integer;
156  unsigned int *unsigned_integer;
157  float *fraction;
159  size_t *sizet;
160  } target;
161  } value;
162 
163  union
164  {
165  bool boolean;
166  int integer;
167  unsigned int unsigned_integer;
168  float fraction;
169  size_t sizet;
170  } original_value;
171 
172  struct
173  {
174  const char *empty_path;
175  } dir;
176 
177  struct
178  {
180  bool triggered;
181  } cmd_trigger;
182 
183  struct
184  {
185  const char *off_label;
186  const char *on_label;
187  } boolean;
188 };
189 
191 {
192  int index;
193  int size;
194 };
195 
196 bool START_GROUP(rarch_setting_t **list, rarch_setting_info_t *list_info,
197  rarch_setting_group_info_t *group_info,
198  const char *name, const char *parent_group);
199 
200 bool END_GROUP(rarch_setting_t **list, rarch_setting_info_t *list_info,
201  const char *parent_group);
202 
203 bool START_SUB_GROUP(rarch_setting_t **list,
204  rarch_setting_info_t *list_info, const char *name,
205  rarch_setting_group_info_t *group_info,
206  rarch_setting_group_info_t *subgroup_info,
207  const char *parent_group);
208 
209 bool END_SUB_GROUP(
210  rarch_setting_t **list,
211  rarch_setting_info_t *list_info,
212  const char *parent_group);
213 
214 bool CONFIG_ACTION_ALT(
215  rarch_setting_t **list,
216  rarch_setting_info_t *list_info,
217  const char *name, const char *SHORT,
218  rarch_setting_group_info_t *group_info,
219  rarch_setting_group_info_t *subgroup_info,
220  const char *parent_group);
221 
222 bool CONFIG_ACTION(
223  rarch_setting_t **list,
224  rarch_setting_info_t *list_info,
225  enum msg_hash_enums name_enum_idx,
226  enum msg_hash_enums SHORT_enum_idx,
227  rarch_setting_group_info_t *group_info,
228  rarch_setting_group_info_t *subgroup_info,
229  const char *parent_group);
230 
231 bool CONFIG_BOOL_ALT(
232  rarch_setting_t **list,
233  rarch_setting_info_t *list_info,
234  bool *target,
235  const char *name, const char *SHORT,
236  bool default_value,
237  enum msg_hash_enums off_enum_idx,
238  enum msg_hash_enums on_enum_idx,
239  rarch_setting_group_info_t *group_info,
240  rarch_setting_group_info_t *subgroup_info,
241  const char *parent_group,
242  change_handler_t change_handler,
243  change_handler_t read_handler,
244  uint32_t flags);
245 
246 bool CONFIG_BOOL(
247  rarch_setting_t **list,
248  rarch_setting_info_t *list_info,
249  bool *target,
250  enum msg_hash_enums name_enum_idx,
251  enum msg_hash_enums SHORT_enum_idx,
252  bool default_value,
253  enum msg_hash_enums off_enum_idx,
254  enum msg_hash_enums on_enum_idx,
255  rarch_setting_group_info_t *group_info,
256  rarch_setting_group_info_t *subgroup_info,
257  const char *parent_group,
258  change_handler_t change_handler,
259  change_handler_t read_handler,
260  uint32_t flags);
261 
262 bool CONFIG_INT(
263  rarch_setting_t **list,
264  rarch_setting_info_t *list_info,
265  int *target,
266  enum msg_hash_enums name_enum_idx,
267  enum msg_hash_enums SHORT_enum_idx,
268  int default_value,
269  rarch_setting_group_info_t *group_info,
270  rarch_setting_group_info_t *subgroup_info,
271  const char *parent_group,
272  change_handler_t change_handler, change_handler_t read_handler);
273 
274 bool CONFIG_UINT_ALT(
275  rarch_setting_t **list,
276  rarch_setting_info_t *list_info,
277  unsigned int *target,
278  const char *name, const char *SHORT,
279  unsigned int default_value,
280  rarch_setting_group_info_t *group_info,
281  rarch_setting_group_info_t *subgroup_info,
282  const char *parent_group,
283  change_handler_t change_handler, change_handler_t read_handler);
284 
285 bool CONFIG_UINT(
286  rarch_setting_t **list,
287  rarch_setting_info_t *list_info,
288  unsigned int *target,
289  enum msg_hash_enums name_enum_idx,
290  enum msg_hash_enums SHORT_enum_idx,
291  unsigned int default_value,
292  rarch_setting_group_info_t *group_info,
293  rarch_setting_group_info_t *subgroup_info,
294  const char *parent_group,
295  change_handler_t change_handler, change_handler_t read_handler);
296 
297 bool CONFIG_SIZE(
298  rarch_setting_t **list,
299  rarch_setting_info_t *list_info,
300  size_t *target,
301  enum msg_hash_enums name_enum_idx,
302  enum msg_hash_enums SHORT_enum_idx,
303  size_t default_value,
304  rarch_setting_group_info_t *group_info,
305  rarch_setting_group_info_t *subgroup_info,
306  const char *parent_group,
307  change_handler_t change_handler, change_handler_t read_handler,
308  get_string_representation_t string_representation_handler);
309 
310 bool CONFIG_FLOAT(
311  rarch_setting_t **list,
312  rarch_setting_info_t *list_info,
313  float *target,
314  enum msg_hash_enums name_enum_idx,
315  enum msg_hash_enums SHORT_enum_idx,
316  float default_value, const char *rounding,
317  rarch_setting_group_info_t *group_info,
318  rarch_setting_group_info_t *subgroup_info,
319  const char *parent_group,
320  change_handler_t change_handler, change_handler_t read_handler);
321 
322 bool CONFIG_PATH(
323  rarch_setting_t **list,
324  rarch_setting_info_t *list_info,
325  char *target, size_t len,
326  enum msg_hash_enums name_enum_idx,
327  enum msg_hash_enums SHORT_enum_idx,
328  const char *default_value,
329  rarch_setting_group_info_t *group_info,
330  rarch_setting_group_info_t *subgroup_info,
331  const char *parent_group,
332  change_handler_t change_handler, change_handler_t read_handler);
333 
334 bool CONFIG_DIR(
335  rarch_setting_t **list,
336  rarch_setting_info_t *list_info,
337  char *target, size_t len,
338  enum msg_hash_enums name_enum_idx,
339  enum msg_hash_enums SHORT_enum_idx,
340  const char *default_value,
341  enum msg_hash_enums empty_enum_idx,
342  rarch_setting_group_info_t *group_info,
343  rarch_setting_group_info_t *subgroup_info,
344  const char *parent_group,
345  change_handler_t change_handler, change_handler_t read_handler);
346 
347 bool CONFIG_STRING(
348  rarch_setting_t **list,
349  rarch_setting_info_t *list_info,
350  char *target, size_t len,
351  enum msg_hash_enums name_enum_idx,
352  enum msg_hash_enums SHORT_enum_idx,
353  const char *default_value,
354  rarch_setting_group_info_t *group_info,
355  rarch_setting_group_info_t *subgroup_info,
356  const char *parent_group,
357  change_handler_t change_handler, change_handler_t read_handler);
358 
360  rarch_setting_t **list,
361  rarch_setting_info_t *list_info,
362  char *target, size_t len,
363  enum msg_hash_enums name_enum_idx,
364  enum msg_hash_enums SHORT_enum_idx,
365  const char *default_value, const char *values,
366  rarch_setting_group_info_t *group_info,
367  rarch_setting_group_info_t *subgroup_info,
368  const char *parent_group,
369  change_handler_t change_handler, change_handler_t read_handler);
370 
371 bool CONFIG_HEX(
372  rarch_setting_t **list,
373  rarch_setting_info_t *list_info,
374  unsigned int *target,
375  enum msg_hash_enums name_enum_idx,
376  enum msg_hash_enums SHORT_enum_idx,
377  unsigned int default_value,
378  rarch_setting_group_info_t *group_info,
379  rarch_setting_group_info_t *subgroup_info,
380  const char *parent_group,
381  change_handler_t change_handler, change_handler_t read_handler);
382 
383 /* Please strdup() NAME and SHORT */
384 bool CONFIG_BIND(
385  rarch_setting_t **list,
386  rarch_setting_info_t *list_info,
387  struct retro_keybind *target,
388  uint32_t player, uint32_t player_offset,
389  const char *name, const char *SHORT,
390  const struct retro_keybind *default_value,
391  rarch_setting_group_info_t *group_info,
392  rarch_setting_group_info_t *subgroup_info,
393  const char *parent_group);
394 
395 bool CONFIG_BIND_ALT(
396  rarch_setting_t **list,
397  rarch_setting_info_t *list_info,
398  struct retro_keybind *target,
399  uint32_t player, uint32_t player_offset,
400  const char *name, const char *SHORT,
401  const struct retro_keybind *default_value,
402  rarch_setting_group_info_t *group_info,
403  rarch_setting_group_info_t *subgroup_info,
404  const char *parent_group);
405 
415  rarch_setting_t* setting, const char *value);
416 
417 unsigned setting_get_bind_type(rarch_setting_t *setting);
418 
420 
421 int setting_generic_action_ok_default(rarch_setting_t *setting, bool wraparound);
422 
424 
426  rarch_setting_t **list,
427  rarch_setting_info_t *list_info,
428  unsigned values);
429 
431  rarch_setting_t **list,
432  rarch_setting_info_t *list_info,
433  unsigned values);
434 
436  char *s, size_t len);
437 
438 int setting_uint_action_right_with_refresh(rarch_setting_t *setting, bool wraparound);
439 
440 int setting_uint_action_left_with_refresh(rarch_setting_t *setting, bool wraparound) ;
441 
443  char *s, size_t len);
444 
445 int setting_uint_action_left_default(rarch_setting_t *setting, bool wraparound);
446 int setting_uint_action_right_default(rarch_setting_t *setting, bool wraparound);
447 void setting_get_string_representation_uint(rarch_setting_t *setting, char *s, size_t len);
449 #define setting_get_type(setting) ((setting) ? setting->type : ST_NONE)
450 
452 
453 #endif
double max
Definition: setting_list.h:116
double min
Definition: setting_list.h:115
Definition: setting_list.h:51
Definition: setting_list.h:55
bool CONFIG_ACTION_ALT(rarch_setting_t **list, rarch_setting_info_t *list_info, const char *name, const char *SHORT, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group)
Definition: setting_list.c:2165
GLuint const GLchar * name
Definition: glext.h:6671
int(* action_down_handler_t)(rarch_setting_t *setting)
Definition: setting_list.h:80
action_right_handler_t action_right
Definition: setting_list.h:130
int setting_generic_action_ok_default(rarch_setting_t *setting, bool wraparound)
Definition: setting_list.c:429
action_down_handler_t action_down
Definition: setting_list.h:132
bool CONFIG_INT(rarch_setting_t **list, rarch_setting_info_t *list_info, int *target, enum msg_hash_enums name_enum_idx, enum msg_hash_enums SHORT_enum_idx, int default_value, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler)
Definition: setting_list.c:1812
get_string_representation_t get_string_representation
Definition: setting_list.h:136
bool CONFIG_PATH(rarch_setting_t **list, rarch_setting_info_t *list_info, char *target, size_t len, enum msg_hash_enums name_enum_idx, enum msg_hash_enums SHORT_enum_idx, const char *default_value, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler)
Definition: setting_list.c:1957
union rarch_setting::@840 original_value
uint64_t free_flags
Definition: setting_list.h:113
size_t * sizet
Definition: setting_list.h:159
action_left_handler_t action_left
Definition: setting_list.h:129
int * integer
Definition: setting_list.h:155
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
GLboolean GLenum GLenum GLvoid * values
Definition: glext.h:6318
Definition: setting_list.h:56
Definition: setting_list.h:34
Definition: input_driver.h:93
Definition: setting_list.h:60
Definition: setting_list.h:43
bool END_SUB_GROUP(rarch_setting_t **list, rarch_setting_info_t *list_info, const char *parent_group)
Definition: setting_list.c:2251
int setting_uint_action_left_with_refresh(rarch_setting_t *setting, bool wraparound)
Definition: setting_list.c:337
setting_type
Definition: setting_list.h:28
int(* action_select_handler_t)(rarch_setting_t *setting, bool wraparound)
Definition: setting_list.h:84
action_start_handler_t action_start
Definition: setting_list.h:128
GLenum GLsizei len
Definition: glext.h:7389
Definition: setting_list.h:190
size_t sizet
Definition: setting_list.h:146
Definition: setting_list.h:54
bool CONFIG_ACTION(rarch_setting_t **list, rarch_setting_info_t *list_info, enum msg_hash_enums name_enum_idx, enum msg_hash_enums SHORT_enum_idx, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group)
Definition: setting_list.c:2183
Definition: setting_list.h:40
bool START_SUB_GROUP(rarch_setting_t **list, rarch_setting_info_t *list_info, const char *name, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group)
Definition: setting_list.c:2234
uint32_t size
Definition: setting_list.h:108
action_select_handler_t action_select
Definition: setting_list.h:135
float * fraction
Definition: setting_list.h:157
int setting_uint_action_right_default(rarch_setting_t *setting, bool wraparound)
Definition: setting_list.c:287
bool START_GROUP(rarch_setting_t **list, rarch_setting_info_t *list_info, rarch_setting_group_info_t *group_info, const char *name, const char *parent_group)
Definition: setting_list.c:2211
Definition: setting_list.h:68
bool enforce_minrange
Definition: setting_list.h:100
GLdouble s
Definition: glext.h:6390
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
Definition: setting_list.h:92
enum setting_type type
Definition: setting_list.h:97
Definition: setting_list.h:33
change_handler_t change_handler
Definition: setting_list.h:126
int setting_uint_action_right_with_refresh(rarch_setting_t *setting, bool wraparound)
Definition: setting_list.c:324
void settings_data_list_current_add_free_flags(rarch_setting_t **list, rarch_setting_info_t *list_info, unsigned values)
Definition: setting_list.c:2402
Definition: setting_list.h:61
const char * name
Definition: setting_list.h:119
const char * rounding_fraction
Definition: setting_list.h:118
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:6303
int setting_generic_action_start_default(rarch_setting_t *setting)
Definition: setting_list.c:687
float fraction
Definition: setting_list.h:144
bool END_GROUP(rarch_setting_t **list, rarch_setting_info_t *list_info, const char *parent_group)
Definition: setting_list.c:2224
Definition: setting_list.h:69
int(* action_start_handler_t)(rarch_setting_t *setting)
Definition: setting_list.h:81
bool CONFIG_BIND(rarch_setting_t **list, rarch_setting_info_t *list_info, struct retro_keybind *target, uint32_t player, uint32_t player_offset, const char *name, const char *SHORT, const struct retro_keybind *default_value, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group)
Definition: setting_list.c:2115
bool triggered
Definition: setting_list.h:180
struct rarch_setting::@839 value
Definition: setting_list.h:37
action_cancel_handler_t action_cancel
Definition: setting_list.h:133
uint32_t index_offset
Definition: setting_list.h:104
Definition: setting_list.h:87
void setting_get_string_representation_size_in_mb(rarch_setting_t *setting, char *s, size_t len)
Definition: setting_list.c:179
bool CONFIG_UINT_ALT(rarch_setting_t **list, rarch_setting_info_t *list_info, unsigned int *target, const char *name, const char *SHORT, unsigned int default_value, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler)
Definition: setting_list.c:1843
void setting_get_string_representation_uint_as_enum(rarch_setting_t *setting, char *s, size_t len)
Definition: setting_list.c:187
enum setting_type browser_selection_type
Definition: setting_list.h:94
action_up_handler_t action_up
Definition: setting_list.h:131
Definition: setting_list.h:30
const char * empty_path
Definition: setting_list.h:174
Definition: setting_list.h:38
void setting_get_string_representation_uint(rarch_setting_t *setting, char *s, size_t len)
Definition: setting_list.c:163
change_handler_t read_handler
Definition: setting_list.h:127
Definition: setting_list.h:58
Definition: setting_list.h:36
char * string
Definition: setting_list.h:154
const char * name
Definition: setting_list.h:89
unsigned int unsigned_integer
Definition: setting_list.h:143
int size
Definition: setting_list.h:193
int16_t offset_by
Definition: setting_list.h:105
Definition: setting_list.h:52
signed short int16_t
Definition: stdint.h:122
enum msg_hash_enums enum_value_idx
Definition: setting_list.h:96
uint8_t index
Definition: setting_list.h:103
bool CONFIG_STRING_OPTIONS(rarch_setting_t **list, rarch_setting_info_t *list_info, char *target, size_t len, enum msg_hash_enums name_enum_idx, enum msg_hash_enums SHORT_enum_idx, const char *default_value, const char *values, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler)
Definition: setting_list.c:2051
bool CONFIG_BIND_ALT(rarch_setting_t **list, rarch_setting_info_t *list_info, struct retro_keybind *target, uint32_t player, uint32_t player_offset, const char *name, const char *SHORT, const struct retro_keybind *default_value, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group)
Definition: setting_list.c:2140
struct retro_keybind * keybind
Definition: setting_list.h:158
void settings_data_list_current_add_flags(rarch_setting_t **list, rarch_setting_info_t *list_info, unsigned values)
Definition: setting_list.c:2393
Definition: setting_list.h:42
Definition: setting_list.h:59
struct rarch_setting::@842 cmd_trigger
int(* action_ok_handler_t)(rarch_setting_t *setting, bool wraparound)
Definition: setting_list.h:83
bool CONFIG_FLOAT(rarch_setting_t **list, rarch_setting_info_t *list_info, float *target, enum msg_hash_enums name_enum_idx, enum msg_hash_enums SHORT_enum_idx, float default_value, const char *rounding, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler)
Definition: setting_list.c:1929
bool CONFIG_DIR(rarch_setting_t **list, rarch_setting_info_t *list_info, char *target, size_t len, enum msg_hash_enums name_enum_idx, enum msg_hash_enums SHORT_enum_idx, const char *default_value, enum msg_hash_enums empty_enum_idx, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler)
Definition: setting_list.c:1987
Definition: setting_list.h:46
const char * short_description
Definition: setting_list.h:120
const char * string
Definition: setting_list.h:141
const char * off_label
Definition: setting_list.h:185
const char * subgroup
Definition: setting_list.h:122
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
void(* change_handler_t)(rarch_setting_t *data)
Definition: setting_list.h:76
union rarch_setting::@839::@844 target
bool * boolean
Definition: setting_list.h:153
uint64_t flags
Definition: setting_list.h:112
int(* action_up_handler_t)(rarch_setting_t *setting)
Definition: setting_list.h:79
int(* action_right_handler_t)(rarch_setting_t *setting, bool wraparound)
Definition: setting_list.h:78
void(* get_string_representation_t)(rarch_setting_t *setting, char *s, size_t len)
Definition: setting_list.h:85
enum event_command idx
Definition: setting_list.h:179
event_command
Definition: command.h:42
bool CONFIG_HEX(rarch_setting_t **list, rarch_setting_info_t *list_info, unsigned int *target, enum msg_hash_enums name_enum_idx, enum msg_hash_enums SHORT_enum_idx, unsigned int default_value, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler)
Definition: setting_list.c:2084
Definition: setting_list.h:53
union rarch_setting::@838 default_value
unsigned bind_type
Definition: setting_list.h:107
msg_hash_enums
Definition: msg_hash.h:152
enum msg_hash_enums enum_idx
Definition: setting_list.h:95
Definition: setting_list.h:39
Definition: setting_list.h:57
Definition: setting_list.h:44
int(* action_cancel_handler_t)(rarch_setting_t *setting)
Definition: setting_list.h:82
void setting_get_string_representation_hex_and_uint(rarch_setting_t *setting, char *s, size_t len)
Definition: setting_list.c:155
int setting_string_action_start_generic(rarch_setting_t *setting)
Definition: setting_list.c:1376
unsigned setting_get_bind_type(rarch_setting_t *setting)
Definition: setting_list.c:66
const struct retro_keybind * keybind
Definition: setting_list.h:145
Definition: ffmpeg_fft.c:36
bool enforce_maxrange
Definition: setting_list.h:101
int setting_uint_action_left_default(rarch_setting_t *setting, bool wraparound)
Definition: setting_list.c:247
GLsizei const GLfloat * value
Definition: glext.h:6709
int setting_set_with_string_representation(rarch_setting_t *setting, const char *value)
Definition: setting_list.c:457
int integer
Definition: setting_list.h:142
bool dont_use_enum_idx_representation
Definition: setting_list.h:99
bool CONFIG_STRING(rarch_setting_t **list, rarch_setting_info_t *list_info, char *target, size_t len, enum msg_hash_enums name_enum_idx, enum msg_hash_enums SHORT_enum_idx, const char *default_value, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler)
Definition: setting_list.c:2023
bool boolean
Definition: setting_list.h:140
Definition: setting_list.h:35
Definition: setting_list.h:41
bool CONFIG_UINT(rarch_setting_t **list, rarch_setting_info_t *list_info, unsigned int *target, enum msg_hash_enums name_enum_idx, enum msg_hash_enums SHORT_enum_idx, unsigned int default_value, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler)
Definition: setting_list.c:1864
const char * group
Definition: setting_list.h:121
const char * on_label
Definition: setting_list.h:186
setting_flags
Definition: setting_list.h:49
bool CONFIG_SIZE(rarch_setting_t **list, rarch_setting_info_t *list_info, size_t *target, enum msg_hash_enums name_enum_idx, enum msg_hash_enums SHORT_enum_idx, size_t default_value, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler, get_string_representation_t string_representation_handler)
Definition: setting_list.c:1896
GLbitfield flags
Definition: glext.h:7828
int(* action_left_handler_t)(rarch_setting_t *data, bool wraparound)
Definition: setting_list.h:77
Definition: setting_list.h:62
settings_free_flags
Definition: setting_list.h:65
float step
Definition: setting_list.h:110
unsigned __int64 uint64_t
Definition: stdint.h:136
Definition: setting_list.h:45
unsigned char uint8_t
Definition: stdint.h:124
unsigned int uint32_t
Definition: stdint.h:126
const char * values
Definition: setting_list.h:124
Definition: setting_list.h:31
bool CONFIG_BOOL_ALT(rarch_setting_t **list, rarch_setting_info_t *list_info, bool *target, const char *name, const char *SHORT, bool default_value, enum msg_hash_enums off_enum_idx, enum msg_hash_enums on_enum_idx, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler, uint32_t flags)
Definition: setting_list.c:1743
struct rarch_setting::@841 dir
unsigned int * unsigned_integer
Definition: setting_list.h:156
int index
Definition: setting_list.h:192
Definition: setting_list.h:32
Definition: setting_list.h:67
action_ok_handler_t action_ok
Definition: setting_list.h:134
const char * parent_group
Definition: setting_list.h:123
bool CONFIG_BOOL(rarch_setting_t **list, rarch_setting_info_t *list_info, bool *target, enum msg_hash_enums name_enum_idx, enum msg_hash_enums SHORT_enum_idx, bool default_value, enum msg_hash_enums off_enum_idx, enum msg_hash_enums on_enum_idx, rarch_setting_group_info_t *group_info, rarch_setting_group_info_t *subgroup_info, const char *parent_group, change_handler_t change_handler, change_handler_t read_handler, uint32_t flags)
Definition: setting_list.c:1772