Add docking of main viewport

- Change ImGui branch to docking
- Rework code to handle viewport resizes instead of window resize
This commit is contained in:
Thraix
2023-07-13 23:41:20 +02:00
parent f9fb74ba6a
commit 65a86bd5a2
21 changed files with 143 additions and 89 deletions
@@ -0,0 +1,17 @@
#pragma once
#include "copium/event/Event.h"
#include "copium/event/EventType.h"
#include "copium/util/BoundingBox.h"
namespace Copium
{
class ViewportResize : public Event
{
BoundingBox viewport;
public:
ViewportResize(const BoundingBox& viewport);
const BoundingBox& GetViewport() const;
};
}