mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 07:06:36 +00:00
Migrate image storage from PICT to BMP
This commit is contained in:
@@ -16,7 +16,7 @@ namespace PortabilityLayer
|
||||
}
|
||||
|
||||
struct PixMap;
|
||||
struct Picture;
|
||||
struct BitmapImage;
|
||||
struct Point;
|
||||
struct Rect;
|
||||
struct IGpDisplayDriver;
|
||||
@@ -88,7 +88,7 @@ struct DrawSurface final
|
||||
int32_t MeasureFontAscender();
|
||||
int32_t MeasureFontLineGap();
|
||||
|
||||
void DrawPicture(THandle<Picture> pictHandle, const Rect &rect);
|
||||
void DrawPicture(THandle<BitmapImage> pictHandle, const Rect &rect);
|
||||
|
||||
void SetPattern8x8(const uint8_t *pattern);
|
||||
void ClearPattern();
|
||||
@@ -98,8 +98,6 @@ struct DrawSurface final
|
||||
Rect GetClipRect() const;
|
||||
void SetClipRect(const Rect &rect);
|
||||
|
||||
void RegenerateAATable(const PortabilityLayer::RGBAColor &color, const PortabilityLayer::RGBAColor *paletteColors, size_t numColors);
|
||||
|
||||
// Must be the first item
|
||||
PortabilityLayer::QDPort m_port;
|
||||
|
||||
|
Reference in New Issue
Block a user