RetroArch
Classes | Typedefs | Enumerations | Functions | Variables
ui_companion_driver.h File Reference
#include <stddef.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <lists/file_list.h>
#include "../command.h"
Include dependency graph for ui_companion_driver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ui_msg_window_state
 
struct  ui_browser_window_state
 
struct  ui_browser_window
 
struct  ui_msg_window
 
struct  ui_application
 
struct  ui_window
 
struct  ui_companion_driver
 

Typedefs

typedef struct ui_msg_window_state ui_msg_window_state
 
typedef struct ui_browser_window_state ui_browser_window_state_t
 
typedef struct ui_browser_window ui_browser_window_t
 
typedef struct ui_msg_window ui_msg_window_t
 
typedef struct ui_application ui_application_t
 
typedef struct ui_window ui_window_t
 
typedef struct ui_companion_driver ui_companion_driver_t
 

Enumerations

enum  ui_msg_window_buttons { UI_MSG_WINDOW_OK = 0, UI_MSG_WINDOW_OKCANCEL, UI_MSG_WINDOW_YESNO, UI_MSG_WINDOW_YESNOCANCEL }
 
enum  ui_msg_window_response {
  UI_MSG_RESPONSE_NA = 0, UI_MSG_RESPONSE_OK, UI_MSG_RESPONSE_CANCEL, UI_MSG_RESPONSE_YES,
  UI_MSG_RESPONSE_NO
}
 
enum  ui_msg_window_type { UI_MSG_WINDOW_TYPE_ERROR = 0, UI_MSG_WINDOW_TYPE_INFORMATION, UI_MSG_WINDOW_TYPE_QUESTION, UI_MSG_WINDOW_TYPE_WARNING }
 

Functions

const ui_companion_driver_tui_companion_find_driver (const char *ident)
 
const ui_companion_driver_tui_companion_get_ptr (void)
 
const ui_companion_driver_tui_companion_init_first (void)
 
void ui_companion_driver_init_first (void)
 
bool ui_companion_is_on_foreground (void)
 
void ui_companion_set_foreground (unsigned enable)
 
void ui_companion_event_command (enum event_command action)
 
void ui_companion_driver_deinit (void)
 
void ui_companion_driver_notify_refresh (void)
 
void ui_companion_driver_notify_list_loaded (file_list_t *list, file_list_t *menu_list)
 
void ui_companion_driver_notify_content_loaded (void)
 
void ui_companion_driver_toggle (bool force)
 
void ui_companion_driver_free (void)
 
const ui_msg_window_tui_companion_driver_get_msg_window_ptr (void)
 
const ui_browser_window_tui_companion_driver_get_browser_window_ptr (void)
 
const ui_window_tui_companion_driver_get_window_ptr (void)
 
const ui_application_tui_companion_driver_get_application_ptr (void)
 
void ui_companion_driver_log_msg (const char *msg)
 
void ui_companion_driver_msg_queue_push (const char *msg, unsigned priority, unsigned duration, bool flush)
 
voidui_companion_driver_get_main_window (void)
 
const char * ui_companion_driver_get_ident (void)
 

Variables

ui_browser_window_t ui_browser_window_null
 
ui_browser_window_t ui_browser_window_cocoa
 
ui_browser_window_t ui_browser_window_qt
 
ui_browser_window_t ui_browser_window_win32
 
ui_window_t ui_window_null
 
ui_window_t ui_window_cocoa
 
ui_window_t ui_window_qt
 
ui_window_t ui_window_win32
 
ui_msg_window_t ui_msg_window_null
 
ui_msg_window_t ui_msg_window_win32
 
ui_msg_window_t ui_msg_window_qt
 
ui_msg_window_t ui_msg_window_cocoa
 
ui_application_t ui_application_null
 
ui_application_t ui_application_cocoa
 
ui_application_t ui_application_qt
 
ui_application_t ui_application_win32
 
ui_companion_driver_t ui_companion_null
 
ui_companion_driver_t ui_companion_cocoa
 
ui_companion_driver_t ui_companion_cocoatouch
 
ui_companion_driver_t ui_companion_qt
 
ui_companion_driver_t ui_companion_win32
 

Typedef Documentation

◆ ui_application_t

◆ ui_browser_window_state_t

◆ ui_browser_window_t

◆ ui_companion_driver_t

◆ ui_msg_window_state

◆ ui_msg_window_t

◆ ui_window_t

typedef struct ui_window ui_window_t

Enumeration Type Documentation

◆ ui_msg_window_buttons

Enumerator
UI_MSG_WINDOW_OK 
UI_MSG_WINDOW_OKCANCEL 
UI_MSG_WINDOW_YESNO 
UI_MSG_WINDOW_YESNOCANCEL 

◆ ui_msg_window_response

Enumerator
UI_MSG_RESPONSE_NA 
UI_MSG_RESPONSE_OK 
UI_MSG_RESPONSE_CANCEL 
UI_MSG_RESPONSE_YES 
UI_MSG_RESPONSE_NO 

◆ ui_msg_window_type

Enumerator
UI_MSG_WINDOW_TYPE_ERROR 
UI_MSG_WINDOW_TYPE_INFORMATION 
UI_MSG_WINDOW_TYPE_QUESTION 
UI_MSG_WINDOW_TYPE_WARNING 

Function Documentation

◆ ui_companion_driver_deinit()

void ui_companion_driver_deinit ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_driver_free()

void ui_companion_driver_free ( void  )
Here is the caller graph for this function:

◆ ui_companion_driver_get_application_ptr()

const ui_application_t* ui_companion_driver_get_application_ptr ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_driver_get_browser_window_ptr()

const ui_browser_window_t* ui_companion_driver_get_browser_window_ptr ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_driver_get_ident()

const char* ui_companion_driver_get_ident ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_driver_get_main_window()

void* ui_companion_driver_get_main_window ( void  )
Here is the call graph for this function:

◆ ui_companion_driver_get_msg_window_ptr()

const ui_msg_window_t* ui_companion_driver_get_msg_window_ptr ( void  )
Here is the call graph for this function:

◆ ui_companion_driver_get_window_ptr()

const ui_window_t* ui_companion_driver_get_window_ptr ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_driver_init_first()

void ui_companion_driver_init_first ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_driver_log_msg()

void ui_companion_driver_log_msg ( const char *  msg)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_driver_msg_queue_push()

void ui_companion_driver_msg_queue_push ( const char *  msg,
unsigned  priority,
unsigned  duration,
bool  flush 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_driver_notify_content_loaded()

void ui_companion_driver_notify_content_loaded ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_driver_notify_list_loaded()

void ui_companion_driver_notify_list_loaded ( file_list_t list,
file_list_t menu_list 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_driver_notify_refresh()

void ui_companion_driver_notify_refresh ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_driver_toggle()

void ui_companion_driver_toggle ( bool  force)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_event_command()

void ui_companion_event_command ( enum event_command  action)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ui_companion_find_driver()

const ui_companion_driver_t* ui_companion_find_driver ( const char *  ident)

ui_companion_find_driver: : Identifier name of driver to find.

Finds driver with . Does not initialize.

Returns: pointer to driver if successful, otherwise NULL.

Here is the call graph for this function:

◆ ui_companion_get_ptr()

const ui_companion_driver_t* ui_companion_get_ptr ( void  )
Here is the caller graph for this function:

◆ ui_companion_init_first()

const ui_companion_driver_t* ui_companion_init_first ( void  )

ui_companion_init_first:

Finds first suitable driver and initialize.

Returns: pointer to first suitable driver, otherwise NULL.

Here is the caller graph for this function:

◆ ui_companion_is_on_foreground()

bool ui_companion_is_on_foreground ( void  )
Here is the caller graph for this function:

◆ ui_companion_set_foreground()

void ui_companion_set_foreground ( unsigned  enable)
Here is the caller graph for this function:

Variable Documentation

◆ ui_application_cocoa

◆ ui_application_null

ui_application_t ui_application_null

◆ ui_application_qt

◆ ui_application_win32

◆ ui_browser_window_cocoa

ui_browser_window_t ui_browser_window_cocoa

◆ ui_browser_window_null

ui_browser_window_t ui_browser_window_null

◆ ui_browser_window_qt

ui_browser_window_t ui_browser_window_qt

◆ ui_browser_window_win32

ui_browser_window_t ui_browser_window_win32

◆ ui_companion_cocoa

◆ ui_companion_cocoatouch

◆ ui_companion_null

◆ ui_companion_qt

◆ ui_companion_win32

◆ ui_msg_window_cocoa

ui_msg_window_t ui_msg_window_cocoa

◆ ui_msg_window_null

ui_msg_window_t ui_msg_window_null

◆ ui_msg_window_qt

ui_msg_window_t ui_msg_window_qt

◆ ui_msg_window_win32

ui_msg_window_t ui_msg_window_win32

◆ ui_window_cocoa

◆ ui_window_null

ui_window_t ui_window_null

◆ ui_window_qt

◆ ui_window_win32