Example #1
0
        protected override void AddStatus(string pageId, string value)
        {
            Color col = ToolSet.ConvertFromHtmlColor(value);

            if (pageId == null)
            {
                _default.color = col;
            }
            else
            {
                _storage[pageId] = new GearColorValue(col);
            }
        }
Example #2
0
 protected override void Init()
 {
     _default = new GearColorValue(((IColorGear)_owner).color);
     _storage = new Dictionary <string, GearColorValue>();
 }