Skip to content

Commit

Permalink
structure
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBarii committed Aug 3, 2024
1 parent 8b04406 commit c771a23
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Client/Module/Modules/Module.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Module {
bool active = false;
bool restricted = false;
bool terminating = false;
float padding = 0;

public:

Expand Down Expand Up @@ -228,6 +229,15 @@ class Module {

}

void resetPadding () {
padding = 0;
}

void addToggle(std::string text, std::string subtext, bool& value) {
//FlarialGUI::Toggle
//padding += ......
}

virtual void settingsRender() {}

bool isKeybind(const std::array<bool, 256> &keys) {
Expand Down

0 comments on commit c771a23

Please sign in to comment.