mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
File system refactoring
This commit is contained in:
@@ -232,9 +232,9 @@ namespace PortabilityLayer
|
||||
}
|
||||
}
|
||||
|
||||
OSErr NewGWorld(GWorldPtr *gworld, int depth, const Rect *bounds, CTabHandle colorTable, int flags)
|
||||
PLError_t NewGWorld(GWorldPtr *gworld, GpPixelFormat_t pixelFormat, const Rect *bounds, CTabHandle colorTable)
|
||||
{
|
||||
return PortabilityLayer::QDManager::GetInstance()->NewGWorld(gworld, depth, *bounds, colorTable, flags);
|
||||
return PortabilityLayer::QDManager::GetInstance()->NewGWorld(gworld, pixelFormat, *bounds, colorTable);
|
||||
}
|
||||
|
||||
void DisposeGWorld(GWorldPtr gworld)
|
||||
@@ -250,11 +250,6 @@ PixMapHandle GetGWorldPixMap(GWorldPtr gworld)
|
||||
return gworld->m_port.GetPixMap();
|
||||
}
|
||||
|
||||
void LockPixels(PixMapHandle pixmap)
|
||||
{
|
||||
(void)pixmap;
|
||||
}
|
||||
|
||||
PicHandle GetPicture(short resID)
|
||||
{
|
||||
return reinterpret_cast<PicHandle>(PortabilityLayer::ResourceManager::GetInstance()->GetResource('PICT', resID));
|
||||
|
||||
Reference in New Issue
Block a user