Putting imgui docking and no dicking version

main
anulax1225 ago%!(EXTRA string=7 months)
parent 8778689229
commit 0ef47947fb
  1. 4
      package.json
  2. 2
      premake5.lua
  3. 2
      src/bakara.h
  4. 2
      src/bakara/events/mouse_event.h
  5. 6
      src/bakara/imgui/imgui_layer.cpp
  6. 4
      src/bakara/math/types.h
  7. 2
      src/bakarapch.h

@ -30,6 +30,10 @@
"author": "anulax1225",
"name": "glad"
},
{
"author": "anulax1225",
"name": "imgui-docking"
},
{
"author": "anulax1225",
"name": "imgui"

@ -40,7 +40,7 @@ project "bakara"
"bakatools",
"GLFW",
"GLAD",
"ImGui"
"ImGuiDocking"
}
filter "configurations:Debug"

@ -14,7 +14,7 @@ Plaform namespace doc
*/
namespace Bk::Plaform {}
#include <bakara/math/type.h>
#include <bakara/math/types.h>
#include <bakara/io/io_codes.h>
#include <bakara/events/events.h>

@ -1,7 +1,7 @@
#pragma once
#include "event.h"
#include <bakara/math/type.h>
#include <bakara/math/types.h>
#include <bakara/io/io_codes.h>
namespace Bk

@ -22,8 +22,8 @@ namespace Bk {
io.IniFilename = NULL;
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; // Enable Docking
io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable; // Enable Multi-Viewport / Platform Windows
//io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; // Enable Docking
//io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable; // Enable Multi-Viewport / Platform Windows
//io.ConfigFlags |= ImGuiConfigFlags_ViewportsNoTaskBarIcons;
io.ConfigViewportsNoAutoMerge = true;
@ -44,7 +44,7 @@ namespace Bk {
// Setup Platform/Renderer bindings
ImGui_ImplGlfw_InitForOpenGL(window, true);
ImGui_ImplOpenGL3_Init("#version 410");
ImGui_ImplOpenGL3_Init("#version 420");
}
void ImguiLayer::on_detach()

@ -10,10 +10,6 @@ As long as it's implemented here.
namespace Bk
{
/*! \typedef Bk::uint
Simplefied name for unsigned int
*/
using uint = unsigned int;
/*! \typedef Bk::Vec2
Wrapper around glm::vec2
*/

@ -17,4 +17,4 @@ Precompiled headers communly used in bakara.
#include <exception>
#include <bakatools.h>
#include <bakara/math/type.h>
#include <bakara/math/types.h>
Loading…
Cancel
Save