mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Migrate image storage from PICT to BMP
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user