diff options
Diffstat (limited to 'src/ui/mediaui.h')
-rw-r--r-- | src/ui/mediaui.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ui/mediaui.h b/src/ui/mediaui.h index a1f4ca9b..e79dedc0 100644 --- a/src/ui/mediaui.h +++ b/src/ui/mediaui.h | |||
@@ -23,6 +23,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
23 | #pragma once | 23 | #pragma once |
24 | 24 | ||
25 | #include <the_Foundation/rect.h> | 25 | #include <the_Foundation/rect.h> |
26 | #include <SDL_events.h> | ||
26 | 27 | ||
27 | iDeclareType(Paint) | 28 | iDeclareType(Paint) |
28 | iDeclareType(Player) | 29 | iDeclareType(Player) |
@@ -42,3 +43,19 @@ struct Impl_PlayerUI { | |||
42 | 43 | ||
43 | void init_PlayerUI (iPlayerUI *, const iPlayer *player, iRect bounds); | 44 | void init_PlayerUI (iPlayerUI *, const iPlayer *player, iRect bounds); |
44 | void draw_PlayerUI (iPlayerUI *, iPaint *p); | 45 | void draw_PlayerUI (iPlayerUI *, iPaint *p); |
46 | |||
47 | /*----------------------------------------------------------------------------------------------*/ | ||
48 | |||
49 | iDeclareType(DocumentWidget) | ||
50 | iDeclareType(Media) | ||
51 | iDeclareType(DownloadUI) | ||
52 | |||
53 | struct Impl_DownloadUI { | ||
54 | const iDocumentWidget *doc; | ||
55 | uint16_t mediaId; | ||
56 | iRect bounds; | ||
57 | }; | ||
58 | |||
59 | void init_DownloadUI (iDownloadUI *, const iDocumentWidget *doc, uint16_t mediaId, iRect bounds); | ||
60 | iBool processEvent_DownloadUI (iDownloadUI *, const SDL_Event *ev); | ||
61 | void draw_DownloadUI (const iDownloadUI *, iPaint *p); | ||