]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/client/guiscalingfilter.h
Merge branch 'master' of https://github.com/minetest/minetest
[dragonfireclient.git] / src / client / guiscalingfilter.h
index a5cd7851144a0cb6fb69a1809c7e86b7e01a5181..379a4bdb0964faeb36f7e8817c1fe949863f3529 100644 (file)
@@ -48,3 +48,11 @@ void draw2DImageFilterScaled(video::IVideoDriver *driver, video::ITexture *txr,
                const core::rect<s32> &destrect, const core::rect<s32> &srcrect,
                const core::rect<s32> *cliprect = 0, const video::SColor *const colors = 0,
                bool usealpha = false);
+
+/*
+ * 9-slice / segment drawing
+ */
+void draw2DImage9Slice(video::IVideoDriver *driver, video::ITexture *texture,
+               const core::rect<s32> &rect, const core::rect<s32> &middle,
+               const core::rect<s32> *cliprect = nullptr,
+               const video::SColor *const colors = nullptr);