Renamed sheet.png to defaut_skin_sheet.png. Added some temporary icons in the sheet for future tools.

This commit is contained in:
David Capello 2010-03-07 12:03:47 -02:00
parent 862ae6078c
commit 7da47af726
3 changed files with 3 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -332,9 +332,9 @@ SkinneableTheme::SkinneableTheme()
for (int c=0; c<PARTS; ++c)
m_part[c] = NULL;
// Try to load the skin data
// Load the skin sheet
{
DIRS* dirs = filename_in_datadir("skins/sheet.png");
DIRS* dirs = filename_in_datadir("skins/default_skin_sheet.png");
for (DIRS* dir=dirs; dir; dir=dir->next) {
if ((dir->path) && exists(dir->path)) {
int old_color_conv = _color_conv;
@ -349,9 +349,8 @@ SkinneableTheme::SkinneableTheme()
}
dirs_free(dirs);
}
if (!m_sheet_bmp)
throw ase_exception("Error loading data/skins/sheet.png file");
throw ase_exception("Error loading data/skins/default_skin_sheet.png file");
}
SkinneableTheme::~SkinneableTheme()