added iff, lbm and bmp filetypes to the fileselect. added loading of bmp images,

modified drawing of the imageselect, and a bugfix for popups.
This commit is contained in:
2003-01-29 11:28:15 +00:00
parent e469083a33
commit 768603383e
4 changed files with 101 additions and 15 deletions

View File

@@ -504,10 +504,13 @@ void test_flags_file(SpaceFile *sfile)
file->flags |= PSXFILE;
}
} else if (sfile->type==FILE_SPECIAL){
if(BLI_testextensie(file->relname, ".jpg") ||
if( BLI_testextensie(file->relname, ".jpg") ||
BLI_testextensie(file->relname, ".tga") ||
BLI_testextensie(file->relname, ".rgb") ||
BLI_testextensie(file->relname, ".png") ||
BLI_testextensie(file->relname, ".bmp") ||
BLI_testextensie(file->relname, ".iff") ||
BLI_testextensie(file->relname, ".lbm") ||
BLI_testextensie(file->relname, ".sgi")) {
file->flags |= IMAGEFILE;
}