diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-03 19:49:41 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-03 19:49:41 +0800 |
| commit | 5b46d14997c2ff2244f303216e4e286665ac8a42 (patch) | |
| tree | 4afc73dde8537a72184ad58058c5903c4a0492aa /include/cru/platform/graphics/Base.h | |
| parent | d740f0b4d21d1ae45e9d17b70d9cdc82bda709c7 (diff) | |
| download | cru-5b46d14997c2ff2244f303216e4e286665ac8a42.tar.gz cru-5b46d14997c2ff2244f303216e4e286665ac8a42.tar.bz2 cru-5b46d14997c2ff2244f303216e4e286665ac8a42.zip | |
Merge platform/Resource.h to Base.h.
Diffstat (limited to 'include/cru/platform/graphics/Base.h')
| -rw-r--r-- | include/cru/platform/graphics/Base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cru/platform/graphics/Base.h b/include/cru/platform/graphics/Base.h index c3381394..7f12dbef 100644 --- a/include/cru/platform/graphics/Base.h +++ b/include/cru/platform/graphics/Base.h @@ -32,4 +32,8 @@ struct TextHitTestResult { bool trailing; bool inside_text; }; + +struct CRU_PLATFORM_GRAPHICS_API IGraphicsResource : virtual IPlatformResource { + virtual IGraphicsFactory* GetGraphicsFactory() = 0; +}; } // namespace cru::platform::graphics |
