Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Classes | Namespaces
CustomCanvasEditor.h File Reference

ICanvasEditor implementation for custom canvas with zoom support (PrefabCanvas) More...

#include "ICanvasEditor.h"
#include "CanvasMinimapRenderer.h"
#include <string>
#include <memory>
+ Include dependency graph for CustomCanvasEditor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Olympe::CustomCanvasEditor
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Detailed Description

ICanvasEditor implementation for custom canvas with zoom support (PrefabCanvas)

Provides pan, zoom, and coordinate transformation without imnodes dependency

@design

@usage // In EntityPrefabRenderer::Render() m_canvasEditor = std::make_unique<CustomCanvasEditor>("ComponentCanvas", canvasScreenPos, canvasSize);

m_canvasEditor->BeginRender(); { // Render custom nodes RenderMyComponentNodes(); } m_canvasEditor->EndRender();

@compatibility C++14

Definition in file CustomCanvasEditor.h.