File ImguiMSwitch.h
File List > menu > ImguiMSwitch.h
Go to the documentation of this file
#pragma once
#include "ImguiMenuItem.h"
namespace UI
{
class ImguiMSwitch : public ImguiMenuItem
{
private:
bool* mitem_switch;
public:
ImguiMSwitch();
~ImguiMSwitch() {};
ImguiMSwitch(std::string _name);
void BindSwitch(bool* _switch) override;
void RenderMenuItem(const Context& ctx) override;
};
}