Move the entire custom application font handling into the backend

Some backends may not require a copy of the data, for example.
This commit is contained in:
Simon Hausmann 2021-01-07 11:49:34 +01:00
parent 1ed35fb628
commit edb17f996f
5 changed files with 22 additions and 20 deletions

View file

@ -152,7 +152,6 @@ struct MyStruct {
pub use sixtyfps_macros::sixtyfps;
pub use sixtyfps_corelib::graphics::register_application_font_from_memory;
pub use sixtyfps_corelib::model::{
Model, ModelHandle, ModelNotify, ModelPeer, StandardListViewItem, VecModel,
};
@ -160,6 +159,7 @@ pub use sixtyfps_corelib::sharedvector::SharedVector;
pub use sixtyfps_corelib::string::SharedString;
pub use sixtyfps_corelib::timers::{Timer, TimerMode};
pub use sixtyfps_corelib::{Color, RgbaColor};
pub use sixtyfps_rendering_backend_default::register_application_font_from_memory;
// FIXME: this should not be in this namespace
// but the name is `sixtyfps::StateInfo` in builtin.60