1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-31 18:31:04 +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:
siliconsniffer 2025-05-07 08:56:00 +02:00 committed by GitHub
parent 1f9a3b5875
commit 9b2ee1dd5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 57 additions and 264 deletions

View file

@ -130,26 +130,18 @@ public:
//! Sets a new GUI Skin
/** You can use this to change the appearance of the whole GUI
Environment. You can set one of the built-in skins or implement your
own class derived from IGUISkin and enable it using this method.
To set for example the built-in Windows classic skin, use the following
code:
\code
gui::IGUISkin* newskin = environment->createSkin(gui::EGST_WINDOWS_CLASSIC);
environment->setSkin(newskin);
newskin->drop();
\endcode
Environment.
\param skin New skin to use.
*/
virtual void setSkin(IGUISkin *skin) = 0;
//! Creates a new GUI Skin based on a template.
//! Creates a new GUI Skin.
/** Use setSkin() to set the created skin.
\param type The type of the new skin.
\return Pointer to the created skin.
If you no longer need it, you should call IGUISkin::drop().
See IReferenceCounted::drop() for more information. */
virtual IGUISkin *createSkin(EGUI_SKIN_TYPE type) = 0;
virtual IGUISkin *createSkin() = 0;
//! Creates the image list from the given texture.
/** \param texture Texture to split into images