RetroArch
menu_dialog.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  * Copyright (C) 2011-2017 - Daniel De Matteis
4  * Copyright (C) 2016-2017 - Brad Parker
5  *
6  * RetroArch is free software: you can redistribute it and/or modify it under the terms
7  * of the GNU General Public License as published by the Free Software Found-
8  * ation, either version 3 of the License, or (at your option) any later version.
9  *
10  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  * PURPOSE. See the GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along with RetroArch.
15  * If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef _MENU_DIALOG_H
19 #define _MENU_DIALOG_H
20 
21 #include <stdint.h>
22 #include <stdlib.h>
23 
24 #include <boolean.h>
25 
26 #include <retro_common_api.h>
27 
28 #include "../../msg_hash.h"
29 
31 {
48 };
49 
51 
53  bool push, enum menu_dialog_type type);
54 
56  char *s, size_t len, const char *label);
57 
59 
61 
62 void menu_dialog_push(void);
63 
64 void menu_dialog_reset(void);
65 
68 
69 bool menu_dialog_is_active(void);
70 
71 void menu_dialog_set_current_id(unsigned id);
72 
73 void menu_dialog_set_active(bool on);
74 
76 
78 
79 #endif
Definition: menu_dialog.h:37
int menu_dialog_iterate(char *s, size_t len, const char *label)
Definition: menu_dialog.c:45
Definition: menu_dialog.h:43
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
Definition: menu_dialog.h:42
Definition: menu_dialog.h:46
Definition: menu_dialog.h:38
GLenum GLsizei len
Definition: glext.h:7389
GLdouble s
Definition: glext.h:6390
enum menu_dialog_type menu_dialog_get_current_type(void)
Definition: menu_dialog.c:315
Definition: menu_dialog.h:47
void menu_dialog_show_message(enum menu_dialog_type type, enum msg_hash_enums msg)
Definition: menu_dialog.c:293
menu_dialog_type
Definition: menu_dialog.h:30
GLuint GLsizei const GLchar * label
Definition: glext.h:8583
void menu_dialog_set_current_id(unsigned id)
Definition: menu_dialog.c:278
Definition: menu_dialog.h:35
void menu_dialog_reset(void)
Definition: menu_dialog.c:283
Definition: menu_dialog.h:36
GLenum type
Definition: glext.h:6233
Definition: menu_dialog.h:32
void menu_dialog_push(void)
Definition: menu_dialog.c:257
static const unsigned char msg[]
Definition: ccm.c:375
Definition: menu_dialog.h:39
bool menu_dialog_is_active(void)
Definition: menu_dialog.c:305
Definition: menu_dialog.h:44
void menu_dialog_unset_pending_push(void)
Definition: menu_dialog.c:245
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
Definition: menu_dialog.h:33
RETRO_BEGIN_DECLS void menu_dialog_push_pending(bool push, enum menu_dialog_type type)
Definition: menu_dialog.c:250
Definition: menu_dialog.h:45
msg_hash_enums
Definition: msg_hash.h:152
Definition: menu_dialog.h:41
bool menu_dialog_is_push_pending(void)
Definition: menu_dialog.c:240
void menu_dialog_set_active(bool on)
Definition: menu_dialog.c:310
static int push(struct mg_context *ctx, FILE *fp, SOCKET sock, SSL *ssl, const char *buf, int len, double timeout)
Definition: civetweb.c:3638
Definition: menu_dialog.h:34