added a palette chooser and colorpicker dropdown to the browser

This commit is contained in:
Matthias Mailänder
2013-11-17 20:20:45 +01:00
parent d9ac907315
commit e981275cb1
4 changed files with 127 additions and 39 deletions

View File

@@ -44,5 +44,15 @@ namespace OpenRA.Mods.RA
if (info.Tileset == null || info.Tileset.ToLowerInvariant() == world.Map.Tileset.ToLowerInvariant())
wr.AddPalette(info.Name, new Palette(FileSystem.Open(info.Filename), info.ShadowIndex), info.AllowModifiers);
}
public string Filename
{
get { return info.Filename; }
}
public string Name
{
get { return info.Name; }
}
}
}