RunicVTT Open Source Virtual Tabletop for TTRPG using P2P
Loading...
Searching...
No Matches
DebugActions.h File Reference
#include <chrono>
#include <cstdint>
#include <string>
#include <vector>
#include <functional>
#include <algorithm>
#include "imgui.h"
#include "DebugConsole.h"
#include "Logger.h"
#include "ImGuiToaster.h"
Include dependency graph for DebugActions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  DebugActions
 

Typedefs

using DebugActions::Clock = std::chrono::steady_clock
 

Functions

bool DebugActions::timeElapsedMs (Clock::time_point &last, int ms)
 
bool DebugActions::keyDownImGui (ImGuiKey imguiKey)
 
void DebugActions::ToasterChanged (std::weak_ptr< ImGuiToaster > toaster_, bool on)
 
void DebugActions::ToasterTick (std::weak_ptr< ImGuiToaster > toaster_)
 
void DebugActions::MouseCircleChanged (bool on)
 
void DebugActions::MouseCircleTick ()
 
void DebugActions::FpsOverlayChanged (bool on)
 
void DebugActions::FpsOverlayTick ()
 
void DebugActions::PingLogChanged (bool on)
 
void DebugActions::PingLogTick ()
 
void DebugActions::RegisterToasterToggles (std::weak_ptr< ImGuiToaster > toaster_)
 
void DebugActions::RegisterAllDefaultToggles ()
 

Variables

bool DebugActions::gMasterEnabled = false
 
bool DebugActions::gEnableToasterTest = false
 
Clock::time_point DebugActions::gToasterLast = Clock::now()
 
bool DebugActions::gEnableMouseCircle = false
 
bool DebugActions::gEnableFpsOverlay = false
 
bool DebugActions::gEnablePingLog = false
 
Clock::time_point DebugActions::gPingLast = Clock::now()