public Size GetResourceSize(string url) { ImageResource ir = ResourceManager.Instance.GetResource(url); if (ir == null) { return(ucore.Const.ZERO_SIZE); } return(ir.Size); }
public void AddResouce(ImageResource res) { m_resLut.Add(res.Name, res); }