1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Remove Irrlicht GUI gradients (#16015)

Co-authored-by: rollerozxa <rollerozxa@voxelmanip.se>
Co-authored-by: grorp <grorp@posteo.de>
This commit is contained in:
siliconsniffer
2025-05-07 08:56:00 +02:00
committed by GitHub
parent 1f9a3b5875
commit 9b2ee1dd5d
6 changed files with 57 additions and 264 deletions

View File

@@ -21,7 +21,7 @@ namespace gui
{
public:
CGUISkin(EGUI_SKIN_TYPE type, video::IVideoDriver* driver);
CGUISkin(video::IVideoDriver* driver);
//! destructor
virtual ~CGUISkin();
@@ -288,10 +288,6 @@ namespace gui
virtual void draw2DRectangle(IGUIElement* element, const video::SColor &color,
const core::rect<s32>& pos, const core::rect<s32>* clip = 0);
//! get the type of this skin
virtual EGUI_SKIN_TYPE getType() const;
//! gets the colors
virtual void getColors(video::SColor* colors); // ::PATCH:
@@ -305,9 +301,6 @@ namespace gui
IGUISpriteBank* SpriteBank;
core::stringw Texts[EGDT_COUNT];
video::IVideoDriver* Driver;
bool UseGradient;
EGUI_SKIN_TYPE Type;
};
} // end namespace gui