Migrate image storage from PICT to BMP

This commit is contained in:
elasota
2020-01-18 21:15:07 -05:00
parent 69ef542969
commit 93b4554961
28 changed files with 438 additions and 344 deletions

View File

@@ -857,7 +857,7 @@ short ChooseOriginalArt (short was)
Boolean PictIDExists (short theID)
{
THandle<Picture> thePicture;
THandle<BitmapImage> thePicture;
// Handle resHandle;
// Str255 resName;
// ResType resType;
@@ -870,7 +870,7 @@ Boolean PictIDExists (short theID)
thePicture = GetPicture(theID);
if (thePicture == nil)
{
thePicture = GetResource('Date', theID).StaticCast<Picture>();
thePicture = GetResource('Date', theID).StaticCast<BitmapImage>();
if (thePicture == nil)
{
foundIt = false;