WindowDrawList: Cannot use WindowDrawList::new outside of crate

This commit is contained in:
Malik Olivier Boussejra 2018-04-15 15:21:42 +09:00
parent 3aa807b173
commit 9a65a64eca

View File

@ -64,7 +64,7 @@ impl<'ui> DrawAPI for WindowDrawList<'ui> {
}
impl<'ui> WindowDrawList<'ui> {
pub fn new(_: &Ui<'ui>) -> Self {
pub(crate) fn new(_: &Ui<'ui>) -> Self {
Self {
draw_list: unsafe { sys::igGetWindowDrawList() },
_phantom: PhantomData,