Move StateInfo to the private namespace

This commit is contained in:
Olivier Goffart 2021-06-28 11:18:58 +02:00
parent daff9e8e65
commit 16ba23ae47
4 changed files with 16 additions and 19 deletions

View file

@ -208,11 +208,6 @@ pub fn register_font_from_path<P: AsRef<std::path::Path>>(
sixtyfps_rendering_backend_default::backend().register_font_from_path(path.as_ref())
}
// FIXME: this should not be in this namespace
// but the name is `sixtyfps::StateInfo` in builtin.60
#[doc(hidden)]
pub use sixtyfps_corelib::properties::StateInfo;
/// internal re_exports used by the macro generated
#[doc(hidden)]
pub mod re_exports {
@ -241,7 +236,9 @@ pub mod re_exports {
pub use sixtyfps_corelib::items::*;
pub use sixtyfps_corelib::layout::*;
pub use sixtyfps_corelib::model::*;
pub use sixtyfps_corelib::properties::{set_state_binding, Property, PropertyTracker};
pub use sixtyfps_corelib::properties::{
set_state_binding, Property, PropertyTracker, StateInfo,
};
pub use sixtyfps_corelib::slice::Slice;
pub use sixtyfps_corelib::window::ComponentWindow;
pub use sixtyfps_corelib::Color;