mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-19 23:47:36 +08:00
18 lines
266 B
C++
18 lines
266 B
C++
![]() |
#pragma once
|
||
|
#include "base_text_element.hpp"
|
||
|
|
||
|
namespace lua::gui
|
||
|
{
|
||
|
class checkbox : public base_text_element
|
||
|
{
|
||
|
bool m_enabled = false;
|
||
|
|
||
|
public:
|
||
|
checkbox(std::string text);
|
||
|
|
||
|
void draw() override;
|
||
|
|
||
|
bool is_enabled();
|
||
|
void set_enabled(bool enabled);
|
||
|
};
|
||
|
}
|