Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Namespaces | Functions
NodeGraphShared.h File Reference
#include "../third_party/imgui/imgui.h"
#include "../AI/BTGraphLayoutEngine.h"
#include "../third_party/imnodes/imnodes.h"
#include "../BlueprintEditor/NodeStyleRegistry.h"
#include <algorithm>
#include <string>
+ Include dependency graph for NodeGraphShared.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 
namespace  Olympe::NodeGraphShared
 

Functions

ImVec2 Olympe::NodeGraphShared::ComputePinCenterScreen (int nodeId, const BTNodeLayout *layout, bool isOutput, float pinOffset, float headerHeight, float zoom)
 Compute the screen-space center position of a pin.
 
void Olympe::NodeGraphShared::DrawPinCircle (ImDrawList *drawList, const ImVec2 &center, float radius, ImU32 fillColor, ImU32 outlineColor, float outlineThickness)
 
void Olympe::NodeGraphShared::RenderNodeHeader (int nodeId, const NodeStyle &style, const char *icon, const std::string &title, bool isCurrentNode, float pulseTimer)