quick check with linters

This commit is contained in:
MihailRis
2024-05-10 12:34:05 +03:00
parent 92f185ab51
commit 9522aedeec
55 changed files with 129 additions and 184 deletions
+2 -15
View File
@@ -1,27 +1,14 @@
#ifndef FRONTEND_GUI_GUI_UTIL_HPP_
#define FRONTEND_GUI_GUI_UTIL_HPP_
#include <memory>
#include <string>
#include "GUI.hpp"
#include "../../typedefs.hpp"
#include "../../delegates.hpp"
namespace gui {
class Button;
}
#include <memory>
#include <string>
namespace guiutil {
std::shared_ptr<gui::Button> backButton(
std::shared_ptr<gui::Menu> menu
);
std::shared_ptr<gui::Button> gotoButton(
std::wstring text,
const std::string& page,
std::shared_ptr<gui::Menu> menu
);
/// @brief Create element from XML
/// @param source XML
std::shared_ptr<gui::UINode> create(const std::string& source, scriptenv env=0);