diff options
Diffstat (limited to 'src/ui/mediaui.h')
-rw-r--r-- | src/ui/mediaui.h | 7 |
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 | ||
49 | iDeclareType(DocumentWidget) | ||
50 | iDeclareType(Media) | ||
51 | iDeclareType(DownloadUI) | 51 | iDeclareType(DownloadUI) |
52 | 52 | ||
53 | struct Impl_DownloadUI { | 53 | struct Impl_DownloadUI { |
@@ -67,8 +67,9 @@ iDeclareType(FontpackUI) | |||
67 | struct Impl_FontpackUI { | 67 | struct 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 | ||
74 | void init_FontpackUI (iFontpackUI *, const iMedia *media, uint16_t mediaId, iRect bounds); | 75 | void init_FontpackUI (iFontpackUI *, const iMedia *media, uint16_t mediaId, iRect bounds); |