diff options
Diffstat (limited to 'core/fxge/win32/cgdi_device_driver.h')
-rw-r--r-- | core/fxge/win32/cgdi_device_driver.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/fxge/win32/cgdi_device_driver.h b/core/fxge/win32/cgdi_device_driver.h index 59f24c0b2..de8c41e8e 100644 --- a/core/fxge/win32/cgdi_device_driver.h +++ b/core/fxge/win32/cgdi_device_driver.h @@ -13,6 +13,8 @@ #include "core/fxge/renderdevicedriver_iface.h" #include "third_party/abseil-cpp/absl/types/optional.h" +class CFX_DIBBase; + class CGdiDeviceDriver : public RenderDeviceDriverIface { protected: CGdiDeviceDriver(HDC hDC, DeviceType device_type); @@ -50,17 +52,17 @@ class CGdiDeviceDriver : public RenderDeviceDriverIface { void DrawLine(float x1, float y1, float x2, float y2); - bool GDI_SetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, + bool GDI_SetDIBits(const RetainPtr<CFX_DIBBase>& source, const FX_RECT& src_rect, int left, int top); - bool GDI_StretchDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, + bool GDI_StretchDIBits(const RetainPtr<CFX_DIBBase>& source, int dest_left, int dest_top, int dest_width, int dest_height, const FXDIB_ResampleOptions& options); - bool GDI_StretchBitMask(const RetainPtr<CFX_DIBitmap>& pBitmap, + bool GDI_StretchBitMask(const RetainPtr<CFX_DIBBase>& source, int dest_left, int dest_top, int dest_width, |