1 /* RetroArch - A frontend for libretro. 2 * Copyright (C) 2011-2017 - Daniel De Matteis 3 * Copyright (C) 2014-2017 - Jean-André Santoni 4 * Copyright (C) 2016-2019 - Brad Parker 5 * Copyright (C) 2018 - Alfredo Monclús 6 * Copyright (C) 2018 - natinusala 7 * 8 * RetroArch is free software: you can redistribute it and/or modify it under the terms 9 * of the GNU General Public License as published by the Free Software Found- 10 * ation, either version 3 of the License, or (at your option) any later version. 11 * 12 * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 13 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 14 * PURPOSE. See the GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License along with RetroArch. 17 * If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 #include "ozone.h" 21 22 #include "../../../gfx/gfx_display.h" 23 24 #include "../../menu_driver.h" 25 26 void ozone_draw_cursor( 27 ozone_handle_t *ozone, 28 gfx_display_t *p_disp, 29 void *userdata, 30 unsigned video_width, 31 unsigned video_height, 32 int x_offset, 33 unsigned width, unsigned height, 34 size_t y, float alpha); 35 36 void ozone_draw_icon( 37 gfx_display_t *p_disp, 38 void *userdata, 39 unsigned video_width, 40 unsigned video_height, 41 unsigned icon_width, 42 unsigned icon_height, 43 uintptr_t texture, 44 float x, float y, 45 unsigned width, unsigned height, 46 float rotation, float scale_factor, 47 float *color); 48 49 void ozone_restart_cursor_animation(ozone_handle_t *ozone); 50 51 void ozone_draw_backdrop( 52 void *userdata, 53 void *disp_data, 54 unsigned video_width, 55 unsigned video_height, 56 float alpha); 57 58 void ozone_draw_osk( 59 ozone_handle_t *ozone, 60 void *userdata, 61 void *disp_userdata, 62 unsigned video_width, 63 unsigned video_height, 64 const char *label, const char *str); 65 66 void ozone_draw_messagebox( 67 ozone_handle_t *ozone, 68 gfx_display_t *p_disp, 69 void *userdata, 70 unsigned video_width, 71 unsigned video_height, 72 const char *message); 73 74 void ozone_draw_fullscreen_thumbnails( 75 ozone_handle_t *ozone, 76 void *userdata, 77 void *disp_userdata, 78 unsigned video_width, 79 unsigned video_height 80 ); 81