RetroArch
Functions
ozone_display.c File Reference
#include "ozone.h"
#include "ozone_display.h"
#include "ozone_theme.h"
#include <string/stdstring.h>
#include <file/file_path.h>
#include <encodings/utf.h>
#include <lists/string_list.h>
#include <features/features_cpu.h>
#include "../../menu_input.h"
#include "../../menu_animation.h"
#include "../../widgets/menu_input_dialog.h"
#include "../../widgets/menu_osk.h"
Include dependency graph for ozone_display.c:

Functions

static void ozone_cursor_animation_cb (void *userdata)
 
static void ozone_animate_cursor (ozone_handle_t *ozone, float *dst, float *target)
 
void ozone_restart_cursor_animation (ozone_handle_t *ozone)
 
void ozone_draw_text (video_frame_info_t *video_info, ozone_handle_t *ozone, const char *str, float x, float y, enum text_alignment text_align, unsigned width, unsigned height, font_data_t *font, uint32_t color, bool draw_outside)
 
static void ozone_draw_cursor_slice (ozone_handle_t *ozone, video_frame_info_t *video_info, int x_offset, unsigned width, unsigned height, size_t y, float alpha)
 
static void ozone_draw_cursor_fallback (ozone_handle_t *ozone, video_frame_info_t *video_info, int x_offset, unsigned width, unsigned height, size_t y, float alpha)
 
void ozone_draw_cursor (ozone_handle_t *ozone, video_frame_info_t *video_info, int x_offset, unsigned width, unsigned height, size_t y, float alpha)
 
void ozone_color_alpha (float *color, float alpha)
 
void ozone_draw_icon (video_frame_info_t *video_info, unsigned icon_width, unsigned icon_height, uintptr_t texture, float x, float y, unsigned width, unsigned height, float rotation, float scale_factor, float *color)
 
void ozone_draw_backdrop (video_frame_info_t *video_info, float alpha)
 
void ozone_draw_osk (ozone_handle_t *ozone, video_frame_info_t *video_info, const char *label, const char *str)
 
void ozone_draw_messagebox (ozone_handle_t *ozone, video_frame_info_t *video_info, const char *message)
 

Function Documentation

◆ ozone_animate_cursor()

static void ozone_animate_cursor ( ozone_handle_t ozone,
float *  dst,
float *  target 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_color_alpha()

void ozone_color_alpha ( float *  color,
float  alpha 
)
Here is the caller graph for this function:

◆ ozone_cursor_animation_cb()

static void ozone_cursor_animation_cb ( void userdata)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_draw_backdrop()

void ozone_draw_backdrop ( video_frame_info_t video_info,
float  alpha 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_draw_cursor()

void ozone_draw_cursor ( ozone_handle_t ozone,
video_frame_info_t video_info,
int  x_offset,
unsigned  width,
unsigned  height,
size_t  y,
float  alpha 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_draw_cursor_fallback()

static void ozone_draw_cursor_fallback ( ozone_handle_t ozone,
video_frame_info_t video_info,
int  x_offset,
unsigned  width,
unsigned  height,
size_t  y,
float  alpha 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_draw_cursor_slice()

static void ozone_draw_cursor_slice ( ozone_handle_t ozone,
video_frame_info_t video_info,
int  x_offset,
unsigned  width,
unsigned  height,
size_t  y,
float  alpha 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_draw_icon()

void ozone_draw_icon ( video_frame_info_t video_info,
unsigned  icon_width,
unsigned  icon_height,
uintptr_t  texture,
float  x,
float  y,
unsigned  width,
unsigned  height,
float  rotation,
float  scale_factor,
float *  color 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_draw_messagebox()

void ozone_draw_messagebox ( ozone_handle_t ozone,
video_frame_info_t video_info,
const char *  message 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_draw_osk()

void ozone_draw_osk ( ozone_handle_t ozone,
video_frame_info_t video_info,
const char *  label,
const char *  str 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_draw_text()

void ozone_draw_text ( video_frame_info_t video_info,
ozone_handle_t ozone,
const char *  str,
float  x,
float  y,
enum text_alignment  text_align,
unsigned  width,
unsigned  height,
font_data_t font,
uint32_t  color,
bool  draw_outside 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_restart_cursor_animation()

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