Brunot
Loading...
Searching...
No Matches
Selector.cpp File Reference

An indicator that loops through a parents' nodes children and can "select" them on keypress. More...

#include "Selector.h"
#include "Button.h"
#include "Menu.h"
#include "imgui.h"
#include "Framework/Engine.h"
#include "System/Messaging.h"
#include "Framework/Entity.h"
#include "System/DebugDraw.h"
#include "Utility/Path/Path.h"
#include "Graphics/Line.h"
Include dependency graph for Selector.cpp:

Functions

auto to_json (json &j, const Selector &s) ->void
auto from_json (const json &j, Selector &s) ->void

Variables

static auto pathToSelectedEntity = "./../.."
static auto pathToParentButton = "./../../Button"
static auto pathToParentMenu = "./../../../Menu"

Detailed Description

An indicator that loops through a parents' nodes children and can "select" them on keypress.

Should be paired with Selectors and Buttons.

Author
Ori Balashov (ori.b.nosp@m.alas.nosp@m.hov@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u)
Date
2026 / 1 / 23

Function Documentation

◆ from_json()

auto from_json ( const json & j,
Selector & s )->void

◆ to_json()

auto to_json ( json & j,
const Selector & s )->void

Variable Documentation

◆ pathToParentButton

auto pathToParentButton = "./../../Button"
static

◆ pathToParentMenu

auto pathToParentMenu = "./../../../Menu"
static

◆ pathToSelectedEntity

auto pathToSelectedEntity = "./../.."
static