2012-08-20 18:45:48 +02:00
|
|
|
/* RetroArch - A frontend for libretro.
|
|
|
|
* Copyright (C) 2010-2012 - Hans-Kristian Arntzen
|
|
|
|
* Copyright (C) 2011-2012 - Daniel De Matteis
|
|
|
|
*
|
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _RMENU_STACK_H_
|
|
|
|
#define _RMENU_STACK_H_
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
char title[32];
|
|
|
|
unsigned char enum_id;
|
|
|
|
unsigned char selected;
|
|
|
|
unsigned char page;
|
|
|
|
unsigned char first_setting;
|
|
|
|
unsigned char max_settings;
|
|
|
|
unsigned char category_id;
|
2012-12-17 00:32:16 +01:00
|
|
|
int (*iterate)(void *data, uint64_t input);
|
2012-12-17 01:02:45 +01:00
|
|
|
int (*input_iterate)(void *data, uint64_t input);
|
2012-12-17 00:32:16 +01:00
|
|
|
void (*browser_draw)(void *data);
|
2012-08-20 18:45:48 +02:00
|
|
|
} menu;
|
|
|
|
|
2012-12-17 01:02:45 +01:00
|
|
|
// iterate forward declarations
|
|
|
|
int select_file(void *data, uint64_t input);
|
|
|
|
int select_directory(void *data, uint64_t input);
|
|
|
|
int select_setting(void *data, uint64_t input);
|
|
|
|
int select_rom(void *data, uint64_t input);
|
|
|
|
int ingame_menu_resize(void *data, uint64_t input);
|
|
|
|
int ingame_menu_screenshot(void *data, uint64_t input);
|
|
|
|
int ingame_menu(void *data, uint64_t input);
|
|
|
|
|
|
|
|
// input iterate forward declarations
|
|
|
|
int select_rom_input_iterate(void *data, uint64_t input);
|
|
|
|
|
|
|
|
// browser_draw forward declarations
|
|
|
|
void browser_render(void *data);
|
|
|
|
|
2012-08-20 18:45:48 +02:00
|
|
|
#endif
|