Fix asset imports

Former-commit-id: 57e3f136aa61d4e7431f147a79e8ea29fd992328
This commit is contained in:
timokoesters 2019-04-25 22:19:15 +02:00 committed by Imbris
parent c7dd3e96cc
commit 3f0f8b84d1
3 changed files with 4 additions and 2 deletions
voxygen/src
assets
menu
char_selection
main

View File

@ -49,7 +49,7 @@ macro_rules! image_ids {
impl $Ids {
pub fn load(ui: &mut Ui) -> Result<Self, std::io::Error> {
Ok(Self {
$( $name: Id::to_ui_asset(<$T>::load($file)?, ui), )*
$( $name: UiId::to_ui_asset(<$T>::load($file)?, ui), )*
})
}
}

View File

@ -1,4 +1,5 @@
use crate::{
assets,
render::Renderer,
ui::{self, ScaleMode, Ui},
window::Window,

View File

@ -1,10 +1,11 @@
use crate::{
assets,
render::Renderer,
ui::{self, ScaleMode, Ui},
window::Window,
GlobalState, DEFAULT_PUBLIC_SERVER,
};
use common::{assets, figure::Segment};
use common::figure::Segment;
use conrod_core::{
color,
color::TRANSPARENT,