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

A class that can be "activated" to broadcast a message. More...

#include "Button.h"
#include "Collider.h"
#include "Framework/Engine.h"
#include "System/Messaging.h"
#include "Framework/Factory.h"
#include "Utility/PublicLambdas.h"
#include "imgui.h"
#include "System/Input.h"
#include "misc/cpp/imgui_stdlib.h"
#include "Utility/Messages/Button Messages/ButtonMessage.h"
Include dependency graph for Button.cpp:

Functions

auto to_json (json &j, const Button &b) ->void
auto from_json (const json &j, Button &b) ->void

Detailed Description

A class that can be "activated" to broadcast a message.

Designed to be used with a Selector, but can be selected without a Selector instance

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

Function Documentation

◆ from_json()

auto from_json ( const json & j,
Button & b )->void

◆ to_json()

auto to_json ( json & j,
const Button & b )->void