예제 #1
0
        public virtual Screen GetScreen(string name)
        {
            Screen screen = _screenMap.Get(name);

            if (screen != null)
            {
                return(screen);
            }
            return(null);
        }
예제 #2
0
        public LColor Find(string name)
        {
            if (StringUtils.IsEmpty(name))
            {
                return(LColor.white.Cpy());
            }
            if (dirty)
            {
                Init();
            }
            LColor color = colorList.Get(name.Trim().ToLower());

            if (color != null)
            {
                return(color.Cpy());
            }
            return(LColor.white.Cpy());
        }