mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00: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:
parent
1f9a3b5875
commit
9b2ee1dd5d
6 changed files with 57 additions and 264 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue