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

Node style rendering helpers for VisualScriptEditorPanel (Phase 5). More...

#include <string>
#include <vector>
#include <utility>
#include <unordered_set>
#include "../TaskSystem/TaskGraphTypes.h"
#include "../TaskSystem/TaskGraphTemplate.h"
+ Include dependency graph for VisualScriptNodeRenderer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Olympe::VisualScriptNodeRenderer
 Stateless helper class for rendering VS nodes via ImNodes. More...
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Enumerations

enum class  Olympe::VSNodeStyle {
  Olympe::EntryPoint , Olympe::FlowControl , Olympe::Action , Olympe::Data ,
  Olympe::SubGraph , Olympe::Delay
}
 Visual style category for a VS node. More...
 

Functions

VSNodeStyle Olympe::GetNodeStyle (TaskNodeType type)
 Returns the VSNodeStyle appropriate for a given node type.
 
unsigned int Olympe::GetNodeTitleColor (VSNodeStyle style)
 Returns the title-bar RGBA colour for a given style.
 
unsigned int Olympe::GetNodeTitleHoveredColor (VSNodeStyle style)
 Returns the title-bar hovered RGBA colour.
 
unsigned int Olympe::GetDataPinColor (VariableType type)
 Returns the RGBA colour for a data pin by variable type.
 
const charOlympe::GetNodeTypeLabel (TaskNodeType type)
 Returns a human-readable label for a TaskNodeType.
 
const charOlympe::GetVariableTypeLabel (VariableType type)
 Returns a human-readable label for a VariableType.
 

Detailed Description

Node style rendering helpers for VisualScriptEditorPanel (Phase 5).

Author
Olympe Engine
Date
2026-03-09

Provides stateless helpers for rendering VS node styles (colours, pin shapes, hover tooltips) on top of ImNodes.

C++14 compliant — no std::optional, structured bindings, std::filesystem.

Definition in file VisualScriptNodeRenderer.h.