Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Attributes | List of all members
Olympe::NodeStyle Struct Reference

Visual descriptor for a single node type. More...

#include <NodeStyleRegistry.h>

Public Attributes

ImU32 headerColor = IM_COL32(80, 80, 80, 255)
 Title-bar background colour (ImNodes TitleBar colour slot).
 
ImU32 headerHoveredColor = IM_COL32(100, 100, 100, 255)
 Title-bar colour when the node is hovered.
 
ImU32 headerSelectedColor = IM_COL32(120, 120, 120, 255)
 Title-bar colour when the node is selected.
 
const charicon = ""
 Short ASCII icon displayed before the node title (no emoji/extended chars).
 

Detailed Description

Visual descriptor for a single node type.

Definition at line 30 of file NodeStyleRegistry.h.

Member Data Documentation

◆ headerColor

ImU32 Olympe::NodeStyle::headerColor = IM_COL32(80, 80, 80, 255)

◆ headerHoveredColor

ImU32 Olympe::NodeStyle::headerHoveredColor = IM_COL32(100, 100, 100, 255)

Title-bar colour when the node is hovered.

Definition at line 35 of file NodeStyleRegistry.h.

Referenced by Olympe::NodeGraphPanel::RenderGraph(), and Olympe::NodeGraphShared::RenderNodeHeader().

◆ headerSelectedColor

ImU32 Olympe::NodeStyle::headerSelectedColor = IM_COL32(120, 120, 120, 255)

Title-bar colour when the node is selected.

Definition at line 37 of file NodeStyleRegistry.h.

Referenced by Olympe::NodeGraphPanel::RenderGraph(), and Olympe::NodeGraphShared::RenderNodeHeader().

◆ icon

const char* Olympe::NodeStyle::icon = ""

Short ASCII icon displayed before the node title (no emoji/extended chars).

Definition at line 39 of file NodeStyleRegistry.h.

Referenced by Olympe::NodeGraphPanel::RenderNodePinsAndContent(), and Olympe::NodeGraphShared::RenderNodeVisual().


The documentation for this struct was generated from the following file: