fix ve headers

This commit is contained in:
2025-02-19 23:07:15 +03:00
parent 1e36169191
commit f1a9ec7355
4 changed files with 12 additions and 16 deletions

View File

@@ -21,6 +21,9 @@ namespace sandbox
namespace VE
{
// HERE
// перенести в VE.hpp
// и сделать варитивными параметрами !!!
inline application& create()
{
static sandbox::test_app app{ "vertex_engine_sandbox" };

View File

@@ -1,14 +1,11 @@
#pragma once
#include "utils/utils.hpp"
#include "application/application.hpp"
#include "event/event.hpp"
#include "layer/layer.hpp"
#include "glfw/glfw.hpp"
#include "gui/gui.hpp"
#include "gui/style/icons.hpp"
#include "gui/style/fonts.hpp"
#include "opengl/opengl.hpp"
#include "utils/utils.hpp" // IWYU pragma: keep
#include "application/application.hpp" // IWYU pragma: keep
#include "event/event.hpp" // IWYU pragma: keep
#include "layer/layer.hpp" // IWYU pragma: keep
#include "glfw/glfw.hpp" // IWYU pragma: keep
#include "gui/gui.hpp" // IWYU pragma: keep
#include "gui/style/icons.hpp" // IWYU pragma: keep
#include "gui/style/fonts.hpp" // IWYU pragma: keep
#include "opengl/opengl.hpp" // IWYU pragma: keep

View File

@@ -43,9 +43,6 @@ namespace VE
void gui::end_frame()
{
// ImGuiIO& io = ImGui::GetIO();
// io.DisplaySize = ImVec2((float)m_glfw->width(), (float)m_glfw->height());
ImGui::Render();
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
}

View File

@@ -16,4 +16,3 @@
#define VE_PUSH_FONT(def_font, def_size)\
ImGui::PushFont(VE::style::fonts::get_font(VE::style::fonts::font_type::def_font, def_size))
#define VE_POP_FONT() ImGui::PopFont()