diff options
author | crupest <crupest@outlook.com> | 2022-05-07 18:39:51 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-05-07 18:39:51 +0800 |
commit | a465e2c410c1ae5098d2e073442219bb07a31b9d (patch) | |
tree | d60e6692e8dad6d4df2b9709819bf65f0f797422 /include/cru/win/graphics/direct/ImageFactory.h | |
parent | 23e68dc785d274327efeecb22cfc712c71cfbfc0 (diff) | |
download | cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.tar.gz cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.tar.bz2 cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.zip |
...
Diffstat (limited to 'include/cru/win/graphics/direct/ImageFactory.h')
-rw-r--r-- | include/cru/win/graphics/direct/ImageFactory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/win/graphics/direct/ImageFactory.h b/include/cru/win/graphics/direct/ImageFactory.h index 34d363b0..923e682f 100644 --- a/include/cru/win/graphics/direct/ImageFactory.h +++ b/include/cru/win/graphics/direct/ImageFactory.h @@ -19,6 +19,8 @@ class CRU_WIN_GRAPHICS_DIRECT_API WinImageFactory public: std::unique_ptr<IImage> DecodeFromStream(io::Stream* stream) override; + std::unique_ptr<IImage> CreateBitmap(int width, int height) override; + private: DirectGraphicsFactory* graphics_factory_; |