the shortcut

This commit is contained in:
MihailRis
2024-04-21 17:12:06 +03:00
parent 635e512142
commit 30a38035e2
35 changed files with 90 additions and 84 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#include "GUI.h"
#include "elements/UINode.hpp"
#include "elements/layout/Menu.hpp"
#include "elements/Menu.hpp"
#include <iostream>
#include <algorithm>
@@ -1,8 +1,8 @@
#include "Button.hpp"
#include "../display/Label.hpp"
#include "../../../core/GfxContext.h"
#include "../../../core/Batch2D.h"
#include "Label.hpp"
#include "../../core/GfxContext.h"
#include "../../core/Batch2D.h"
using namespace gui;
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_UI_ELEMENTS_BUTTON_HPP_
#define GRAPHICS_UI_ELEMENTS_BUTTON_HPP_
#include "../layout/Panel.hpp"
#include "Panel.hpp"
namespace gui {
class Label;
@@ -1,8 +1,8 @@
#include "CheckBox.hpp"
#include "../../../core/GfxContext.h"
#include "../../../core/Batch2D.h"
#include "../display/Label.hpp"
#include "../../core/GfxContext.h"
#include "../../core/Batch2D.h"
#include "Label.hpp"
using namespace gui;
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_UI_ELEMENTS_CHECKBOX_HPP_
#define GRAPHICS_UI_ELEMENTS_CHECKBOX_HPP_
#include "../layout/Panel.hpp"
#include "Panel.hpp"
namespace gui {
class CheckBox : public UINode {
@@ -1,7 +1,7 @@
#include "Container.hpp"
#include "../../../core/GfxContext.h"
#include "../../../core/Batch2D.h"
#include "../../core/GfxContext.h"
#include "../../core/Batch2D.h"
using namespace gui;
@@ -1,8 +1,8 @@
#ifndef GRAPHICS_UI_ELEMENTS_CONTAINER_HPP_
#define GRAPHICS_UI_ELEMENTS_CONTAINER_HPP_
#include "../UINode.hpp"
#include "../commons.hpp"
#include "UINode.hpp"
#include "commons.hpp"
#include <vector>
@@ -1,10 +1,10 @@
#include "Image.hpp"
#include "../../../core/GfxContext.h"
#include "../../../core/Batch2D.h"
#include "../../../core/Texture.h"
#include "../../../../assets/Assets.h"
#include "../../../../maths/UVRegion.h"
#include "../../core/GfxContext.h"
#include "../../core/Batch2D.h"
#include "../../core/Texture.h"
#include "../../../assets/Assets.h"
#include "../../../maths/UVRegion.h"
using namespace gui;
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_UI_ELEMENTS_IMAGE_HPP_
#define GRAPHICS_UI_ELEMENTS_IMAGE_HPP_
#include "../UINode.hpp"
#include "UINode.hpp"
namespace gui {
class Image : public UINode {
@@ -1,9 +1,9 @@
#include "InputBindBox.hpp"
#include "../display/Label.hpp"
#include "../../../core/GfxContext.h"
#include "../../../core/Batch2D.h"
#include "../../../../util/stringutil.h"
#include "Label.hpp"
#include "../../core/GfxContext.h"
#include "../../core/Batch2D.h"
#include "../../../util/stringutil.h"
using namespace gui;
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_UI_ELEMENTS_INPUTBINDBOX_HPP_
#define GRAPHICS_UI_ELEMENTS_INPUTBINDBOX_HPP_
#include "../layout/Panel.hpp"
#include "Panel.hpp"
namespace gui {
class Label;
@@ -1,10 +1,10 @@
#include "Label.hpp"
#include "../../../core/GfxContext.h"
#include "../../../core/Batch2D.h"
#include "../../../core/Font.h"
#include "../../../../assets/Assets.h"
#include "../../../../util/stringutil.h"
#include "../../core/GfxContext.h"
#include "../../core/Batch2D.h"
#include "../../core/Font.h"
#include "../../../assets/Assets.h"
#include "../../../util/stringutil.h"
using namespace gui;
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_UI_ELEMENTS_LABEL_HPP_
#define GRAPHICS_UI_ELEMENTS_LABEL_HPP_
#include "../UINode.hpp"
#include "UINode.hpp"
namespace gui {
class Label : public UINode {
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_UI_ELEMENTS_PANEL_HPP_
#define GRAPHICS_UI_ELEMENTS_PANEL_HPP_
#include "../commons.hpp"
#include "commons.hpp"
#include "Container.hpp"
namespace gui {
@@ -1,10 +1,10 @@
#include "Plotter.hpp"
#include "../../../core/Batch2D.h"
#include "../../../core/Font.h"
#include "../../../core/GfxContext.h"
#include "../../../../assets/Assets.h"
#include "../../../../util/stringutil.h"
#include "../../core/Batch2D.h"
#include "../../core/Font.h"
#include "../../core/GfxContext.h"
#include "../../../assets/Assets.h"
#include "../../../util/stringutil.h"
using namespace gui;
@@ -1,8 +1,8 @@
#ifndef GRAPHICS_UI_ELEMENTS_PLOTTER_HPP_
#define GRAPHICS_UI_ELEMENTS_PLOTTER_HPP_
#include "../UINode.hpp"
#include "../../../../typedefs.h"
#include "UINode.hpp"
#include "../../../typedefs.h"
#include <memory>
#include <glm/glm.hpp>
@@ -1,12 +1,12 @@
#include "TextBox.hpp"
#include "../display/Label.hpp"
#include "../../../core/GfxContext.h"
#include "../../../core/Batch2D.h"
#include "../../../core/Font.h"
#include "../../../../assets/Assets.h"
#include "../../../../util/stringutil.h"
#include "../../../../window/Events.h"
#include "Label.hpp"
#include "../../core/GfxContext.h"
#include "../../core/Batch2D.h"
#include "../../core/Font.h"
#include "../../../assets/Assets.h"
#include "../../../util/stringutil.h"
#include "../../../window/Events.h"
using namespace gui;
@@ -1,8 +1,8 @@
#ifndef GRAPHICS_UI_ELEMENTS_TEXTBOX_HPP_
#define GRAPHICS_UI_ELEMENTS_TEXTBOX_HPP_
#include "../layout/Panel.hpp"
#include "../display/Label.hpp"
#include "Panel.hpp"
#include "Label.hpp"
class Font;
@@ -1,8 +1,8 @@
#include "TrackBar.hpp"
#include "../../../core/GfxContext.h"
#include "../../../core/Batch2D.h"
#include "../../../../assets/Assets.h"
#include "../../core/GfxContext.h"
#include "../../core/Batch2D.h"
#include "../../../assets/Assets.h"
using namespace gui;
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_UI_ELEMENTS_TRACKBAR_HPP_
#define GRAPHICS_UI_ELEMENTS_TRACKBAR_HPP_
#include "../UINode.hpp"
#include "UINode.hpp"
namespace gui {
class TrackBar : public UINode {
+1 -1
View File
@@ -1,6 +1,6 @@
#include "UINode.hpp"
#include "layout/Container.hpp"
#include "Container.hpp"
#include "../../core/Batch2D.h"
using gui::UINode;
+3 -3
View File
@@ -1,7 +1,7 @@
#include "gui_util.h"
#include "elements/display/Label.hpp"
#include "elements/layout/Menu.hpp"
#include "elements/control/Button.hpp"
#include "elements/Label.hpp"
#include "elements/Menu.hpp"
#include "elements/Button.hpp"
#include "gui_xml.h"
#include <glm/glm.hpp>
+7 -7
View File
@@ -3,13 +3,13 @@
#include <charconv>
#include <stdexcept>
#include "elements/layout/Panel.hpp"
#include "elements/display/Image.hpp"
#include "elements/control/Button.hpp"
#include "elements/control/CheckBox.hpp"
#include "elements/control/TextBox.hpp"
#include "elements/control/TrackBar.hpp"
#include "elements/control/InputBindBox.hpp"
#include "elements/Panel.hpp"
#include "elements/Image.hpp"
#include "elements/Button.hpp"
#include "elements/CheckBox.hpp"
#include "elements/TextBox.hpp"
#include "elements/TrackBar.hpp"
#include "elements/InputBindBox.hpp"
#include "../../frontend/locale/langs.h"
#include "../../logic/scripting/scripting.h"