summaryrefslogtreecommitdiff
path: root/src/ui/mediaui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/mediaui.h')
-rw-r--r--src/ui/mediaui.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/mediaui.h b/src/ui/mediaui.h
index 73de1994..03ea0afc 100644
--- a/src/ui/mediaui.h
+++ b/src/ui/mediaui.h
@@ -22,6 +22,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
22 22
23#pragma once 23#pragma once
24 24
25#include "../media.h"
26
25#include <the_Foundation/rect.h> 27#include <the_Foundation/rect.h>
26#include <SDL_events.h> 28#include <SDL_events.h>
27 29
@@ -46,8 +48,6 @@ void draw_PlayerUI (iPlayerUI *, iPaint *p);
46 48
47/*----------------------------------------------------------------------------------------------*/ 49/*----------------------------------------------------------------------------------------------*/
48 50
49iDeclareType(DocumentWidget)
50iDeclareType(Media)
51iDeclareType(DownloadUI) 51iDeclareType(DownloadUI)
52 52
53struct Impl_DownloadUI { 53struct Impl_DownloadUI {
@@ -67,8 +67,9 @@ iDeclareType(FontpackUI)
67struct Impl_FontpackUI { 67struct Impl_FontpackUI {
68 const iMedia *media; 68 const iMedia *media;
69 uint16_t mediaId; 69 uint16_t mediaId;
70 iFontpackMediaInfo info;
70 iRect bounds; 71 iRect bounds;
71 iRect installRect; 72 iRect buttonRect;
72}; 73};
73 74
74void init_FontpackUI (iFontpackUI *, const iMedia *media, uint16_t mediaId, iRect bounds); 75void init_FontpackUI (iFontpackUI *, const iMedia *media, uint16_t mediaId, iRect bounds);