mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Formspecs: Add state-selection to style elements (#9378)
This commit is contained in:
parent
ba3587e776
commit
f780bae05c
22 changed files with 462 additions and 325 deletions
|
@ -23,12 +23,14 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include "modalMenu.h"
|
||||
#include <string>
|
||||
|
||||
class ISimpleTextureSource;
|
||||
|
||||
class GUIVolumeChange : public GUIModalMenu
|
||||
{
|
||||
public:
|
||||
GUIVolumeChange(gui::IGUIEnvironment* env,
|
||||
gui::IGUIElement* parent, s32 id,
|
||||
IMenuManager *menumgr);
|
||||
IMenuManager *menumgr, ISimpleTextureSource *tsrc);
|
||||
~GUIVolumeChange();
|
||||
|
||||
void removeChildren();
|
||||
|
@ -46,4 +48,7 @@ public:
|
|||
protected:
|
||||
std::wstring getLabelByID(s32 id) { return L""; }
|
||||
std::string getNameByID(s32 id) { return ""; }
|
||||
|
||||
private:
|
||||
ISimpleTextureSource *m_tsrc;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue