mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Migrate image storage from PICT to BMP
This commit is contained in:
@@ -36,9 +36,9 @@ PixMapHandle GetGWorldPixMap(DrawSurface *gworld)
|
||||
return gworld->m_port.GetPixMap();
|
||||
}
|
||||
|
||||
THandle<Picture> GetPicture(short resID)
|
||||
THandle<BitmapImage> GetPicture(short resID)
|
||||
{
|
||||
return PortabilityLayer::ResourceManager::GetInstance()->GetResource('PICT', resID).StaticCast<Picture>();
|
||||
return PortabilityLayer::ResourceManager::GetInstance()->GetResource('PICT', resID).StaticCast<BitmapImage>();
|
||||
}
|
||||
|
||||
void OffsetRect(Rect *rect, int right, int down)
|
||||
|
Reference in New Issue
Block a user