world convert progress info

This commit is contained in:
MihailRis
2024-03-01 13:26:09 +03:00
parent 3862dbda66
commit 8001a8bf86
17 changed files with 903 additions and 793 deletions
+29
View File
@@ -0,0 +1,29 @@
#ifndef FRONTEND_MENU_MENU_COMMONS_H_
#define FRONTEND_MENU_MENU_COMMONS_H_
#include <string>
#include <memory>
#include <glm/glm.hpp>
#include "../gui/controls.h"
class Engine;
namespace menus {
extern std::shared_ptr<gui::Label> create_label(wstringsupplier supplier);
extern std::shared_ptr<gui::Panel> create_page(
Engine* engine,
std::string name,
int width,
float opacity,
int interval
);
extern std::shared_ptr<gui::Button> create_button(
std::wstring text,
glm::vec4 padding,
glm::vec4 margin,
gui::onaction action
);
}
#endif // FRONTEND_MENU_MENU_COMMONS_H_