Game Development Reference
In-Depth Information
DisplayThumbnails();
}
}
[CategoryAttribute(“Texture Browser Settings”),
DescriptionAttribute(“Background color of selected thumbnails”)]
public Color BackgroundColorSelected
{
get { return _backgroundColorSelected; }
set
{
_backgroundColorSelected = value;
_applyAppearance = true;
DisplayThumbnails();
}
}
[CategoryAttribute(“Texture Browser Settings”),
DescriptionAttribute(“Foreground color of selected thumbnails”)]
public Color ForegroundColorSelected
{
get { return _foregroundColorSelected; }
set
{
_foregroundColorSelected = value;
_applyAppearance = true;
DisplayThumbnails();
}
}
public TextureBrowser()
{
InitializeComponent();
this.Loader = LoaderType.Native;
}
public void AddTexture(TextureHandle texture)
{
if (texture != null)
{
_textures.Add(texture);
_rebuildCache = true;
Search Nedrilad ::




Custom Search