ferroui_media_controls/
lib.rs1#![forbid(unsafe_code)]
3mod renderer_host;
4mod texture_presenter;
5pub use renderer_host::RendererHost;
6pub use texture_presenter::*;
7const NAMESPACES: &[(&str, &str)] = &[
9 ("ferroui_media", "FerroUI.Media"),
10 ("ferroui_media_controls", "FerroUI.Media.Controls"),
11];
12const TYPES: &[&ferroui_base::TypeInfo] = &[TexturePresenter::TYPE, RendererHost::TYPE];
13pub fn register_types() {
18 static ONCE: std::sync::Once = std::sync::Once::new();
19 ONCE.call_once(|| {
20 ferroui_controls::register_types();
21 ferroui_base::TypeInfo::register_namespaces(NAMESPACES);
22 ferroui_base::TypeInfo::register_table(TYPES);
23 });
24}