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

Quick node-add search panel with fuzzy matching (Phase 9). More...

#include <functional>
#include <string>
#include <vector>
+ Include dependency graph for NodeSearchPanel.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Olympe::NodeSearchResult
 A single match returned by NodeSearchPalette::FuzzySearch(). More...
 
class  Olympe::NodeSearchPanel
 Singleton fuzzy-search panel for adding nodes to the graph. More...
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Detailed Description

Quick node-add search panel with fuzzy matching (Phase 9).

Author
Olympe Engine
Date
2026-03-09

NodeSearchPanel provides a floating search panel that the user can open with the Space key. It performs fuzzy scoring against a catalogue of available node types and reports the user's choice via a callback.

The implementation has no ImGui dependency — it is a pure data layer. UI code calls OpenSearch(), UpdateQuery(), and reads GetResults(). When the user accepts a result, it calls ConfirmSelection() which fires the OnNodeAdd callback.

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

Definition in file NodeSearchPanel.h.