RetroArch
Classes | Macros | Typedefs | Functions
ozone.h File Reference
#include "ozone_theme.h"
#include "ozone_sidebar.h"
#include <retro_miscellaneous.h>
#include "../../menu_driver.h"
#include "../../../retroarch.h"
Include dependency graph for ozone.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ozone_handle
 
struct  ozone_node
 

Macros

#define FONT_SIZE_FOOTER   18
 
#define FONT_SIZE_TITLE   36
 
#define FONT_SIZE_TIME   22
 
#define FONT_SIZE_ENTRIES_LABEL   24
 
#define FONT_SIZE_ENTRIES_SUBLABEL   18
 
#define FONT_SIZE_SIDEBAR   24
 
#define ANIMATION_PUSH_ENTRY_DURATION   10
 
#define ANIMATION_CURSOR_DURATION   8
 
#define ANIMATION_CURSOR_PULSE   30
 
#define ENTRIES_START_Y   127
 
#define INTERVAL_BATTERY_LEVEL_CHECK   (30 * 1000000)
 
#define INTERVAL_OSK_CURSOR   (0.5f * 1000000)
 

Typedefs

typedef struct ozone_handle ozone_handle_t
 
typedef struct ozone_node ozone_node_t
 

Functions

void ozone_draw_entries (ozone_handle_t *ozone, video_frame_info_t *video_info, unsigned selection, unsigned selection_old, file_list_t *selection_buf, float alpha, float scroll_y, bool is_playlist)
 
void ozone_draw_sidebar (ozone_handle_t *ozone, video_frame_info_t *video_info)
 
void ozone_change_tab (ozone_handle_t *ozone, enum msg_hash_enums tab, enum menu_settings_type type)
 
void ozone_sidebar_goto (ozone_handle_t *ozone, unsigned new_selection)
 
unsigned ozone_get_sidebar_height (ozone_handle_t *ozone)
 
unsigned ozone_get_selected_sidebar_y_position (ozone_handle_t *ozone)
 
void ozone_leave_sidebar (ozone_handle_t *ozone, uintptr_t tag)
 
void ozone_go_to_sidebar (ozone_handle_t *ozone, uintptr_t tag)
 
void ozone_refresh_horizontal_list (ozone_handle_t *ozone)
 
void ozone_init_horizontal_list (ozone_handle_t *ozone)
 
void ozone_context_destroy_horizontal_list (ozone_handle_t *ozone)
 
void ozone_context_reset_horizontal_list (ozone_handle_t *ozone)
 
ozone_node_tozone_alloc_node ()
 
size_t ozone_list_get_size (void *data, enum menu_list_type type)
 
void ozone_free_list_nodes (file_list_t *list, bool actiondata)
 
bool ozone_is_playlist (ozone_handle_t *ozone)
 

Macro Definition Documentation

◆ ANIMATION_CURSOR_DURATION

#define ANIMATION_CURSOR_DURATION   8

◆ ANIMATION_CURSOR_PULSE

#define ANIMATION_CURSOR_PULSE   30

◆ ANIMATION_PUSH_ENTRY_DURATION

#define ANIMATION_PUSH_ENTRY_DURATION   10

◆ ENTRIES_START_Y

#define ENTRIES_START_Y   127

◆ FONT_SIZE_ENTRIES_LABEL

#define FONT_SIZE_ENTRIES_LABEL   24

◆ FONT_SIZE_ENTRIES_SUBLABEL

#define FONT_SIZE_ENTRIES_SUBLABEL   18

◆ FONT_SIZE_FOOTER

#define FONT_SIZE_FOOTER   18

◆ FONT_SIZE_SIDEBAR

#define FONT_SIZE_SIDEBAR   24

◆ FONT_SIZE_TIME

#define FONT_SIZE_TIME   22

◆ FONT_SIZE_TITLE

#define FONT_SIZE_TITLE   36

◆ INTERVAL_BATTERY_LEVEL_CHECK

#define INTERVAL_BATTERY_LEVEL_CHECK   (30 * 1000000)

◆ INTERVAL_OSK_CURSOR

#define INTERVAL_OSK_CURSOR   (0.5f * 1000000)

Typedef Documentation

◆ ozone_handle_t

typedef struct ozone_handle ozone_handle_t

◆ ozone_node_t

typedef struct ozone_node ozone_node_t

Function Documentation

◆ ozone_alloc_node()

ozone_node_t* ozone_alloc_node ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_change_tab()

void ozone_change_tab ( ozone_handle_t ozone,
enum msg_hash_enums  tab,
enum menu_settings_type  type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_context_destroy_horizontal_list()

void ozone_context_destroy_horizontal_list ( ozone_handle_t ozone)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_context_reset_horizontal_list()

void ozone_context_reset_horizontal_list ( ozone_handle_t ozone)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_draw_entries()

void ozone_draw_entries ( ozone_handle_t ozone,
video_frame_info_t video_info,
unsigned  selection,
unsigned  selection_old,
file_list_t selection_buf,
float  alpha,
float  scroll_y,
bool  is_playlist 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_draw_sidebar()

void ozone_draw_sidebar ( ozone_handle_t ozone,
video_frame_info_t video_info 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_free_list_nodes()

void ozone_free_list_nodes ( file_list_t list,
bool  actiondata 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_get_selected_sidebar_y_position()

unsigned ozone_get_selected_sidebar_y_position ( ozone_handle_t ozone)
Here is the caller graph for this function:

◆ ozone_get_sidebar_height()

unsigned ozone_get_sidebar_height ( ozone_handle_t ozone)
Here is the caller graph for this function:

◆ ozone_go_to_sidebar()

void ozone_go_to_sidebar ( ozone_handle_t ozone,
uintptr_t  tag 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_init_horizontal_list()

void ozone_init_horizontal_list ( ozone_handle_t ozone)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_is_playlist()

bool ozone_is_playlist ( ozone_handle_t ozone)
Here is the caller graph for this function:

◆ ozone_leave_sidebar()

void ozone_leave_sidebar ( ozone_handle_t ozone,
uintptr_t  tag 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_list_get_size()

size_t ozone_list_get_size ( void data,
enum menu_list_type  type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_refresh_horizontal_list()

void ozone_refresh_horizontal_list ( ozone_handle_t ozone)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_sidebar_goto()

void ozone_sidebar_goto ( ozone_handle_t ozone,
unsigned  new_selection 
)
Here is the call graph for this function:
Here is the caller graph for this function: